# ██ ████ #░██ █░░░ █ #░██░ ░█ #░██ ███ #░██ ░░░ █ #░██ █ ░█ #░██░ ████ #░░ ░░░ # # ██████ ████ ██ # ██░░░░██ ░██░ ░░ █████ # ██ ░░ ██████ ███████ ██████ ██ ██░░░██ #░██ ██░░░░██░░██░░░██░░░██░ ░██░██ ░██ #░██ ░██ ░██ ░██ ░██ ░██ ░██░░██████ #░░██ ██░██ ░██ ░██ ░██ ░██ ░██ ░░░░░██ # ░░██████ ░░██████ ███ ░██ ░██ ░██ █████ # ░░░░░░ ░░░░░░ ░░░ ░░ ░░ ░░ ░░░░░ # i3 config file (v4) # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod1 set $sup Mod4 # Disable Mouse Focus focus_follows_mouse no workspace_auto_back_and_forth yes # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:Ohsnap 8 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # Window Border new_window pixel 2 hide_edge_borders none # Touchpad Settings {{{ bindsym $mod+F11 exec synclient TouchpadOff=1 bindsym $mod+F12 exec synclient TouchpadOff=0 #}}} # I3 Bind Keys {{{ # start a terminal bindsym $mod+Return exec xfce4-terminal # kill focused window bindsym $mod+q kill # start dmenu (a program launcher) bindsym $mod+Shift+d exec --no-startup-id ~/.config/dmenu/simple.sh bindsym $mod+d exec --no-startup-id ~/.config/dmenu/rofi.sh # change focus bindsym $mod+j focus left bindsym $mod+k focus down bindsym $mod+l focus up bindsym $mod+m 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+j move left bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+m move right # alternatively, you can use the cursor 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 # split in horizontal orientation bindsym $mod+h split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # Focus Parent bindsym $mod+a focus parent # 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 restart # }}} # {{{ Workspace # Worspace Back and forth bindsym $sup+b workspace back_and_forth bindsym $sup+Shift+b move container to workspace back_and_forth; workspace back_and_forth #navigate workspaces next / previous bindsym $sup+Right workspace next bindsym $sup+Left workspace prev # Switch to workspace with urgent window automatically for_window [urgent=latest] focus # Workspace Names set $W1 1: set $W2 2: set $W3 3: set $W4 4: set $W5 5: set $W6 6: set $W7 7: set $W8 8: set $W9 9: set $W0 0: # switch to workspace bindsym $mod+1 workspace $W1 bindsym $mod+2 workspace $W2 bindsym $mod+3 workspace $W3 bindsym $mod+4 workspace $W4 bindsym $mod+5 workspace $W5 bindsym $mod+6 workspace $W6 bindsym $mod+7 workspace $W7 bindsym $mod+8 workspace $W8 bindsym $mod+9 workspace $W9 bindsym $mod+0 workspace $W0 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $W1 bindsym $mod+Shift+2 move container to workspace $W2 bindsym $mod+Shift+3 move container to workspace $W3 bindsym $mod+Shift+4 move container to workspace $W4 bindsym $mod+Shift+5 move container to workspace $W5 bindsym $mod+Shift+6 move container to workspace $W6 bindsym $mod+Shift+7 move container to workspace $W7 bindsym $mod+Shift+8 move container to workspace $W8 bindsym $mod+Shift+9 move container to workspace $W9 bindsym $mod+Shift+0 move container to workspace $W0 # }}} # Window Roles {{{ for_window [class="9menu"] focus; border none for_window [class="Lxappearance"] focus; floating enable for_window [class="VirtualBox"] focus; floating enable for_window [class="Viewnior"] focus; floating enable for_window [class="mpv"] focus; floating enable for_window [class="Deadbeef"] focus; floating enable for_window [class="Thunar"] focus; floating enable; border none for_window [class="Nitrogen"] focus; floating enable for_window [class="Lightdm-gtk-greeter-settings"] focus; floating enable for_window [class="Lightdm-gtk-greeter-settings-pkexec"] focus; floating enable for_window [class="Users-admin"] focus; floating enable; border none for_window [class="Time-admin"] focus; floating enable; border none for_window [class="Arandr"] focus; floating enable for_window [class="Lxinput"] focus; floating enable; border none for_window [class="Lxrandr"] focus; floating enable; border none for_window [class="Software-properties-gtk"] focus; floating enable for_window [class="compton-conf"] focus; floating enable; border none for_window [class="Yad"] focus; floating enable for_window [class="Lxtask"] focus; floating enable; border none for_window [window_role="pop-up"] floating enable border none for_window [window_role="task_dialog"] floating enable border none for_window [window_role="bubble"] floating enable for_window [window_role="task_dialog"] floating enable for_window [window_role="Preferences"] floating enable for_window [window_type="dialog"] floating enable for_window [window_type="menu"] floating enable for_window [class="(?i)gsimplecal"] floating enable; move position mouse for_window [class="(?i)qemu-system"] floating enable for_window [class="(?i)VirtualBox" title="(?i)Manager"] floating enable for_window [class="(?i)blueman"] floating enable for_window [instance="sun-awt-X11-XFramePeer"] floating enable for_window [instance="__scratchpad"] floating enable for_window [instance="__nmtui"] floating enable for_window [class="(?i)pavucontrol"] floating enable, border none for_window [class="(?i)pavucontrol" instance="pavucontrol-bar"] move down 34px # }}} # Window Workspace {{{ assign [class="google-chrome"] $W3 assign [class="VirtualBox"] $W0 # }}} # I3 Log Out Menu {{{ #bindsym $mod+Shift+e exec ~/.config/9menu/I3-Out/out.sh set $Exit_mode System :  :S |  : r |  : s |  : h |  : l |  : e bindsym $mod+Shift+e mode "$Exit_mode" mode "$Exit_mode" { bindsym Shift+s exec systemctl poweroff bindsym r exec systemctl reboot bindsym s exec systemctl suspend; mode "default" bindsym h exec systemctl hibernate; mode "default" bindsym l exec lock; mode "default" bindsym e exec i3-msg "exit" bindsym Return mode "default" bindsym Escape mode "default" } # }}} # I3 Volume Controll {{{ bindsym XF86AudioRaiseVolume exec amixer -q sset Master 5%+ unmute bindsym XF86AudioLowerVolume exec amixer -q sset Master 5%- unmute bindsym XF86AudioMute exec amixer -q sset Master toggle # }}} # MPC Control {{{ bindsym $sup+n exec mpc next bindsym $sup+p exec mpc prev bindsym $sup+t exec mpc toggle bindsym $sup+u exec mpc update # }}} # {{{ Resize mode "resize" { 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" # }}} # {{{ Gaps gaps inner 5 gaps outer 2 set $mode_gaps Gaps: (O)uter, (I)nner set $mode_gaps_outer Outer Gaps: P|M|O (Local), Shift P|M|O (Global) set $mode_gaps_inner Inner Gaps: P|M|O (Local), Shift P|M|O (Global) bindsym $mod+Shift+g mode "$mode_gaps" mode "$mode_gaps" { bindsym o mode "$mode_gaps_outer" bindsym i mode "$mode_gaps_inner" bindsym Return mode "default" bindsym Escape mode "default" } mode "$mode_gaps_inner" { bindsym p gaps inner current plus 5 bindsym m gaps inner current minus 5 bindsym o gaps inner current set 5 bindsym Shift+p gaps inner all plus 5 bindsym Shift+m gaps inner all minus 5 bindsym Shift+o gaps inner all set 5 bindsym Return mode "default" bindsym Escape mode "default" } mode "$mode_gaps_outer" { bindsym p gaps outer current plus 5 bindsym m gaps outer current minus 5 bindsym o gaps outer current set 5 bindsym Shift+p gaps outer all plus 5 bindsym Shift+m gaps outer all minus 5 bindsym Shift+o gaps outer all set 5 bindsym Return mode "default" bindsym Escape mode "default" } # }}} # {{{ Bar Bottom bar { i3bar_command i3bar -t font pango:Ohsnap, FontAwesome 8 status_command i3blocks -c ~/.config/i3blocks/bottom separator_symbol "|" tray_output none colors { background #58595B00 statusline #BEBEBE separator #FFFFFF focused_workspace #BEBEBE #58595B00 #BEBEBE inactive_workspace #58595B00 #58595B00 #BEBEBE urgent_workspace #D05858 #58595B00 #D05858 } } # }}} # {{{ Bar Top bar { i3bar_command i3bar -t # mode dock font pango:Ohsnap, FontAwesome 8 status_command i3blocks -c ~/.config/i3blocks/top position top workspace_buttons no binding_mode_indicator no colors { background #58595B00 } } # }}} # {{{ Colors client.focused # #BCBDBF # #82ADD9 client.unfocused # #414143 # #82ADD9 client.urgent # #885E5E # #82ADD9 # }}} # Autostart {{{ exec --no-startup-id nm-applet & # }}} ###################################################################### # automatically start i3-config-wizard to offer the user to create a # keysym-based config which used their favorite modifier (alt or windows) # # i3-config-wizard will not launch if there already is a config file # in ~/.i3/config. # # Please remove the following exec line: ####################################################################### exec i3-config-wizar # vim:filetype=i3 fdm=marker :