fix waybar
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
env:
|
env:
|
||||||
TERM: alacritty
|
TERM: alacritty
|
||||||
|
|
||||||
|
window:
|
||||||
|
padding:
|
||||||
|
x: 10
|
||||||
|
y: 10
|
||||||
|
|
||||||
font:
|
font:
|
||||||
normal:
|
normal:
|
||||||
family: SFMono Nerd Font
|
family: SFMono Nerd Font
|
||||||
|
|||||||
@@ -85,19 +85,18 @@ input type:keyboard {
|
|||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+Backspace kill
|
bindsym $mod+Shift+Backspace kill
|
||||||
|
|
||||||
# Application launcher
|
# bemenu
|
||||||
set $bemenu bemenu -l 7 --tf "#859900" --hf "#859900" --nb "#282828" --hb "#383838" --tb "#282828" --fb "#282828" --fn "SFMono Nerd Font 13" -i -H 30
|
set $bemenu bemenu -l 7 --tf "#859900" --hf "#859900" --nb "#282828" --hb "#383838" --tb "#282828" --fb "#282828" --fn "SFMono Nerd Font 13" -i -H 30
|
||||||
set $files fd -I "pdf$" $HOME | cut -f 4- -d "/"
|
set $files fd -I "pdf$" $HOME | cut -f 4- -d "/"
|
||||||
|
set $lock_screen printf "/home/marc/.local/bin/lock.sh\nsystemctl suspend\nshutdown now" | $bemenu -l 3 -p "power" | xargs -d '\n' -r /bin/bash -c
|
||||||
bindsym $mod+d exec dmenu_path | $bemenu | xargs swaymsg exec --
|
bindsym $mod+d exec dmenu_path | $bemenu | xargs swaymsg exec --
|
||||||
bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdfs' | xargs -d '\n' -r xdg-open
|
bindsym $mod+p exec $files | $bemenu -l 20 -p 'pdfs' | xargs -d '\n' -r xdg-open
|
||||||
|
bindsym $mod+Ctrl+Backspace exec $lock_screen
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
|
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
|
||||||
bindsym $mod+Ctrl+Shift+s exec grim -g "$(slurp)" - | swappy -f -
|
bindsym $mod+Ctrl+Shift+s exec grim -g "$(slurp)" - | swappy -f -
|
||||||
|
|
||||||
# Logout etc
|
|
||||||
bindsym $mod+Ctrl+Backspace exec ~/.local/bin/lock.sh
|
|
||||||
|
|
||||||
# Show notifications
|
# Show notifications
|
||||||
bindsym $mod+v exec swaync-client -t -sw
|
bindsym $mod+v exec swaync-client -t -sw
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
font-weight: bold;
|
/*font-weight: bold; */
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
|
|||||||
Reference in New Issue
Block a user