| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365 |
- ### 00 Variables
- # i3 config file (v5)
- #
- # Please see http://i3wm.org/docs/userguide.html for a complete reference!
- # Mod1 = Alt
- # Mod4 = Window
- # TODO:
- # Borders
- # Window-specific commands
- # Colors
- # Interprocess Communication
- # Tab-Through Workspaces
- # i3bar
- ##Begin Definitions
- # Monitor Names
- set_from_resource $Mon1 mon1 "HDMI-0"
- set_from_resource $Mon2 mon2 $Mon1
- # status file
- set_from_resource $status status "laptop2"
- # Main control Key
- set $mod Mod4
- set $win Mod4
- set $alt Mod1
- #Set some windows to float by default
- for_window [class="Wine"] floating enable
- for_window [window_role="Msgcompose"] floating enable
- for_window [title="Eclipse Marketplace "] floating enable
- for_window [title="Friends"] floating enable
- for_window [class=".*Preferences.*"] floating enable
- # Focus ignores mouse
- focus_follows_mouse no
- # Only show pop-ups in fullscreen if it belongs to the window
- popup_during_fullscreen smart
- # Wrap if focus shifts off-screen
- force_focus_wrapping no
- # Disable mouse following screen focus
- mouse_warping none
- #Font
- font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
- ##End Definitions
- ### 01 Workspace
- ##Begin Workspace-Monitor-Associations
- workspace 1 output $Mon1
- workspace 2 output $Mon2
- workspace 3 output $Mon1
- workspace 4 output $Mon2
- workspace 5 output $Mon1
- workspace 6 output $Mon2
- workspace 7 output $Mon1
- workspace 8 output $Mon2
- workspace 9 output $Mon1
- workspace 10 output $Mon2
- workspace 11 output $Mon1
- workspace 12 output $Mon2
- workspace 13 output $Mon1
- workspace 14 output $Mon2
- workspace 15 output $Mon1
- workspace 16 output $Mon2
- workspace 17 output $Mon1
- workspace 18 output $Mon2
- workspace 19 output $Mon1
- workspace 20 output $Mon2
- workspace 21 output $Mon1
- workspace 22 output $Mon2
- workspace 23 output $Mon1
- workspace 24 output $Mon2
- workspace 25 output $Mon1
- workspace 26 output $Mon2
- workspace 27 output $Mon1
- workspace 28 output $Mon2
- workspace 29 output $Mon1
- workspace 30 output $Mon2
- workspace Wine output $Mon1
- ##End Workspace-Monitor-Associations
- ### 03 Mount
- ## Begin Mount Mode Decleration
- mode "mount"
- {
- bindsym c exec "udevil mount /dev/sdc1"; mode "default"
- bindsym d exec "udevil mount /dev/sdd1"; mode "default"
- bindsym e exec "udevil mount /dev/sde1"; mode "default"
- bindsym f exec "udevil mount /dev/sdf1"; mode "default"
- bindsym g exec "udevil mount /dev/sdg1"; mode "default"
- bindsym p exec "go-mtpfs /mnt/phone"; mode "default"
- bindsym XF86Eject exec "eject --traytoggle"; mode "default"
- bindsym u mode "eject"
- bindsym space mode "default"
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ## End Mount Mode
- ### 03 Eject
- ## Begin Eject Mode Decleration
- mode "eject"
- {
- bindsym c exec "udevil umount -l /dev/sdc1"; mode "default"
- bindsym d exec "udevil umount -l /dev/sdd1"; mode "default"
- bindsym e exec "udevil umount -l /dev/sde1"; mode "default"
- bindsym f exec "udevil umount -l /dev/sdf1"; mode "default"
- bindsym g exec "udevil umount -l /dev/sdg1"; mode "default"
- bindsym p exec "fusermount -u /mnt/phone"; mode "default"
- bindsym XF86Eject exec "eject --traytoggle"; mode "default"
- bindsym m mode "mount"
- bindsym space mode "default"
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- ## End Eject Mode
- ### 04 Bindings
- ##Begin Quick-Key
- bindsym $mod+Return exec "xterm"
- bindsym $mod+d exec --no-startup-id "j4-dmenu-desktop --dmenu='dmenu -i -b'"
- bindsym $mod+Shift+q kill
- bindsym $mod+XF86Sleep exec "i3lock && sudo systemctl suspend"; reload
- bindsym $mod+Shift+XF86Sleep exec 'checkHibernate.sh'; reload
- # bindsym XF86Search
- bindsym XF86Go exec $BROWSER #internet button
- bindsym Shift+XF86Go exec "chromium --incognito"
- # bindcode 221 #info button
- bindsym XF86Mail exec thunderbird
- bindsym XF86Eject mode "mount"
- bindsym Shift+XF86Eject mode "eject"
- bindsym XF86AudioPrev exec "mpc prev"
- bindsym XF86AudioPlay exec "mpc toggle"
- bindsym XF86AudioNext exec "mpc next"
- bindsym Shift+XF86AudioPrev exec "mpc seek -00:01"
- bindsym Shift+XF86AudioNext exec "mpc seek +00:01"
- bindsym XF86AudioStop exec "mpc stop"
- bindsym XF86AudioLowerVolume exec "amixer sset Master 5%-"
- bindsym XF86AudioRaiseVolume exec "amixer sset Master 5%+"
- bindsym Shift+XF86AudioLowerVolume exec "amixer sset Master 2%-"
- bindsym Shift+XF86AudioRaiseVolume exec "amixer sset Master 2%+"
- bindsym $alt+Shift+XF86AudioLowerVolume exec "mpc volume -2"
- bindsym $alt+Shift+XF86AudioRaiseVolume exec "mpc volume +2"
- bindsym $alt+XF86AudioLowerVolume exec "mpc volume -5"
- bindsym $alt+XF86AudioRaiseVolume exec "mpc volume +5"
- bindsym XF86AudioMute exec "amixer sset Master toggle"
- bindsym F12 exec "scrot -s ~/screenshot.png"
- bindsym Shift+F12 exec "scrot -s ~/x.png && xclip ~/x.png && rm ~/x.png"
- ##End Quick-Key
- ##Begin Select
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- bindsym $mod+p focus parent
- bindsym $mod+k focus child
- bindsym $mod+space focus mode_toggle
- ##End Select
- ##Begin Move
- 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+space floating toggle
- ##End Move
- ##Begin 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
- bindsym $mod+Control+1 workspace 11
- bindsym $mod+Control+2 workspace 12
- bindsym $mod+Control+3 workspace 13
- bindsym $mod+Control+4 workspace 14
- bindsym $mod+Control+5 workspace 15
- bindsym $mod+Control+6 workspace 16
- bindsym $mod+Control+7 workspace 17
- bindsym $mod+Control+8 workspace 18
- bindsym $mod+Control+9 workspace 19
- bindsym $mod+Control+0 workspace 20
- bindsym $mod+Mod1+1 workspace 21
- bindsym $mod+Mod1+2 workspace 22
- bindsym $mod+Mod1+3 workspace 23
- bindsym $mod+Mod1+4 workspace 24
- bindsym $mod+Mod1+5 workspace 25
- bindsym $mod+Mod1+6 workspace 26
- bindsym $mod+Mod1+7 workspace 27
- bindsym $mod+Mod1+8 workspace 28
- bindsym $mod+Mod1+9 workspace 29
- bindsym $mod+Mod1+0 workspace 30
- bindsym $mod+Mod2+KP_1 workspace 1
- bindsym $mod+Mod2+KP_2 workspace 2
- bindsym $mod+Mod2+KP_3 workspace 3
- bindsym $mod+Mod2+KP_4 workspace 4
- bindsym $mod+Mod2+KP_5 workspace 5
- bindsym $mod+Mod2+KP_6 workspace 6
- bindsym $mod+Mod2+KP_7 workspace 7
- bindsym $mod+Mod2+KP_8 workspace 8
- bindsym $mod+Mod2+KP_9 workspace 9
- bindsym $mod+Mod2+KP_0 workspace 10
- bindsym $mod+Control+Mod2+KP_1 workspace 11
- bindsym $mod+Control+Mod2+KP_2 workspace 12
- bindsym $mod+Control+Mod2+KP_3 workspace 13
- bindsym $mod+Control+Mod2+KP_4 workspace 14
- bindsym $mod+Control+Mod2+KP_5 workspace 15
- bindsym $mod+Control+Mod2+KP_6 workspace 16
- bindsym $mod+Control+Mod2+KP_7 workspace 17
- bindsym $mod+Control+Mod2+KP_8 workspace 18
- bindsym $mod+Control+Mod2+KP_9 workspace 19
- bindsym $mod+Control+Mod2+KP_0 workspace 20
- bindsym $mod+Mod1+Mod2+KP_1 workspace 21
- bindsym $mod+Mod1+Mod2+KP_2 workspace 22
- bindsym $mod+Mod1+Mod2+KP_3 workspace 23
- bindsym $mod+Mod1+Mod2+KP_4 workspace 24
- bindsym $mod+Mod1+Mod2+KP_5 workspace 25
- bindsym $mod+Mod1+Mod2+KP_6 workspace 26
- bindsym $mod+Mod1+Mod2+KP_7 workspace 27
- bindsym $mod+Mod1+Mod2+KP_8 workspace 28
- bindsym $mod+Mod1+Mod2+KP_9 workspace 29
- bindsym $mod+Mod1+Mod2+KP_0 workspace 30
- bindsym $mod+w workspace Wine
- ##End Switch to Workspace
- ##Being Workspace Shift
- 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+Control+1 move container to workspace 11
- bindsym $mod+Shift+Control+2 move container to workspace 12
- bindsym $mod+Shift+Control+3 move container to workspace 13
- bindsym $mod+Shift+Control+4 move container to workspace 14
- bindsym $mod+Shift+Control+5 move container to workspace 15
- bindsym $mod+Shift+Control+6 move container to workspace 16
- bindsym $mod+Shift+Control+7 move container to workspace 17
- bindsym $mod+Shift+Control+8 move container to workspace 18
- bindsym $mod+Shift+Control+9 move container to workspace 19
- bindsym $mod+Shift+Control+0 move container to workspace 20
- bindsym $mod+Shift+Mod1+1 move container to workspace 21
- bindsym $mod+Shift+Mod1+2 move container to workspace 22
- bindsym $mod+Shift+Mod1+3 move container to workspace 23
- bindsym $mod+Shift+Mod1+4 move container to workspace 24
- bindsym $mod+Shift+Mod1+5 move container to workspace 25
- bindsym $mod+Shift+Mod1+6 move container to workspace 26
- bindsym $mod+Shift+Mod1+7 move container to workspace 27
- bindsym $mod+Shift+Mod1+8 move container to workspace 28
- bindsym $mod+Shift+Mod1+9 move container to workspace 29
- bindsym $mod+Shift+Mod1+0 move container to workspace 30
- bindsym $mod+Shift+Mod2+KP_End move container to workspace 1
- bindsym $mod+Shift+Mod2+KP_Down move container to workspace 2
- bindsym $mod+Shift+Mod2+KP_Next move container to workspace 3
- bindsym $mod+Shift+Mod2+KP_Left move container to workspace 4
- bindsym $mod+Shift+Mod2+KP_Begin move container to workspace 5
- bindsym $mod+Shift+Mod2+KP_Right move container to workspace 6
- bindsym $mod+Shift+Mod2+KP_Home move container to workspace 7
- bindsym $mod+Shift+Mod2+KP_Up move container to workspace 8
- bindsym $mod+Shift+Mod2+KP_Prior move container to workspace 9
- bindsym $mod+Shift+Mod2+KP_Insert move container to workspace 10
- bindsym $mod+Shift+Control+Mod2+KP_End move container to workspace 11
- bindsym $mod+Shift+Control+Mod2+KP_Down move container to workspace 12
- bindsym $mod+Shift+Control+Mod2+KP_Next move container to workspace 13
- bindsym $mod+Shift+Control+Mod2+KP_Left move container to workspace 14
- bindsym $mod+Shift+Control+Mod2+KP_Begin move container to workspace 15
- bindsym $mod+Shift+Control+Mod2+KP_Right move container to workspace 16
- bindsym $mod+Shift+Control+Mod2+KP_Home move container to workspace 17
- bindsym $mod+Shift+Control+Mod2+KP_Up move container to workspace 18
- bindsym $mod+Shift+Control+Mod2+KP_Prior move container to workspace 19
- bindsym $mod+Shift+Control+Mod2+KP_Insert move container to workspace 20
- bindsym $mod+Shift+Mod1+Mod2+KP_End move container to workspace 21
- bindsym $mod+Shift+Mod1+Mod2+KP_Down move container to workspace 22
- bindsym $mod+Shift+Mod1+Mod2+KP_Next move container to workspace 23
- bindsym $mod+Shift+Mod1+Mod2+KP_Left move container to workspace 24
- bindsym $mod+Shift+Mod1+Mod2+KP_Begin move container to workspace 25
- bindsym $mod+Shift+Mod1+Mod2+KP_Right move container to workspace 26
- bindsym $mod+Shift+Mod1+Mod2+KP_Home move container to workspace 27
- bindsym $mod+Shift+Mod1+Mod2+KP_Up move container to workspace 28
- bindsym $mod+Shift+Mod1+Mod2+KP_Prior move container to workspace 29
- bindsym $mod+Shift+Mod1+Mod2+KP_Insert move container to workspace 30
- ##End Workspace Shift
- ##Begin Resize-Keys
- bindsym $mod+Control+Left resize grow left 2px or 2 ppt
- bindsym $mod+Control+Up resize grow up 2px or 2 ppt
- bindsym $mod+Control+Right resize grow right 2px or 2 ppt
- bindsym $mod+Control+Down resize grow down 2px or 2 ppt
- bindsym $mod+Mod1+Left resize shrink right 2px or 2 ppt
- bindsym $mod+Mod1+Up resize shrink down 2px or 2 ppt
- bindsym $mod+Mod1+Right resize shrink left 2px or 2 ppt
- bindsym $mod+Mod1+Down resize shrink up 2px or 2 ppt
- ##End Resize-Keys
- ##Begin Screen Management
- bindsym $mod+h split h
- bindsym $mod+v split v
- bindsym $mod+f fullscreen
- ##End Screen Management
- ##Begin Layouts
- bindsym $mod+s layout stacking
- bindsym $mod+t layout tabbed
- bindsym $mod+u layout default
- ##End Layouts
- ##Begin i3 Controls
- bindsym $mod+Shift+c reload
- bindsym $mod+Shift+r restart
- bindsym $mod+Shift+e exit
- ##End i3 Controls
- ## Begin i3status
- bar {
- output $Mon1
- position top
- mode dock
- # hidden_state show
- # modifier Mod1
- tray_output primary
- # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
- # font pango:DejaVu Sans Mono 10
- workspace_buttons yes
- colors {
- separator #BBFF00
- statusline #FFFFFF
- background #000033
- # Border Background Text
- focused_workspace #4c7899 #285577 #ffffff
- active_workspace #333333 #5f676a #ffffff
- inactive_workspace #333333 #222222 #888888
- urgent_workspace #2f343a #900000 #ffffff
- }
- status_command i3status -c "~/.i3/i3status.conf"
- }
- ## End i3status
|