From 1259e9c0e2000020dec5e4740a39f02e7e379d55 Mon Sep 17 00:00:00 2001 From: Nick Boughton Date: Sun, 22 Nov 2020 16:12:49 +0000 Subject: [PATCH] tweak window borders --- .gitignore | 2 ++ sway/config | 2 +- waybar/config | 5 +++++ waybar/modules/weather.sh | 3 ++- waybar/style.css | 1 + 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index df81dc9..ac19027 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ yay/ zoomus.conf org.gabmus.giara.json font-manager/ +BetterDiscord/ +Code\ Industry/ diff --git a/sway/config b/sway/config index a423891..0d3226a 100644 --- a/sway/config +++ b/sway/config @@ -60,9 +60,9 @@ for_window [app_id=floater] floating enable for_window [app_id=catfish] floating enable for_window [app_id=zoom] floating enable for_window [app_id=pcmanfm] floating enable -#for_window [app_id=geary] floating enable for_window [app_id=pavucontrol] floating enable for_window [app_id=ristretto] floating enable +for_window [app_id=".*"] border pixel ### Key bindings # diff --git a/waybar/config b/waybar/config index 61694ff..82e84e1 100644 --- a/waybar/config +++ b/waybar/config @@ -5,6 +5,7 @@ "modules-left": [ "sway/workspaces", //"wlr/taskbar", + //"sway/window", "sway/mode", "custom/spotify", "idle_inhibitor" @@ -41,6 +42,10 @@ "sway/mode": { "format": "{}" }, + "sway/window": { + "format": "{}", + "max-length": 15 + }, "backlight": { "format": "{icon} {percent}%", "format-icons": ["", ""], diff --git a/waybar/modules/weather.sh b/waybar/modules/weather.sh index 210f863..c238eb2 100755 --- a/waybar/modules/weather.sh +++ b/waybar/modules/weather.sh @@ -1,2 +1,3 @@ #!/bin/bash -curl wttr.in/?format="%C,+%t\n" | sed -e 's/,.*:/:/' +report=$(curl wttr.in/?format="%C,+%t\n" | sed -e 's/,.*:/:/') +echo $report diff --git a/waybar/style.css b/waybar/style.css index 58a0511..0e8a7ad 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -24,6 +24,7 @@ window#waybar { #workspaces, #mode, +#window, #taskbar, #idle_inhibitor, #custom-weather,