fixed waybar reload

This commit is contained in:
spinach 2024-02-23 12:40:38 -05:00
commit 24ce088e84
5 changed files with 12 additions and 11 deletions

View File

@ -15,16 +15,12 @@ bar {
swaybar_command waybar;
}
# setup screens
exec_always killall kanshi; kanshi
exec_always "killall kanshi; kanshi"
# background
exec_always wallpaper.sh
# waybar
# exec_always killall -SIGUSR2 waybar; waybar
# Restarts waybar if running, starts otherwise
exec_always pgrep waybar && (killall -SIGUSR2 waybar) || (waybar)
# bar {
# swaybar_command waybar;
# }
# loading layout
assign [class="st-256color"] 1
@ -47,8 +43,8 @@ exec swayidle -w \
lock 'swaylock-blur'
# lock the screen
# bindsym $mod+q exec swaylock-blur
bindsym $mod+q exec sleep 1 && killall -SIGUSR1 swayidle
bindsym $mod+q exec swaylock-blur
# bindsym $mod+q exec sleep 1 && killall -SIGUSR1 swayidle
# kill focused window
bindsym $mod+Shift+q kill
@ -74,10 +70,10 @@ bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in horizontal orientation
#bindsym $mod+h split h

Binary file not shown.

Binary file not shown.

View File

@ -9,6 +9,8 @@ set -g display-panes-time 5000
# setup automatic renaming
set -g automatic-rename on
# count from 1 for easier pane switching
setw -g pane-base-index 1
#set -g default-shell $SHELL
# keybinds

View File

@ -14,6 +14,9 @@ set -g automatic-rename on
# escape sequence delay
set -g escape-time 10
# start from 1 for pane numbering
setw -g pane-base-index 1
#set -g default-shell $SHELL
# keybinds