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)
+ `fu` (find icons)
+ 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
italic:
family: SF Mono Nerd Font
family: SFMono Nerd Font
style: Italic
size: 11.0

View File

@@ -13,14 +13,14 @@ set $right l
# Color
# old solarized
set $yellow #b58900
set $orange #cb4b16
set $red #dc322f
set $magenta #d33682
set $violet #6c71c4
set $blue #268bd2
set $cyan #2aa198
set $green #859900
set $yellow #b58900
set $orange #cb4b16
set $red #dc322f
set $magenta #d33682
set $violet #6c71c4
set $blue #268bd2
set $cyan #2aa198
set $green #859900
set $baseA3 #fdf6e3
set $baseA2 #eee8d5
@@ -105,16 +105,16 @@ input type:keyboard {
--tb "#282828" \
--hf "#ffffff" \
--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 $lock_screen \
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" \
| xargs -d '\n' -r /bin/bash -c
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
# Screenshot
@@ -223,7 +223,7 @@ input type:keyboard {
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 [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
# Status Bar

View File

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

View File

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