# Common keys and reusable things set { $mod Mod4 $left h $down j $up k $right l $term foot $lock 'swaylock -f -c 000000' $menu bemenu-run -p spawn --list 30 -W 0.7 --no-exec --scrollbar autohide -c --tb '#CC838C' --tf '#000000' --nb '#000000' --nf '#CC838C' --hb '#CC838C' --hf '#000000' --ab '#101010' --af '#CC838C' --scb '#000000' --scf '#CC838C' | xargs swaymsg exec -- } floating_modifier $mod normal # Keybinds bindsym { # # General window management # $mod+c exec $term $mod+Shift+c kill $mod+Space exec $menu $mod+Ctrl+Shift+l exec $lock $mod+Shift+q reload # # Window focus and movement: # $mod+$left focus left $mod+$down focus down $mod+$up focus up $mod+$right focus right $mod+Shift+$left move left $mod+Shift+$down move down $mod+Shift+$up move up $mod+Shift+$right move right # # Workspaces: # $mod+1 workspace 1:α $mod+2 workspace 2:β $mod+3 workspace 3:γ $mod+4 workspace 4:δ $mod+5 workspace 5:ε $mod+6 workspace 6:ζ $mod+Shift+1 move container to workspace 1:α $mod+Shift+2 move container to workspace 2:β $mod+Shift+3 move container to workspace 3:γ $mod+Shift+4 move container to workspace 4:δ $mod+Shift+5 move container to workspace 5:ε $mod+Shift+6 move container to workspace 6:ζ # # Layout stuff: # # Switch the current container between different layout styles $mod+t layout tabbed $mod+e layout toggle split # Make the current focus fullscreen $mod+f fullscreen # Toggle the current focus between tiling and floating mode $mod+Shift+space floating toggle # Move focus to the parent container $mod+a focus parent # # Modes # $mod+r mode "resize" } # # Resizing containers: # mode "resize" { # left will shrink the containers width # right will grow the containers width # up will shrink the containers height # down will grow the containers height bindsym { $left resize shrink width 10px $down resize grow height 10px $up resize shrink height 10px $right resize grow width 10px # Return to default mode Return mode "default" Escape mode "default" } } # # Output configuration # output { * { bg #000000 solid_color } } # # Idle # exec swayidle -w \ timeout 300 $lock \ timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ before-sleep $lock # # Status Bar: # bar { position top strip_workspace_numbers yes status_command while echo "`uname -r` / `cat /proc/loadavg | cut -d' ' -f1-3` / `date +'%a %d/%m %T'`"; do sleep 1; done # Who the fuck uses trays what the fuck dude tray_output none colors { statusline #CC838C background #000000 focused_workspace #000000 #171717 #CC838C inactive_workspace #000000 #000000 #404040 } } # # Input: # input "type:keyboard" { xkb_layout us,de xkb_variant ,nodeadkeys xkb_options grp:alt_shift_toggle } # Colors client.focused #CC838C #101010 #CC838C #CC838C #CC838C client.focused_inactive #404040 #000000 #404040 #404040 #404040 client.unfocused #404040 #000000 #404040 #404040 #404040 # Border default_border pixel 2