From 9e4a4c3b77c0d443fb2a635076cc53ae217b51a2 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 3 Jul 2023 21:56:27 -0500 Subject: [PATCH] Waybar? --- common/git/config | 1 + os/linux/libinput/gestures.conf | 4 ++-- os/linux/sway/config | 2 -- os/linux/waybar/config | 21 +++++++++++++-------- os/linux/waybar/style.css | 5 +++-- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/common/git/config b/common/git/config index 45a1196..a46b470 100644 --- a/common/git/config +++ b/common/git/config @@ -1,5 +1,6 @@ [user] name = Daniel Flanagan + email = daniel@lyte.dev [filter "lfs"] clean = git-lfs clean -- %f diff --git a/os/linux/libinput/gestures.conf b/os/linux/libinput/gestures.conf index 2d6681d..cf5270d 100644 --- a/os/linux/libinput/gestures.conf +++ b/os/linux/libinput/gestures.conf @@ -5,6 +5,6 @@ timeout 0.9 gesture swipe left 3 swaymsg workspace back_and_forth -gesture swipe right 2 swaymsg seat seat0 cursor press BTN_EXTRA && swaymsg seat seat0 cursor release BTN_EXTRA +# gesture swipe right 2 swaymsg seat seat0 cursor press BTN_EXTRA && swaymsg seat seat0 cursor release BTN_EXTRA -gesture swipe left 2 swaymsg seat seat0 cursor press BTN_SIDE && swaymsg seat seat0 cursor release BTN_SIDE +# gesture swipe left 2 swaymsg seat seat0 cursor press BTN_SIDE && swaymsg seat seat0 cursor release BTN_SIDE diff --git a/os/linux/sway/config b/os/linux/sway/config index 262f829..f33d0e4 100644 --- a/os/linux/sway/config +++ b/os/linux/sway/config @@ -182,8 +182,6 @@ exec mako exec kitty --single-instance exec /usr/lib/polkit-kde-authentication-agent-1 -exec eww daemon -exec eww open-many bar # exec_always notify-send -a "sway" -i ~/.wallpaper "sway configuration loaded" diff --git a/os/linux/waybar/config b/os/linux/waybar/config index 376df48..56a2e54 100644 --- a/os/linux/waybar/config +++ b/os/linux/waybar/config @@ -28,6 +28,11 @@ "tooltip-format-enumerate-connected": "{device_alias}@{device_address}", "tooltip-format-enumerate-connected-battery": "{device_alias}@{device_address} ( {device_battery_percentage}%)" }, + // "wireplumber": { + // "format": "{volume}% {icon}", + // "format-muted": "", + // "on-click": "helvum" + // }, "sway/workspaces": { "disable-scroll": false, "persistent_workspaces": { @@ -46,10 +51,10 @@ "format": "{name}" }, "idle_inhibitor": { - "format": "{icon}", + "format": "{icon}", "format-icons": { - "activated": "﯎", - "deactivated": "﯏" + "activated": "󰈈", + "deactivated": "󰈉" } }, "tray": { @@ -66,7 +71,7 @@ "interval": 3 }, "memory": { - "format": "{} " + "format": "{} 󰍛" }, "temperature": { // "thermal-zone": 2, @@ -79,7 +84,7 @@ "backlight": { // "device": "acpi_video1", "format": "{percent}% {icon}", - "format-icons": ["", ""] + "format-icons": ["", ""] }, "battery": { "states": { @@ -92,8 +97,8 @@ "format-plugged": "{capacity}% ﮣ", "format-alt": "{time} {icon}", "format-good": "", // An empty format will hide the module - "format-full": "", - "format-icons": ["", "", "", "", ""] + "format-full": "󰁹", + "format-icons": ["󰂎", "󰁻", "󰁽", "󰁿", "󰂂"] }, "network": { "format-wifi": "{essid} ({signalStrength}%) ", @@ -109,7 +114,7 @@ //"format-bluetooth": "{volume}% {icon} {format_source}", //"format-bluetooth-muted": " {icon} {format_source}", //"format-muted": " {format_source}", - "format-muted": " {format_source}", + "format-muted": "󰝟 {format_source}", "format-source": "", "format-source-muted": "", "format-icons": { diff --git a/os/linux/waybar/style.css b/os/linux/waybar/style.css index 4612365..32af862 100644 --- a/os/linux/waybar/style.css +++ b/os/linux/waybar/style.css @@ -3,7 +3,7 @@ * { border: none; border-radius: 0; - font-family: "IosevkaLyteTerm", sans-serif; + font-family: "IosevkaLyteTerm", "Symbols Nerd Font Mono", sans-serif; font-size: 16px; min-height: 0; } @@ -68,10 +68,11 @@ window#waybar.empty { #idle_inhibitor, #mpd { padding: 0 0.75em; + background-color: inherit; + color: @text; } #clock { - /* background-color: #64727D; */ } #battery {