Compare commits
No commits in common. "db1fd548cbfe56426557e21ab87919be6b4260f1" and "5688f0606277d194bde4cb7f3b0cb879e516acff" have entirely different histories.
db1fd548cb
...
5688f06062
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
emacs_pid=$(pidof emacs)
|
|
||||||
|
|
||||||
if [ -z "$emacs_pid" ]; then
|
|
||||||
echo ""
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
CLOCK_STATUS=$(emacsclient --eval "(bergheim/org-clock-status)" 2>/dev/null)
|
|
||||||
|
|
||||||
echo "${CLOCK_STATUS:1:-1}"
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
"height": 25, // Waybar height (to be removed for auto height)
|
"height": 25, // Waybar height (to be removed for auto height)
|
||||||
"modules-left": ["sway/workspaces", "custom/org-pomodoro"],
|
"modules-left": ["sway/workspaces"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
|
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
|
@ -20,6 +20,9 @@
|
||||||
// "default": ""
|
// "default": ""
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
|
"sway/mode": {
|
||||||
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
|
},
|
||||||
"mpd": {
|
"mpd": {
|
||||||
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
|
@ -36,6 +39,17 @@
|
||||||
"tooltip-format": "MPD (connected)",
|
"tooltip-format": "MPD (connected)",
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)"
|
"tooltip-format-disconnected": "MPD (disconnected)"
|
||||||
},
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
// "icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%a %d %b %H:%M}",
|
"format": "{:%a %d %b %H:%M}",
|
||||||
"format-alt": "{:%Y-%m-%d}"
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
|
@ -90,9 +104,16 @@
|
||||||
},
|
},
|
||||||
"on-click": ""
|
"on-click": ""
|
||||||
},
|
},
|
||||||
"custom/org-pomodoro": {
|
"custom/media": {
|
||||||
"format": "<span foreground='#88C0D0'>祥</span> {}",
|
"format": "{icon} {}",
|
||||||
"exec": "$HOME/.local/share/scripts/org-clock-status",
|
"return-type": "json",
|
||||||
"interval": 2
|
"max-length": 40,
|
||||||
|
"format-icons": {
|
||||||
|
"spotify": "",
|
||||||
|
"default": "🎜"
|
||||||
|
},
|
||||||
|
"escape": true,
|
||||||
|
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
||||||
|
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,9 +73,6 @@ window#waybar.chromium {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
#custom-org-pomodoro{
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue