# This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # # i3 config file (v4) # # Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 #set_from_resource $bright i3wm.color2 #ff0000 #set_from_resource $bg i3wm.color7 #ff0000 #set_from_resource $light i3wm.color4 #ff0000 #set_from_resource $fg i3wm.color4 #ff0000 #set_from_resource $bg i3wm.color3 #ff0000 set $bg-color #000000 set $inactive-bg-color #2f343f set $text-color #FFFFFF set $inactive-text-color #676E7D set $urgent-bg-color #E53935 set $bordercolor #c5cbd6 set $bg-highlight #556177 gaps inner 10 gaps outer 7 gaps top -5 smart_gaps on set $mode_gaps Toggle gaps: (1) on (2) off bindsym $mod+g mode "$mode_gaps" mode "$mode_gaps" { bindsym 1 mode "default", gaps inner all set 10, gaps outer all set 4, gaps top all set -5 bindsym 2 mode "default", gaps inner all set 0, gaps outer all set 0 bindsym Return mode "default" bindsym Escape mode "default" } # Brightness bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 bindsym Ctrl+XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 1 bindsym Ctrl+XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 1 # Auto startup exec_always --no-startup-id xsetwacom set "Wacom HID 50DB Finger touch" Gesture off #exec_always --no-startup-id export QT_QPA_PLATFORMTHEME="qt5ct" exec_always --no-startup-id /usr/lib/kdeconnectd & exec_always --no-startup-id indicator-kdeconnect #exec_always --no-startup-id nm-applet --agent #exec_always --no-startup-id ~/.config/i3/auto-xrandr # #exec_always --no-startup-id ~/.config/picom/launch.sh exec_always --no-startup-id waybar #exec_always --no-startup-id /home/daan/.screenlayout/HDMI.sh exec_always --no-startup-id ~/Scripts/setbg_wl.sh & #exec_always --no-startup-id hsetroot -solid "#ffffff" exec_always --no-startup-id mako & #exec_always --no-startup-id ~/.config/i3/oneko.sh exec_always --no-startup-id sh -c "wayvnc -r 192.168.1.199 55555" #bindsym $mod+w exec --no-startup-id guake-toggle & # Application bindsym $mod+Shift+e exec --no-startup-id ~/.config/sway/exit.sh bindsym $mod+Shift+g exec --no-startup-id dmenu_script game.sh bindsym $mod+c exec --no-startup-id rofi-pass-wl bindsym $mod+m exec --no-startup-id mpc toggle # window border size default_border pixel 0 default_floating_border pixel 0 # default font font pango:Open Sans 10 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # start a terminal bindsym $mod+Return exec alacritty # kill focused window bindsym $mod+Shift+q kill # start rofi bindsym $mod+d exec rofi -show drun --no-startup-id # workspaces # change focus bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right # alternatively, you can use the cursor keys: 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 bindsym $mod+Control+Left workspace prev bindsym $mod+Control+Right workspace next # split in horizontal orientation bindsym $mod+b split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+q focus parent # focus the child container #bindsym $mod+d focus child # switch to workspace bindsym $mod+1 workspace 1 bindsym $mod+2 workspace 2 bindsym $mod+3 workspace 3 bindsym $mod+4 workspace 4 bindsym $mod+5 workspace 5 bindsym $mod+6 workspace 6 bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+9 workspace 9 bindsym $mod+0 workspace 10 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace 1 bindsym $mod+Shift+2 move container to workspace 2 bindsym $mod+Shift+3 move container to workspace 3 bindsym $mod+Shift+4 move container to workspace 4 bindsym $mod+Shift+5 move container to workspace 5 bindsym $mod+Shift+6 move container to workspace 6 bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+greater move workspace to output up bindsym $mod+Shift+less move workspace to output down # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r swaymsg restart # exit i3 (logs you out of your X session) #bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym j resize shrink width 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt bindsym l resize shrink height 10 px or 10 ppt bindsym m resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys 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 # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" mode "passthrough" { bindsym $mod+p mode "default" } bindsym $mod+p mode "passthrough" # Pulse Audio controls bindsym XF86AudioRaiseVolume exec --no-startup-id sh -c "pamixer -i 5" bindsym XF86AudioLowerVolume exec --no-startup-id sh -c "pamixer -d 5" bindsym XF86AudioMute exec --no-startup-id sh -c "pamixer -m" input type:pointer { accel_profile flat pointer_accel 0 } input type:touchpad { tap enabled natural_scroll enabled } # Workspace assignment assign [class="^code-oss$"] 3 for_window [class="^code-oss$"] focus assign [window_role="browser"] 2 for_window [window_role="browser"] focus ## Plasma Integration # Try to kill the wallpaper set by Plasma (it takes up the entire workspace and hides everythiing) exec --no-startup-id wmctrl -c Plasma for_window [title="Desktop — Plasma"] kill; floating enable; border none ## Avoid tiling popups, dropdown windows from plasma # for the first time, manually resize them, i3 will remember the setting for floating windows for_window [class="plasmashell"] floating enable; for_window [class="Plasma"] floating enable; border none for_window [title="plasma-desktop"] floating enable; border none for_window [title="win7"] floating enable; border none for_window [class="krunner"] floating enable; border none for_window [class="Kmix"] floating enable; border none for_window [class="Klipper"] floating enable; border none for_window [class="Plasmoidviewer"] floating enable; border none #for_window [class="mpc"] mark "mpc", move scratchpad #bindsym $mod+Shift+m [con_mark="mpc"] scratchpad show #exec --no-startup-id sh -c "alacritty --class mpc --title mpc --command mpc-rs" for_window [app_id="mpc"] move scratchpad bindsym $mod+Shift+m [app_id="mpc"] scratchpad show exec_always --no-startup-id alacritty --class mpc --title mpc --command mpc-rs for_window [app_id="scratch"] move scratchpad bindsym $mod+w [app_id="scratch"] scratchpad show exec_always --no-startup-id alacritty --class scratch --title scratchpad output HEADLESS-1 resolution 1920x1080 exec swayidle -w \ timeout 900 'swaylock' \ timeout 905 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' #focus Pavucontrol or create it, if it did not already exist. #bindsym $mod+w exec swaymsg [app_id="scratchpad"] scratchpad show || exec alacritty --class scratchpad --title scratchpad , resize set 1800 1000 #focus Vimpc or create it, if it did not already exist. #bindsym $mod+Shift+m exec swaymsg [app_id="mpc"] scratchpad show || exec alacritty --class mpc --title mpc --command mpc-rs , resize set 1800 1000