# variables set $mod Mod4 set $left h set $down j set $up k set $right l set $term alacritty -e 'tmux' set $menu exec tofi-drun | xargs swaymsg exec -- font pango:Iosevka Nerd Font 12 # setting the solid. # output * bg #a89984 solid_color # use this if you are into wallpapers. output * bg $HOME/.config/sway/wallpaper.jpg fill # common bindings bindsym $mod+Return exec $term bindsym $mod+d exec $menu bindsym $mod+Shift+q kill bindsym $mod+Shift+c reload bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit Sway?' -B 'Yes, exit sway' 'swaymsg exit' --font="Iosevka Nerd Font" floating_modifier $mod normal # more bindings bindsym $mod+$left focus left bindsym $mod+$down focus down bindsym $mod+$up focus up bindsym $mod+$right focus right bindsym $mod+Left focus left 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+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 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 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 bindsym $mod+Shift+v floating toggle bindsym $mod+b splith bindsym $mod+v splitv bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split bindsym $mod+f fullscreen bindsym $mod+space focus mode_toggle bindsym $mod+a focus parent bindsym $mod+r mode "resize" mode "resize" { bindsym $left resize shrink width 20px bindsym $down resize grow height 20px bindsym $up resize shrink height 20px bindsym $right resize grow width 20px bindsym Left resize shrink width 20px bindsym Down resize grow height 20px bindsym Up resize shrink height 20px bindsym Right resize grow width 20px bindsym Return mode "default" bindsym Escape mode "default" } bar { swaybar_command waybar # swaybar_command swaybar # # status_command /usr/bin/i3status-rs $HOME/.config/i3status/config.toml # position top # font pango:CaskaydiaCove Nerd Font 12 # # colors { # background #050505 # # focused_workspace #97a97c #87986a #050505 # } } # startup executions # exec swww init default_border pixel 1 default_floating_border pixel 1 # Thin borders: smart_borders on smart_gaps off client.focused #68a9c9 #68a9c9 #68a9c9 #68a9c9 #68a9c9 client.focused_inactive #373b41 #969896 #969896 #282a2e #282a2e client.unfocused #373b41 #969896 #969896 #282a2e #282a2e client.urgent #373b41 #900000 #ffffff #282a2e #900000 client.placeholder #373b41 #373b41 #ffffff #282a2e #969896 # swayfx config blur enable blur_passes 3 blur_radius 5 layer_effects "waybar" shadows enable; corner_radius 12 default_dim_inactive 0.1 shadows enable # window gaps gaps inner 4 gaps outer 4 # includes include /etc/sway/config.d/* include $HOME/.config/sway/config.d/*