almost usable
This commit is contained in:
+18
-16
@@ -12,6 +12,8 @@ set $menu wmenu-run
|
||||
|
||||
exec "foot --server"
|
||||
|
||||
output * bg ~/Pictures/henri.jpg fill
|
||||
|
||||
input type:keyboard {
|
||||
xkb_layout "se"
|
||||
xkb_variant "nodeadkeys"
|
||||
@@ -31,6 +33,8 @@ bindsym $mod+shift+q exec wlogout
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+q kill
|
||||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+space floating toggle
|
||||
bindsym $mod+Shift+r reload
|
||||
|
||||
bindsym $mod+Alt+h splith
|
||||
bindsym $mod+Alt+v splitv
|
||||
@@ -41,6 +45,11 @@ bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
@@ -72,20 +81,13 @@ mode "resize" {
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
gaps inner 10
|
||||
bar {
|
||||
position top
|
||||
|
||||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
status_command while date +'%y-%m-%d (%a w%V) %H:%M'; do sleep 1; done
|
||||
|
||||
colors {
|
||||
statusline $white
|
||||
background $black
|
||||
urgent_workspace $red $black $red
|
||||
focused_workspace $black $black $red
|
||||
inactive_workspace $black $black $white
|
||||
}
|
||||
}
|
||||
exec_always pkill waybar; waybar
|
||||
|
||||
bindsym $mod+Shift+s exec 'grim -l 0 -g "$(slurp)" - wl-copy'
|
||||
bindsym $mod+Shift+s exec 'grim -l 0 -g "$(slurp)" - | wl-copy'
|
||||
bindsym $mod+Alt+s exec 'mkdir -p ~/Pictures/Screenshots && grim -l 0 -g "$(slurp)" ~/Pictures/Screenshots/$(date +"%Y-%m-%d_%H-%M-%S").png'
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c 1a1b26' \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f -c 1a1b26'
|
||||
|
||||
Reference in New Issue
Block a user