sway/waybar: fix colors after f36 upgrade

This commit is contained in:
Marco Thomas
2022-07-22 20:29:53 +02:00
parent 9a210d53e2
commit adc650ace3
5 changed files with 26 additions and 20 deletions

View File

@@ -23,3 +23,7 @@ SFMono also provides icons.
+ `fd` (rust find) + `fd` (rust find)
+ `fu` (find icons) + `fu` (find icons)
+ all `fcitx5` stuff (data, gtk, qt, mozc) + all `fcitx5` stuff (data, gtk, qt, mozc)
### GTK theming stuff
+ icons: `Flat-Remix-Blue-Light-darkPanel`
+ theme: `Flat-Remix-GTK-Blue-Light-solid`

View File

@@ -11,7 +11,7 @@ font:
style: Bold style: Bold
italic: italic:
family: SF Mono Nerd Font family: SFMono Nerd Font
style: Italic style: Italic
size: 11.0 size: 11.0

View File

@@ -105,16 +105,16 @@ input type:keyboard {
--tb "#282828" \ --tb "#282828" \
--hf "#ffffff" \ --hf "#ffffff" \
--hb "#393939" \ --hb "#393939" \
--fn "SFMono Nerd Font 13" -i -H 25 -W 0.35 --fn "SFMono Nerd Font 13" -i -H 25 -W 0.5
set $files fd -I "pdf$" $HOME | cut -f 4- -d "/" set $files fd -I "pdf$" $HOME | cut -f 4- -d "/"
set $lock_screen \ set $lock_screen \
printf \ printf \
"/home/marc/.local/bin/lock.sh\nsystemctl suspend\nswaymsg reload\nshutdown now" \ "/home/marc/.local/bin/lock.sh\nsystemctl suspend\nswaymsg reload\nshutdown now\nloginctl terminate-user marc" \
| $bemenu -p "power" \ | $bemenu -p "power" \
| xargs -d '\n' -r /bin/bash -c | xargs -d '\n' -r /bin/bash -c
bindsym $mod+d exec dmenu_path | $bemenu -p 'run' | xargs swaymsg exec -- bindsym $mod+d exec dmenu_path | $bemenu -p 'run' | xargs swaymsg exec --
bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdf' | xargs -d '\n' -r xdg-open bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdf' -W 0.7 | xargs -d '\n' -r xdg-open
bindsym $mod+Ctrl+Backspace exec $lock_screen bindsym $mod+Ctrl+Backspace exec $lock_screen
# Screenshot # Screenshot
@@ -223,7 +223,7 @@ input type:keyboard {
for_window [app_id="org.telegram.desktop"] move container to workspace number $ws3 for_window [app_id="org.telegram.desktop"] move container to workspace number $ws3
for_window [class="Spotify"] move container to workspace number $ws4 for_window [class="Spotify"] move container to workspace number $ws4
for_window [app_id="Joplin"] move container to workspace number $ws5 for_window [app_id="Joplin"] move container to workspace number $ws5
for_window [app_id="geary"] move container to workspace number $ws8 for_window [app_id="evolution"] move container to workspace number $ws8
for_window [app_id="org.keepassxc.KeePassXC"] move container to workspace number $ws9 for_window [app_id="org.keepassxc.KeePassXC"] move container to workspace number $ws9
# Status Bar # Status Bar

View File

@@ -15,9 +15,6 @@
"position": "left", "position": "left",
// If height property would be not present, it'd be calculated dynamically
"height": 37,
"modules-left": [ "modules-left": [
"sway/workspaces" "sway/workspaces"
], ],
@@ -131,6 +128,7 @@
"sway/workspaces": { "sway/workspaces": {
"all-outputs": false, "all-outputs": false,
"disable-scroll": false, "disable-scroll": false,
"disable-scroll-wraparound": true,
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"1": "一", "1": "一",

View File

@@ -186,15 +186,19 @@
background-color: #f85551; background-color: #f85551;
} }
#workspaces button.urgent:hover {
background-color: #b85551;
}
/* remove weird GTK hover effect */ /* remove weird GTK hover effect */
#workspaces button:hover { #workspaces button:hover {
box-shadow: inherit; box-shadow: inherit;
text-shadow: inherit; text-shadow: inherit;
background: #282828; background: #383838;
border: #282828; border: #383838;
} }
#workspaces button.focused:hover { #workspaces button.focused:hover {
background: #93b259; background: #75b259;
border: #93b259; border: #73b259;
} }