aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/sway/config8
-rw-r--r--dotfiles/.config/waybar/config19
2 files changed, 15 insertions, 12 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 3d607cd..3d4b705 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -158,10 +158,10 @@ bindsym --to-code {
# $mod+Ctrl+grave exec "makoctl list"
# Screen brightness controls
- XF86MonBrightnessUp exec "xbacklight -inc 5 -fps 30"
- XF86MonBrightnessDown exec "xbacklight -dec 5 -fps 30"
- $mod+Ctrl+Up exec "xbacklight -inc 5 -fps 30"
- $mod+Ctrl+Down exec "xbacklight -dec 5 -fps 30"
+ XF86MonBrightnessUp exec "xbacklight -inc 5"
+ XF86MonBrightnessDown exec "xbacklight -dec 5"
+ $mod+Ctrl+Up exec "xbacklight -inc 5"
+ $mod+Ctrl+Down exec "xbacklight -dec 5"
# Media keys
XF86AudioPrev exec --no-startup-id "lmc prev"
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index a0aa3a6..5e5b800 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -28,11 +28,12 @@
"format": "<span style=\"italic\">{}</span>"
},
"mpd": {
- "format": " {stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} [{elapsedTime:%M:%S}]",
+ "format": " {stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon} [{elapsedTime:%M:%S}] {artist} - {title}",
"format-disconnected": " Disconnected ",
"format-stopped": " {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
+ "max-length": 50,
"consume-icons": {
"on": " "
},
@@ -49,8 +50,8 @@
"paused": "<span color=\"#b2872f\"></span>",
"playing": "<span color=\"#5b8277\"></span>"
},
- "tooltip-format": "MPD (connected)",
- "tooltip-format-disconnected": "MPD (disconnected)"
+ "tooltip-format": "MPD now playing: {artist} - {title}",
+ "tooltip-format-disconnected": "MPD disconnected"
},
"idle_inhibitor": {
"format": "{icon}",
@@ -115,11 +116,12 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "<span color=\"#5b8277\"></span> {essid}: {ipaddr}",
- "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}: {ipaddr}",
- "format-linked": "<span color=\"#5b8277\"></span> {ifname} (No IP)",
+ "format-wifi": "<span color=\"#5b8277\"></span> {essid}",
+ "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
+ "format-linked": "<span color=\"#5b8277\"></span> {ifname}",
"format-disconnected": "<span color=\"#b73030\">⚠</span> Disconnected",
- "format-alt": "{ifname}: {ipaddr}/{cidr}"
+ "format-alt": "{ifname}: {ipaddr}/{cidr}",
+ "tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
"custom/left-arrow-cyan": {
"format": ""
@@ -179,7 +181,8 @@
},
"custom/swaykbd": {
"format": "<span color=\"#5b8277\"></span> {}",
- "exec": "swaykbd"
+ "exec": "swaykbd",
+ "tooltip": false
},
"custom/media": {
"format": "{icon} {}",