aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-02-17 14:07:19 +0300
committerYaroslav <contact@yaroslavps.com>2020-02-17 14:07:19 +0300
commit517b4e959117a4cbec7be8ab019d7de95040a741 (patch)
tree7d2bcbb6614d23dee8c17cb975b9b10db7961941
parent7c364bf5b138c43d13b92b4b4517033a35509655 (diff)
downloadswayrice-517b4e959117a4cbec7be8ab019d7de95040a741.tar.gz
swayrice-517b4e959117a4cbec7be8ab019d7de95040a741.zip
waybar space saving; remove animation when changing brightness
-rw-r--r--dotfiles/.config/sway/config10
-rw-r--r--dotfiles/.config/waybar/config19
2 files changed, 15 insertions, 14 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 94b0de9..3d4b705 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -34,8 +34,6 @@ exec_always {
##### Startup scripts and programs #####
# Waybar
exec --no-startup-id waybar_launch
-# KDE Connect
-exec --no-startup-id kdeconnect-indicator
# music daemon
exec --no-startup-id mpd
# Bluetooth adapter applet
@@ -160,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} {}",