aboutsummaryrefslogtreecommitdiff
path: root/env/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to 'env/.config/i3')
-rw-r--r--env/.config/i3/config55
1 files changed, 54 insertions, 1 deletions
diff --git a/env/.config/i3/config b/env/.config/i3/config
index f97affc..31b4bc3 100644
--- a/env/.config/i3/config
+++ b/env/.config/i3/config
@@ -9,6 +9,9 @@
# layout, use the i3-config-wizard
#
+
+exec ~/.local/bin/system/start-scripts/autostart.sh
+
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font b612:monospace 8
@@ -26,7 +29,7 @@ font b612:monospace 8
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
-# exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
+exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
@@ -44,6 +47,29 @@ exec_always --no-startup-id xmodmap -e "clear lock"
exec_always --no-startup-id xmodmap -e "keycode 9 = Caps_Lock NoSymbol Caps_Lock"
exec_always --no-startup-id xmodmap -e "keycode 66 = Escape NoSymbol Escape"
+
+workspace 1 output HDMI-A-1
+workspace 2 output HDMI-A-1
+workspace 3 output HDMI-A-1
+workspace 4 output HDMI-A-1
+workspace 5 output HDMI-A-1
+workspace 6 output HDMI-A-1
+workspace 7 output HDMI-A-1
+workspace 8 output HDMI-A-1
+workspace 9 output HDMI-A-1
+workspace 10 output HDMI-A-1
+
+workspace 11 output DP-1
+workspace 12 output DP-1
+workspace 13 output DP-1
+workspace 14 output DP-1
+workspace 15 output DP-1
+workspace 16 output DP-1
+workspace 17 output DP-1
+workspace 18 output DP-1
+workspace 19 output DP-1
+workspace 20 output DP-1
+
# use these keys for focus, movement, and resize directions when reaching for
# the arrows is not convenient
set $up k
@@ -68,6 +94,7 @@ bindsym $mod+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id "rofi -x11 -show drun"
+bindsym $mod+SHIFT+D exec $HOME/.local/bin/system/rofi-search-web.sh
# A more modern dmenu replacement is rofi:
# bindsym $mod+d exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a
@@ -168,6 +195,32 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
+mode "mon2" {
+ bindsym $mod+1 workspace number 11
+ bindsym $mod+2 workspace number 12
+ bindsym $mod+3 workspace number 13
+ bindsym $mod+4 workspace number 14
+ bindsym $mod+5 workspace number 15
+ bindsym $mod+6 workspace number 16
+ bindsym $mod+7 workspace number 17
+ bindsym $mod+8 workspace number 18
+ bindsym $mod+9 workspace number 19
+ bindsym $mod+0 workspace number 20
+ bindsym $mod+Shift+1 move container to workspace number 11
+ bindsym $mod+Shift+2 move container to workspace number 12
+ bindsym $mod+Shift+3 move container to workspace number 13
+ bindsym $mod+Shift+4 move container to workspace number 14
+ bindsym $mod+Shift+5 move container to workspace number 15
+ bindsym $mod+Shift+6 move container to workspace number 16
+ bindsym $mod+Shift+7 move container to workspace number 17
+ bindsym $mod+Shift+8 move container to workspace number 18
+ bindsym $mod+Shift+9 move container to workspace number 19
+ bindsym $mod+Shift+0 move container to workspace number 20
+
+ bindsym $mod+o mode "default"
+}
+bindsym $mod+o mode "mon2"
+
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)