config 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. #font pango:Fira Code 12, FontAwesome 12, FiraCode Nerd Font 12
  2. font Unifont, 12
  3. focus_on_window_activation urgent
  4. focus_follows_mouse no
  5. mouse_warping none
  6. floating_minimum_size 100 x 100
  7. floating_maximum_size 1920 x 1080
  8. # class border bground text indicator child_border
  9. client.focused #FF5555 #6272A4 #F8F8F2 #6272A4 #FF5555
  10. client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
  11. client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
  12. client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
  13. client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
  14. client.background #F8F8F2
  15. exec --no-startup-id pactl load-module module-combine-sink
  16. for_window [floating] sticky enable
  17. for_window [all] border pixel 2
  18. for_window [all] title_window_icon on
  19. for_window [class="Xfce4.*settings"] floating enable
  20. set $mod Mod4
  21. # Use Mouse+$mod to drag floating windows to their wanted position
  22. floating_modifier $mod
  23. bindsym $mod+Return exec xfce4-terminal --hide-menubar --hide-toolbar --hide-scrollbar
  24. # kill focused window
  25. bindsym $mod+Shift+c kill
  26. set $ws1 "1:CMD"
  27. set $ws2 "2:WORK"
  28. set $ws3 "3:WWW"
  29. set $ws4 "4:FILE"
  30. set $ws5 "5:GAMES"
  31. set $ws6 "6"
  32. set $ws7 "7"
  33. set $ws8 "8"
  34. set $ws9 "9:CHAT"
  35. set $ws10 "10:KEY"
  36. # switch to workspace
  37. bindsym $mod+1 workspace $ws1
  38. bindsym $mod+2 workspace $ws2
  39. bindsym $mod+3 workspace $ws3
  40. bindsym $mod+4 workspace $ws4
  41. bindsym $mod+5 workspace $ws5
  42. bindsym $mod+6 workspace $ws6
  43. bindsym $mod+7 workspace $ws7
  44. bindsym $mod+8 workspace $ws8
  45. bindsym $mod+9 workspace $ws9
  46. bindsym $mod+0 workspace $ws10
  47. # move focused container to workspace
  48. bindsym $mod+Shift+1 move container to workspace $ws1
  49. bindsym $mod+Shift+2 move container to workspace $ws2
  50. bindsym $mod+Shift+3 move container to workspace $ws3
  51. bindsym $mod+Shift+4 move container to workspace $ws4
  52. bindsym $mod+Shift+5 move container to workspace $ws5
  53. bindsym $mod+Shift+6 move container to workspace $ws6
  54. bindsym $mod+Shift+7 move container to workspace $ws7
  55. bindsym $mod+Shift+8 move container to workspace $ws8
  56. bindsym $mod+Shift+9 move container to workspace $ws9
  57. bindsym $mod+Shift+0 move container to workspace $ws10
  58. bindsym Print exec "flameshot full"
  59. bindsym Shift+Print exec "flameshot gui"
  60. bindsym Control+Print exec "flameshot screen"
  61. bindsym $mod+h focus left
  62. bindsym $mod+j focus down
  63. bindsym $mod+k focus up
  64. bindsym $mod+l focus right
  65. bindsym $mod+Mod1+h focus output left
  66. bindsym $mod+Mod1+j focus output down
  67. bindsym $mod+Mod1+k focus output up
  68. bindsym $mod+Mod1+l focus output right
  69. bindsym $mod+Shift+h move left
  70. bindsym $mod+Shift+j move down
  71. bindsym $mod+Shift+k move up
  72. bindsym $mod+Shift+l move right
  73. bindsym $mod+Mod1+Shift+h move output left; focus output left
  74. bindsym $mod+Mod1+Shift+j move output down; focus output down
  75. bindsym $mod+Mod1+Shift+k move output up; focus output up
  76. bindsym $mod+Mod1+Shift+l move output right; focus output right
  77. bindsym $mod+Mod1+Control+h move workspace to output left
  78. bindsym $mod+Mod1+Control+j move workspace to output down
  79. bindsym $mod+Mod1+Control+k move workspace to output up
  80. bindsym $mod+Mod1+Control+l move workspace to output right
  81. bindsym $mod+Ctrl+h resize shrink width 10 px or 10 ppt
  82. bindsym $mod+Ctrl+k resize grow height 10 px or 10 ppt
  83. bindsym $mod+Ctrl+j resize shrink height 10 px or 10 ppt
  84. bindsym $mod+Ctrl+l resize grow width 10 px or 10 ppt
  85. bindsym $mod+Shift+s split toggle
  86. # Change focus between tiling / floating windows
  87. bindsym $mod+space focus mode_toggle
  88. bindsym $mod+Ctrl+space sticky toggle
  89. # focus the parent container
  90. bindsym $mod+a focus parent
  91. bindsym $mod+t layout tabbed
  92. bindsym $mod+v layout toggle split
  93. bindsym $mod+f floating toggle
  94. bindsym $mod+m fullscreen
  95. bindsym $mod+r exec dmenu_run -b
  96. set $system "p - Power Off | r - Reboot | s - Suspend | h - Hibernate | \
  97. l - Lock | R - Reload I3 | C-r - Restart I3 | L - Logout"
  98. bindsym $mod+s mode $system
  99. mode $system {
  100. bindsym p exec "i3-nagbar -t warning -m 'Power off?' \
  101. -B 'Yup' 'systemctl poweroff'"; mode "default"
  102. bindsym r exec "i3-nagbar -t warning -m 'Restart?' \
  103. -B 'Yup' 'systemctl reboot'"; mode "default"
  104. bindsym s exec systemctl suspend; mode "default"
  105. bindsym h exec systemctl hibernate; mode "default"
  106. bindsym l exec i3lock -c000000; mode "default"
  107. bindsym Shift+r reload; mode "default"
  108. bindsym Ctrl+r restart; mode "default"
  109. bindsym Shift+l exit; mode "default"
  110. bindsym Return mode "default"
  111. bindsym Escape mode "default"
  112. }