default_border pixel 1 ### Variables # Logo key. Use Mod1 for Alt. set $mod Mod4 set $left h set $down j set $up k set $right l set $term alacritty set $menu bemenu-run | xargs swaymsg exec -- ### Output configuration output * bg /home/nisevoid/images/bg.png fill output HDMI-A-1 scale 2 mode 3840x2160@60Hz adaptive_sync on pos 0 0 output DP-1 scale 1 transform 180 pos 0 1080 ### Idle configuration # exec swayidle -w \ # timeout 300 'swaylock -f -c 000000' \ # timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f -c 000000' input type:tablet_tool { tool_mode pen absolute map_to_output DP-1 } ### Key bindings # Drag floating windows by holding down $mod and left mouse button. floating_modifier $mod normal bindsym $mod+q kill bindsym $mod+Shift+c reload bindsym $mod+t exec $term bindsym $mod+space exec $menu bindsym $mod+grave exec $term -e song bindsym Print exec grim -g "$(slurp)" -t png - | wl-copy -n -t image/png bindsym $mod+b exec MOZ_ENABLE_WAYLAND=1 firefox bindsym $mod+Shift+b exec chromium --incognito --ozone-platform=wayland # Change focus 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+$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 number 1 bindsym $mod+2 workspace number 2 bindsym $mod+3 workspace number 3 bindsym $mod+4 workspace number 4 bindsym $mod+5 workspace number 5 bindsym $mod+6 workspace number 6 bindsym $mod+7 workspace number 7 bindsym $mod+8 workspace number 8 bindsym $mod+9 workspace number 9 bindsym $mod+0 workspace number 10 # Move to workspace bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+2 move container to workspace number 2 bindsym $mod+Shift+3 move container to workspace number 3 bindsym $mod+Shift+4 move container to workspace number 4 bindsym $mod+Shift+5 move container to workspace number 5 bindsym $mod+Shift+6 move container to workspace number 6 bindsym $mod+Shift+7 move container to workspace number 7 bindsym $mod+Shift+8 move container to workspace number 8 bindsym $mod+Shift+9 move container to workspace number 9 bindsym $mod+Shift+0 move container to workspace number 10 # Select place for next window bindsym $mod+c splith bindsym $mod+v splitv # Make the focused window fullscreen bindsym $mod+f fullscreen # Toggle the between tiling and floating window bindsym $mod+Return floating toggle ### Status Bar bar { position top status_command while date +'%d %b | %H:%M:%S '; do sleep 1; done colors { statusline #ffffff background #222222 inactive_workspace #111111 #111111 #777777 focused_workspace #773333 #773333 #ffffff urgent_workspace #dd6666 #dd6666 #ffffff } } include /etc/sway/config.d/*