# Logo key. Use Mod1 for Alt. set $mod Mod4 # terminal emulator set $term kitty # application launcher set $menu pgrep wofi >/dev/null 2>&1 && killall wofi || wofi --show drun # Workspace Name set $ws1 "â›Šī¸" set $ws2 "ī‚Ŧ " set $ws3 " " set $ws4 "đŸ›ī¸" set $ws5 "📜" ### Output configuration output eDP-1 resolution 1920x1080@60.008Hz position 0,0 # Wallpaper output * bg $HOME/wallpaper/kyrr.png fill #apply gtk theme exec gsettings set org.gnome.desktop.interface gtk-theme 'Carbon-Dark' #exec gsettings set org.gnome.desktop.interface icon-theme 'YourIconThemeName' #exec gsettings set org.gnome.desktop.interface cursor-theme 'YourCursorThemeName' #only wayland xwayland disable #floating nmtui for network in waybar for_window [app_id = "nmwui"] floating enable ###Gaps gaps inner 5px gaps outer 8px ###Border default_border pixel 1.5px default_floating_border pixel 1.5px ###Border Color # border bg text ind c_border client.focused #83a598 #0F0F0F #ebdcb2 #83a598 #83a598 client.focused_inactive #ebdcb2 #0F0F0F #d8cab8 #d8cab8 #d8cab8 client.unfocused #ebdcb2 #0F0F0F #d8cab8 #ebdcb2 #ebdcb2 client.urgent #fcb167 #0F0F0F #d8cab8 #fcb167 #fcb167 client.placeholder #ebdcb2 #0F0F0F #d8cab8 #ebdcb2 #ebdcb2 ### Idle configuration # # Example configuration: # #exec swayidle -w \ # timeout 30 'swaylock -f' \ # timeout 60 'swaymsg "output * power off"' \ # resume 'swaymsg "output * power on"' # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. ### Input configuration # input type:touchpad { dwt enabled tap enabled natural_scroll enabled } # #input type:keyboard { # xkb_layout "en" # } # # You can also configure each device individually. # Read `man 5 sway-input` for more information about this section. ###------------------------------------- ### Key bindings ###------------------------------------- # Basics # Start a terminal bindsym $mod+t exec $term # Start wofi bindsym $mod+w exec $menu # Start web-browser bindsym $mod+b exec firefox # Start filemanager (Nemo) bindsym $mod+n exec nemo # Kill focused window bindsym $mod+q kill # Start filemanager (Yazi) #bindsym $mod+y exec yazi # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. # Despite the name, also works for non-floating windows. # Change normal to inverse to use left mouse button for resizing and right # mouse button for dragging. floating_modifier $mod normal # Reload the configuration file bindsym $mod+Shift+c reload # Exit sway (logs you out of your Wayland session) bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' # MOVE FOCUS (with arrow keys) bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # Move the focused window with arrow keys bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # Workspaces: # 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 # 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 # Layout stuff: # Make the current focus fullscreen bindsym $mod+f fullscreen # Toggle the current focus between tiling and floating mode bindsym $mod+Shift+space floating toggle # Swap focus between the tiling area and the floating area bindsym $mod+space focus mode_toggle # Scratchpad (Bag for holding windows): # Move the currently focused window to the scratchpad bindsym $mod+Shift+minus move scratchpad # Show the next scratchpad window or hide the focused scratchpad window. # If there are multiple scratchpad windows, this command cycles through them. bindsym $mod+minus scratchpad show # Resizing containers: mode "resize" { # Ditto, with arrow keys bindsym Left resize shrink width 10px bindsym Down resize grow height 10px bindsym Up resize shrink height 10px bindsym Right resize grow width 10px # Return to default mode bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # Utilities: # Special keys to adjust volume via PulseAudio bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle # Special keys to adjust brightness via brightnessctl bindsym --locked XF86MonBrightnessDown exec --no-startup-id brightnessctl set 10%- bindsym --locked XF86MonBrightnessUp exec --no-startup-id brightnessctl set 10%+ # Special key to take a screenshot with grim bindsym Print exec grim # Status Bar: bar { swaybar_command waybar } include /etc/sway/config.d/*