# i3 config file (v4) # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 floating_modifier $mod #font pango:NotoMono 11 hide_edge_borders both new_window pixel 0 new_float normal # Hide borders hide_edge_borders none # change borders bindsym $mod+u border none bindsym $mod+y border pixel 1 bindsym $mod+n border normal # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font xft:URWGothic-Book 11 # Use Mouse+$mod to drag floating windows floating_modifier $mod bindsym $mod+Shift+q kill bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+d exec dmenu_run bindsym $mod+x exec passmenu bindsym $mod+p exec /home/epheo/bin/toggle_ext_screen bindsym $mod+b exec qutebrowser bindsym $mod+l exec xscreensaver-command -lock bindsym $mod+j focus left bindsym $mod+Left focus left bindsym $mod+k focus down bindsym $mod+Down focus down # bindsym $mod+l focus up bindsym $mod+Up focus up bindsym $mod+semicolon focus right bindsym $mod+Right focus right bindsym $mod+Shift+j move left bindsym $mod+Shift+Left move left bindsym $mod+Shift+k move down bindsym $mod+Shift+Down move down bindsym $mod+Shift+l move up bindsym $mod+Shift+Up move up bindsym $mod+Shift+semicolon move right bindsym $mod+Shift+Right move right bindsym $mod+h split h bindsym $mod+v split v bindsym $mod+f fullscreen toggle bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle bindsym $mod+a focus parent set $ws1 1 set $ws2 2 set $ws3 3 set $ws4 4 set $ws5 5 set $ws6 6 set $ws7 7 set $ws8 8 set $ws9 9 set $ws10 10 # 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 bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 bindsym $mod+0 workspace $ws10 # Move to workspace with focused container 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 bindsym $mod+Shift+6 move container to workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 # Open applications on specific workspaces # assign [class="Thunderbird"] $ws1 # assign [class="Pale moon"] $ws2 # assign [class="Pcmanfm"] $ws3 # assign [class="Skype"] $ws5 # for_window [urgent=latest] focus bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart 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'" bindsym XF86MonBrightnessUp exec light -A 5 bindsym XF86MonBrightnessDown exec light -U 5\ bindsym XF86AudioLowerVolume exec /usr/bin/pactl set-sink-volume @DEFAULT_SINK@ '-5%' bindsym XF86AudioRaiseVolume exec /usr/bin/pactl set-sink-volume @DEFAULT_SINK@ '+5%' bindsym XF86AudioMute exec /usr/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle set $displayMode "Set display mode [a]bove [r]ight [d]isconect" bindsym $mod+c mode $displayMode mode $displayMode { bindsym a exec "xrandr \ --output `xrandr |grep \ conn |awk 'NR==1 {print $1}'` \ --primary \ --output `xrandr |grep \ conn |awk 'NR==2 {print $1}'` \ --auto \ --above `xrandr |grep \ conn |awk 'NR==1 {print $1}'`";\ mode "default" bindsym r exec "xrandr \ --output `xrandr |grep \ conn |awk 'NR==1 {print $1}'` \ --primary \ --output `xrandr |grep \ conn |awk 'NR==2 {print $1}'` \ --auto \ --right-of `xrandr |grep \ conn |awk 'NR==1 {print $1}'`";\ mode "default" bindsym d exec "xrandr \ --output `xrandr |grep \ conn |awk 'NR==1 {print $1}'` \ --primary \ --output `xrandr --listactivemonitors |awk '/1:/ {print $4}'` \ --off";\ mode "default" bindsym Return mode "default" bindsym Escape mode "default" } mode "resize" { bindsym j resize shrink width 5 px or 5 ppt bindsym k resize grow height 5 px or 5 ppt bindsym l resize shrink height 5 px or 5 ppt bindsym semicolon resize grow width 5 px or 5 ppt bindsym Left resize shrink width 5 px or 5 ppt bindsym Down resize grow height 5 px or 5 ppt bindsym Up resize shrink height 5 px or 5 ppt bindsym Right resize grow width 5 px or 5 ppt bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" bar { position top colors { statusline #ffffff background #323232 } i3bar_command i3bar status_command i3status #tray_output primary } exec --no-startup-id xscreensaver exec --no-startup-id nm-applet #exec --no-startup-id hexchat --minimize=2 exec --no-startup-id nextcloud exec --no-startup-id blueman-applet exec --no-startup-id telegram-desktop -startintray exec --no-startup-id pasystray exec --no-startup-id xfce4-power-manager exec --no-startup-id flameshot exec --no-startup-id claws-mail exec --no-startup-id rambox # exec --no-startup-id i3-msg 'workspace 8; exec run_keybase' # exec --no-startup-id i3-msg 'workspace 1' # exec remmina -i