font pango: Noto Sans Regular 10 set $mod Mod4 set $ws1 "1" set $ws2 "2" set $ws3 "3" set $ws4 "4" set $ws5 "5" set $ws6 "6" set $ws7 "7" set $ws8 "8" set $ws9 "9" set $ws10 "10" workspace_layout default default_border pixel 2 client.focused "#ffffff" "#d699b6" "#ffffff" gaps inner 6 gaps outer 3 # use mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # switch/iterate between workspaces bindsym $mod+Tab workspace next bindsym $mod+Shift+Tab workspace prev xwayland enable # border for_window [class="."] border pixel 2 smart_borders on # layout container bindsym $mod+b split h bindsym $mod+v split v bindsym $mod+f fullscreen toggle bindsym $mod+s layout stacking bindsym $mod+g layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle bindsym $mod+a focus parent # change focus bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move 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 # switch to workspace bindsym $mod+1 workspace $ws1 bindsym $mod+2 workspace $ws2 bindsym $mod+3 workspace $ws3 bindsym $mod+4 workspace $ws4 bindsym $mod+5 workspace $ws5 bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 bindsym $mod+0 workspace $ws10 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $ws1 bindsym $mod+Shift+2 move container to workspace $ws2 bindsym $mod+Shift+3 move container to workspace $ws3 bindsym $mod+Shift+4 move container to workspace $ws4 bindsym $mod+Shift+5 move container to workspace $ws5 bindsym $mod+Shift+6 move container to workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 # resize mode bindsym $mod+r mode "resize" mode "resize" { bindsym h resize shrink width 5 px or 5 ppt bindsym j resize grow height 5 px or 5 ppt bindsym k resize shrink height 5 px or 5 ppt bindsym l resize grow width 5 px or 5 ppt bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt bindsym Return mode "default" bindsym Escape mode "default" bindsym q mode "default" } bindsym $mod+q kill # apps and window manager bindsym $mod+d exec rofi -modi drun -show drun -config ~/.config/rofi/rofidmenu.rasi bindsym $mod+t exec rofi -show window -config ~/.config/rofi/rofidmenu.rasi bindsym $mod+Shift+t exec thunderbird bindsym $mod+Shift+w exec qutebrowser bindsym $mod+Return exec alacritty bindsym $mod+Shift+e exec ~/.config/waybar/scripts/powermenu bindsym $mod+p exec ~/.config/waybar/scripts/blur-lock bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # multimedia bindsym XF86MonBrightnessUp exec --no-startup-id ~/.config/waybar/scripts/volume_brightness.sh brightness_up bindsym XF86MonBrightnessDown exec --no-startup-id ~/.config/waybar/scripts/volume_brightness.sh brightness_down bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/waybar/scripts/volume_brightness.sh volume_up bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/waybar/scripts/volume_brightness.sh volume_down bindsym XF86AudioMute exec --no-startup-id ~/.config/waybar/scripts/volume_brightness.sh volume_mute bindsym XF86AudioMicMute exec amixer sset Capture toggle bindsym XF86AudioPlay exec playerctl play-pause bindsym XF86AudioPause exec playerctl play-pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous bindsym $mod+Ctrl+s exec screenshot # custom scripts bindsym $mod+Shift+i exec dmonitors bindsym $mod+Shift+o exec zathura-fzf /home/chris/uni/ bindsym $mod+Shift+b exec bluetooth-devices bindsym $mod+w exec qtb-load-session bindsym $mod+Shift+s exec run-spotify-player bindsym $mod+Shift+p exec passmenu bindsym $mod+Ctrl+w exec random-wallpaper # autostart exec --no-startup-id /usr/bin/dunst exec --no-startup-id random-wallpaper input * { xkb_layout "eu" } bar { swaybar_command waybar workspace_buttons yes }