Advertisement
Guest User

Untitled

a guest
Jul 12th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.21 KB | None | 0 0
  1. #### config.d/10Defaults ####
  2. #### START DEFAULTS SECTION ####
  3. #
  4. # Default Window Orientation
  5. #default_orientation horizontal|vertical|auto
  6. default_orientation auto
  7. # Default Window Orientation
  8. #workspace_layout default|stacking|tabbed
  9. workspace_layout default
  10. # Mouse Warping
  11. # Where to place the mouse when changing workspaces
  12. # mouse_warping output|none
  13. # The default is output
  14. mouse_warping none
  15.  
  16. # Border Style for New Windows and new floating windows
  17. # new_window normal|none|pixel
  18. # new_window normal|pixel <px>
  19. # new_float normal|none|pixel
  20. # new_float normal|pixel <px>
  21. new_window pixel 3
  22. new_float pixel 2
  23. # Edge Borders
  24. # hide_edge_borders none|vertical|horizontal|both|smart
  25. hide_edge_borders smart
  26.  
  27. #Popups during fullscreen mode
  28. #popup_during_fullscreen smart|ignore|leave_fullscreen
  29. popup_during_fullscreen smart
  30.  
  31. # Set the Windows Key as the modifier
  32. set $mod Mod4
  33.  
  34. hide_edge_borders both
  35.  
  36. # Use Mouse+$mod to drag floating windows to their wanted position
  37. floating_modifier $mod
  38.  
  39. #### END DEFAULTS SECTION ####
  40. #### config.d/20WorkspaceNames ####
  41. #### START WORKSPACENAMES SECTION ####
  42.  
  43. # Default Workspaces
  44. set $ws1 "1"
  45. set $ws2 "2"
  46. set $ws3 "3"
  47. set $ws4 "4"
  48. set $ws5 "5"
  49. set $ws6 "6"
  50. set $ws7 "7"
  51. set $ws8 "8"
  52. set $ws9 "9"
  53. set $ws0 "0:_Web"
  54.  
  55. # Dev Project 1 Workspaces
  56. set $osws1 "OS1_Code"
  57. set $osws2 "OS2_Data"
  58. set $osws3 "OS3_Build"
  59. set $osws4 "OS4_Run"
  60. set $osws5 "OS5_Run_Win"
  61. set $osws6 "OS6_Console"
  62. set $osws7 "OS:7"
  63. set $osws8 "OS:8"
  64. set $osws9 "OS:9"
  65. set $osws0 "OS0_Web"
  66.  
  67. # Dev Project 1_1 Workspaces
  68. set $sews1 "SE1_Code"
  69. set $sews2 "SE2_Data"
  70. set $sews3 "SE3_Build"
  71. set $sews4 "SE4_Run"
  72. set $sews5 "SE5_Run_Win"
  73. set $sews6 "SE6_Console"
  74. set $sews7 "SE:7"
  75. set $sews8 "SE:8"
  76. set $sews9 "SE:9"
  77. set $sews0 "SE0_Web"
  78.  
  79. # Dev Project 2 Workspaces
  80. set $mlws1 "ML1_Console"
  81. set $mlws2 "ML2_Code"
  82. set $mlws3 "ML3_Build"
  83. set $mlws4 "ML4_Eclipse"
  84. set $mlws5 "ML5_Run"
  85. set $mlws6 "ML6"
  86. set $mlws7 "ML7"
  87. set $mlws8 "ML8"
  88. set $mlws9 "ML9"
  89. set $mlws0 "ML0_Web"
  90.  
  91. # Multimeidia Workspaces
  92. set $mmws1 "MM1_mythtv"
  93. set $mmws2 "MM2_gmpc"
  94. set $mmws3 "MM3_Build"
  95. set $mmws4 "MM4_Run"
  96. set $mmws5 "MM5"
  97. set $mmws6 "MM6"
  98. set $mmws7 "MM7"
  99. set $mmws8 "MM8"
  100. set $mmws9 "MM9"
  101. set $mmws0 "MM0_Web"
  102.  
  103. # Game Workspaces
  104. set $gmws1 "GM1_openttd"
  105. set $gmws2 "GM2_supertux"
  106. set $gmws3 "GM3_generally"
  107. set $gmws4 "GM4_torcs"
  108. set $gmws5 "GM5_chromium"
  109. set $gmws6 "GM6"
  110. set $gmws7 "GM7"
  111. set $gmws8 "GM8_Atari800"
  112. set $gmws9 "GM9"
  113. set $gmws0 "GM0_Web"
  114.  
  115. # System Workspaces
  116. set $syws1 "SY1_Console"
  117. set $syws2 "SY2_System Console"
  118. set $syws3 "SY3_Logs"
  119. set $syws4 "SY4_Perf"
  120. set $syws5 "SY5"
  121. set $syws6 "SY6"
  122. set $syws7 "SY7"
  123. set $syws8 "SY8"
  124. set $syws9 "SY9"
  125. set $syws0 "SY0_Web"
  126.  
  127. #### END WORKSPACENAMES SECTION ####
  128. #### config.d/21ModeNames ####
  129.  
  130. #### START MODENAMES SECTION ####
  131.  
  132. # Mode Acronyms
  133. set $mode1 "OS"
  134. set $mode2 "ML"
  135. set $mode3 "GM"
  136. set $mode4 "MM"
  137. set $mode5 "SY"
  138. set $mode6 "SE"
  139. set $modeD "default"
  140.  
  141. #### END MODENAMES SECTION ####
  142. #### config.d/30Keys_MS4000 ####
  143. #### START KEYS SECTION ####
  144.  
  145. set $modeKey0 XF86Favorites
  146. set $modeKey1 XF86Launch5
  147. set $modeKey2 XF86Launch6
  148. set $modeKey3 XF86Launch7
  149. set $modeKey4 XF86Launch8
  150. set $modeKey5 XF86Launch9
  151. set $modeKey6 shift+XF86Launch5
  152.  
  153. set $kbdQwertyKey XF86HomePage
  154. set $kbdColemakPKey XF86Search
  155. set $kbdColemakKey XF86Mail
  156.  
  157. #### END KEYS SECTION ####
  158. #### config.d/31ColorTheme ####
  159. #### START COLORTHEME SECTION ####
  160.  
  161. # Font for window titles. Will also be used by the bar unless a different font
  162. # is used in the bar {} block below.
  163. #font pango:monospace 8
  164. #font pango:DejaVu Sans Mono 12
  165. font pango:System San Francisco Display 13
  166.  
  167. set $menu-theme /usr/share/rofi/themes/arthur.rasi
  168.  
  169. set $bg-color #2f343f
  170. set $inactive-bg-color #2f343f
  171. set $text-color #f3f4f5
  172. set $inactive-text-color #676E7D
  173. set $urgent-bg-color #E53935
  174. set $indicator #FF0000
  175. set $child-border #00FF00
  176.  
  177. # window colors
  178. # <border> <background> <text> <indicator> <child_border>
  179. # border background text indicator
  180. client.focused $bg-color $bg-color $text-color $indicator $child-border
  181. client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator $child-border
  182. client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator $child-border
  183. client.urgent $urgent-bg-color $urgent-bg-color $text-color $indicator $child-border
  184. client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
  185. client.background #ffffff
  186. # Bar colors
  187. # Top
  188. set $bar-top-font pango:System San Francisco Display 13
  189. set $bar-top-height 18
  190. set $bar-top-bg #222255
  191. set $bar-top-separator #ffff00
  192. set $bar-top-statusline #dddddd
  193. # border background text
  194. set $bar-top-focused-workspace #0088CC #0088CC #ffffff
  195. set $bar-top-active-workspace #333333 #333333 #ffffff
  196. set $bar-top-inactive-workspace #333333 #333333 #888888
  197. set $bar-top-urgent-workspace #904444 #900000 #ffffff
  198.  
  199. #
  200. # Bottom
  201. # Top
  202. set $bar-bottom-font pango:System San Francisco Display 13
  203. set $bar-bottom-height 18
  204.  
  205. set $bar-bottom-bg #222255
  206. set $bar-bottom-separator #ffff00
  207. set $bar-bottom-statusline #dddddd
  208. # border background text
  209. set $bar-bottom-focused-workspace #5555FF #1111FF #ffffff
  210. set $bar-bottom-active-workspace #222277 #222277 #ffffff
  211. set $bar-bottom-inactive-workspace #222244 #222288 #aaaaaa
  212. set $bar-bottom-urgent-workspace #904444 #900000 #ffffff
  213.  
  214. #### END COLORTHEME SECTION ####
  215. #### config.d/40Variables ####
  216. #### START VARIABLES SECTION ####
  217.  
  218. set $left Left
  219. set $right Right
  220. set $up Up
  221. set $down Down
  222.  
  223. set $launch ~/.config/i3/launch
  224. set $generate_monitor_list ~/.config/i3/launch/generate_monitor_list.sh
  225. set $generate_monitor_mapping exec --no-startup-id ~/.config/i3/launch/generate_monitor_mapping.sh
  226. set $generate_backgrounds ~/.config/i3/launch/generate_backgrounds.sh
  227. set $load_backgrounds exec --no-startup-id ~/.config/i3/launch/load_backgrounds.sh
  228.  
  229. set $savemode exec --no-startup-id ~/.config/i3/launch/savemode.sh
  230. set $restoremode exec --no-startup-id ~/.config/i3/launch/restoremode.sh
  231. set $restoremodeStart ~/.config/i3/launch/restoremode.sh
  232. set $movecurrentws exec --no-startup-id ~/.config/i3/launch/movecurrentws.sh
  233. set $web exec --no-startup-id ~/.config/i3/launch/firefox.sh
  234.  
  235. set $bgDefault ~/Downloads/images/landscapes
  236. set $bgMode1 ~/Downloads/images/osInspiration
  237. set $bgMode2 ~/Downloads/images/space
  238.  
  239. set $bgMode3 ~/Downloads/images/geek
  240.  
  241. set $bgMode4 /mnt/data/mm/fanart
  242.  
  243. set $bgMode5 ~/Downloads/images/fantasy
  244.  
  245. set $bgMode6 ~/Downloads/images/projectImages
  246.  
  247. #### END VARIABLES SECTION ####
  248. #### config.d/41Terminal_Laptop ####
  249. #### START TERMINAL SECTION ####
  250.  
  251. #set $terminal "terminology"
  252. set $terminal "alacritty"
  253. #set $terminal "kitty"
  254.  
  255. #### END TERMINAL SECTION ####
  256. #### config.d/50Screens_Single ####
  257. #### START SCREENS SECTION ####
  258.  
  259. set $leftScreen "DP-0"
  260. set $primaryScreen "DP-0"
  261. set $rightScreen "DP-0"
  262.  
  263. #### END SCREENS SECTION ####
  264. #### config.d/60ModeBindings ####
  265. #### START MODEBINDINGS SECTION ####
  266.  
  267. # start a terminal
  268. bindsym $mod+Return exec --no-startup-id $terminal
  269.  
  270. # kill focused window
  271. bindsym $mod+Escape kill
  272.  
  273. # There also is the (new) i3-dmenu-desktop which only displays applications
  274. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  275. # installed.
  276. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  277.  
  278. # change focus
  279. bindsym $mod+j focus left
  280. bindsym $mod+k focus down
  281. bindsym $mod+l focus up
  282. bindsym $mod+semicolon focus right
  283.  
  284. # alternatively, you can use the cursor keys:
  285. bindsym $mod+Left focus left
  286. bindsym $mod+Down focus down
  287. bindsym $mod+Up focus up
  288. bindsym $mod+Right focus right
  289.  
  290. # move focused window
  291. bindsym $mod+Shift+j move left
  292. bindsym $mod+Shift+k move down
  293. bindsym $mod+Shift+l move up
  294. bindsym $mod+Shift+semicolon move right
  295.  
  296. # alternatively, you can use the cursor keys:
  297. bindsym $mod+Shift+Left move left
  298. bindsym $mod+Shift+Down move down
  299. bindsym $mod+Shift+Up move up
  300. bindsym $mod+Shift+Right move right
  301.  
  302. # split in horizontal orientation
  303. bindsym $mod+h split h
  304.  
  305. # split in vertical orientation
  306. bindsym $mod+v split v
  307.  
  308. # enter fullscreen mode for the focused container
  309. bindsym $mod+f fullscreen toggle
  310.  
  311. # change container layout (stacked, tabbed, toggle split)
  312. bindsym $mod+s layout stacking
  313. bindsym $mod+w layout tabbed
  314. bindsym $mod+e layout toggle split
  315.  
  316. # toggle tiling / floating
  317. bindsym $mod+Shift+space floating toggle
  318.  
  319. # change focus between tiling / floating windows
  320. bindsym $mod+space focus mode_toggle
  321.  
  322. # focus the parent container
  323. bindsym $mod+a focus parent
  324.  
  325. # focus the child container
  326. #bindsym $mod+d focus child
  327.  
  328. # move the currently focused window to the scratchpad
  329. bindsym $mod+Shift+minus move scratchpad
  330.  
  331. # Show the next scratchpad window or hide the focused scratchpad window.
  332. # If there are multiple scratchpad windows, this command cycles through them.
  333. bindsym $mod+minus scratchpad show
  334.  
  335.  
  336. # reload the configuration file
  337. bindsym $mod+Shift+c reload
  338. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  339. bindsym $mod+Shift+r restart
  340. # exit i3 (logs you out of your X session)
  341. #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'"
  342.  
  343. bindsym $mod+Shift+e exec i3-msg exit
  344.  
  345. #Screen Lock
  346. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  347.  
  348. # Pulse Audio controls
  349. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  350. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  351. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  352.  
  353. # Sreen brightness controls
  354. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  355. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  356.  
  357. # Touchpad controls
  358. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  359.  
  360. # Media player controls
  361. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  362. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  363. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  364. bindsym XF86AudioPause exec --no-startup-id mpc pause
  365. bindsym XF86AudioNext exec --no-startup-id mpc next
  366. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  367. bindsym $mod+p exec pavucontrol
  368.  
  369. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  370. bindsym XF86Calculator exec $launch/calc.sh
  371. ## Screen Shots
  372. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  373. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  374.  
  375. #
  376. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  377. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  378. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  379.  
  380.  
  381.  
  382. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  383.  
  384.  
  385. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  386.  
  387. # Move Workspace to Left or Right Window
  388. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  389. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  390.  
  391. bindsym $mod+r mode "resize"
  392.  
  393. #### END MODEBINDINGS SECTION ####
  394. #### config.d/80ModeD ####
  395.  
  396. # switch to workspace
  397. bindsym $mod+0 $load_backgrounds $modeD 0; workspace $ws0;$web default; $savemode $modeD
  398. bindsym $mod+1 $load_backgrounds $modeD 1; workspace $ws1; $savemode $modeD
  399. bindsym $mod+2 $load_backgrounds $modeD 2; workspace $ws2; $savemode $modeD
  400. bindsym $mod+3 $load_backgrounds $modeD 3; workspace $ws3; $savemode $modeD
  401. bindsym $mod+4 $load_backgrounds $modeD 4; workspace $ws4; $savemode $modeD
  402. bindsym $mod+5 $load_backgrounds $modeD 5; workspace $ws5; $savemode $modeD
  403. bindsym $mod+6 $load_backgrounds $modeD 6; workspace $ws6; $savemode $modeD
  404. bindsym $mod+7 $load_backgrounds $modeD 7; workspace $ws7; $savemode $modeD
  405. bindsym $mod+8 $load_backgrounds $modeD 8; workspace $ws8; $savemode $modeD
  406. bindsym $mod+9 $load_backgrounds $modeD 9; workspace $ws9; $savemode $modeD
  407.  
  408. # move focused container to workspace
  409. bindsym $mod+Shift+1 move container to workspace $ws1
  410. bindsym $mod+Shift+2 move container to workspace $ws2
  411. bindsym $mod+Shift+3 move container to workspace $ws3
  412. bindsym $mod+Shift+4 move container to workspace $ws4
  413. bindsym $mod+Shift+5 move container to workspace $ws5
  414. bindsym $mod+Shift+6 move container to workspace $ws6
  415. bindsym $mod+Shift+7 move container to workspace $ws7
  416. bindsym $mod+Shift+8 move container to workspace $ws8
  417. bindsym $mod+Shift+9 move container to workspace $ws9
  418. bindsym $mod+Shift+0 move container to workspace $ws0
  419.  
  420. bindsym $modeKey0 $savemode $modeD; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal
  421. bindsym $modeKey1 $savemode $modeD; $restoremode $mode1 $osws1 $osws3 $osws6; mode $mode1; exec task context os
  422. bindsym $modeKey2 $savemode $modeD; $restoremode $mode2 $mlws2 $mlws1 $mlws3; mode $mode2; exec task context ml
  423. bindsym $modeKey3 $savemode $modeD; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  424. bindsym $modeKey4 $savemode $modeD; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  425. bindsym $modeKey5 $savemode $modeD; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  426. bindsym $modeKey6 $savemode $modeD; $restoremode $mode6 $sews1 $sews3 $sews6; mode $mode6; exec task context Personal
  427.  
  428. # floating Windows
  429. for_window [class="Pavucontrol"] floating enable
  430. for_window [title="bc"] floating enable
  431.  
  432. # Default background color when no images or undersized
  433. exec --no-startup-id xsetroot -solid "#000000"
  434. #### config.d/81ModeOS ####
  435. mode "OS" {
  436. bindsym $mod+1 $load_backgrounds $mode1 1; workspace $osws1; $savemode $mode1; exec --no-startup-id $launch/vim_session.sh ~/os/src/os_src_session.vim
  437. bindsym $mod+2 $load_backgrounds $mode1 2; workspace $osws2; $savemode $mode1; exec --no-startup-id $launch/vim_session.sh ~/os/data/os_data_session.vim
  438. bindsym $mod+3 $load_backgrounds $mode1 3; workspace $osws3; $savemode $mode1; exec --no-startup-id $launch/os/build.sh
  439. bindsym $mod+shift+3 $load_backgrounds $mode1 3; workspace $osws3; $savemode $mode1; exec --no-startup-id $launch/os/rebuild.sh
  440. bindsym $mod+Control+3 $load_backgrounds $mode1 3; workspace $osws3; $savemode $mode1; exec --no-startup-id $launch/os/debug.sh
  441. bindsym $mod+4 $load_backgrounds $mode1 4; workspace $osws4; $savemode $mode1; exec --no-startup-id $launch/os/runFullScreen.sh
  442. bindsym $mod+5 $load_backgrounds $mode1 5; workspace $osws4; $savemode $mode1; exec --no-startup-id $launch/os/runWindowed.sh
  443. bindsym $mod+6 $load_backgrounds $mode1 6; workspace $osws6; $savemode $mode1; exec --no-startup-id $launch/console.sh OSconsole ~/os
  444. bindsym $mod+7 $load_backgrounds $mode1 7; workspace $osws7; $savemode $mode1; exec --no-startup-id $launch/os/memcheck.sh
  445. bindsym $mod+8 $load_backgrounds $mode1 8; workspace $osws8; $savemode $mode1; exec --no-startup-id $launch/os/trace.sh
  446. bindsym $mod+9 $load_backgrounds $mode1 9; workspace $osws9; $savemode $mode1;
  447. bindsym $mod+0 $load_backgrounds $mode1 0; workspace $osws0; $savemode $mode1; $web os
  448.  
  449. bindsym $modeKey0 $savemode $mode1; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal
  450. bindsym $modeKey1 $savemode $mode1; $restoremode $mode1 $osws2 $osws1 $osws3; mode $mode1; exec task context os
  451. bindsym $modeKey2 $savemode $mode1; $restoremode $mode2 $mlws2 $mlws1 $mlws3; mode $mode2; exec task context ml
  452. bindsym $modeKey3 $savemode $mode1; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  453. bindsym $modeKey4 $savemode $mode1; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  454. bindsym $modeKey5 $savemode $mode1; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  455. bindsym $modeKey6 $savemode $mode1; $restoremode $mode6 $sews2 $sews1 $sews3; mode $mode6; exec task context Personal
  456.  
  457. # move focused container to workspace
  458. bindsym $mod+Shift+1 move container to workspace $osws1
  459. bindsym $mod+Shift+2 move container to workspace $osws2
  460. #bindsym $mod+Shift+3 move container to workspace $osws3
  461. bindsym $mod+Shift+4 move container to workspace $osws4
  462. bindsym $mod+Shift+5 move container to workspace $osws5
  463. bindsym $mod+Shift+6 move container to workspace $osws6
  464. bindsym $mod+Shift+7 move container to workspace $osws7
  465. bindsym $mod+Shift+8 move container to workspace $osws8
  466. bindsym $mod+Shift+9 move container to workspace $osws9
  467. bindsym $mod+Shift+0 move container to workspace $osws0
  468. #### config.d/60ModeBindings ####
  469. #### START MODEBINDINGS SECTION ####
  470.  
  471. # start a terminal
  472. bindsym $mod+Return exec --no-startup-id $terminal
  473.  
  474. # kill focused window
  475. bindsym $mod+Escape kill
  476.  
  477. # There also is the (new) i3-dmenu-desktop which only displays applications
  478. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  479. # installed.
  480. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  481.  
  482. # change focus
  483. bindsym $mod+j focus left
  484. bindsym $mod+k focus down
  485. bindsym $mod+l focus up
  486. bindsym $mod+semicolon focus right
  487.  
  488. # alternatively, you can use the cursor keys:
  489. bindsym $mod+Left focus left
  490. bindsym $mod+Down focus down
  491. bindsym $mod+Up focus up
  492. bindsym $mod+Right focus right
  493.  
  494. # move focused window
  495. bindsym $mod+Shift+j move left
  496. bindsym $mod+Shift+k move down
  497. bindsym $mod+Shift+l move up
  498. bindsym $mod+Shift+semicolon move right
  499.  
  500. # alternatively, you can use the cursor keys:
  501. bindsym $mod+Shift+Left move left
  502. bindsym $mod+Shift+Down move down
  503. bindsym $mod+Shift+Up move up
  504. bindsym $mod+Shift+Right move right
  505.  
  506. # split in horizontal orientation
  507. bindsym $mod+h split h
  508.  
  509. # split in vertical orientation
  510. bindsym $mod+v split v
  511.  
  512. # enter fullscreen mode for the focused container
  513. bindsym $mod+f fullscreen toggle
  514.  
  515. # change container layout (stacked, tabbed, toggle split)
  516. bindsym $mod+s layout stacking
  517. bindsym $mod+w layout tabbed
  518. bindsym $mod+e layout toggle split
  519.  
  520. # toggle tiling / floating
  521. bindsym $mod+Shift+space floating toggle
  522.  
  523. # change focus between tiling / floating windows
  524. bindsym $mod+space focus mode_toggle
  525.  
  526. # focus the parent container
  527. bindsym $mod+a focus parent
  528.  
  529. # focus the child container
  530. #bindsym $mod+d focus child
  531.  
  532. # move the currently focused window to the scratchpad
  533. bindsym $mod+Shift+minus move scratchpad
  534.  
  535. # Show the next scratchpad window or hide the focused scratchpad window.
  536. # If there are multiple scratchpad windows, this command cycles through them.
  537. bindsym $mod+minus scratchpad show
  538.  
  539.  
  540. # reload the configuration file
  541. bindsym $mod+Shift+c reload
  542. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  543. bindsym $mod+Shift+r restart
  544. # exit i3 (logs you out of your X session)
  545. #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'"
  546.  
  547. bindsym $mod+Shift+e exec i3-msg exit
  548.  
  549. #Screen Lock
  550. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  551.  
  552. # Pulse Audio controls
  553. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  554. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  555. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  556.  
  557. # Sreen brightness controls
  558. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  559. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  560.  
  561. # Touchpad controls
  562. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  563.  
  564. # Media player controls
  565. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  566. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  567. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  568. bindsym XF86AudioPause exec --no-startup-id mpc pause
  569. bindsym XF86AudioNext exec --no-startup-id mpc next
  570. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  571. bindsym $mod+p exec pavucontrol
  572.  
  573. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  574. bindsym XF86Calculator exec $launch/calc.sh
  575. ## Screen Shots
  576. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  577. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  578.  
  579. #
  580. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  581. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  582. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  583.  
  584.  
  585.  
  586. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  587.  
  588.  
  589. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  590.  
  591. # Move Workspace to Left or Right Window
  592. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  593. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  594.  
  595. bindsym $mod+r mode "resize"
  596.  
  597. #### END MODEBINDINGS SECTION ####
  598. }
  599. #### config.d/82ModeML ####
  600.  
  601. mode "ML" {
  602. bindsym $mod+0 $load_backgrounds $mode2 0; workspace $mlws0;$web ml
  603. bindsym $mod+1 $load_backgrounds $mode2 1; workspace $mlws1; $savemode $mode2; exec --no-startup-id $launch/console.sh MLconsole ~/ml
  604. bindsym $mod+2 $load_backgrounds $mode2 2; workspace $mlws2; $savemode $mode2; exec --no-startup-id $launch/vim_session.sh ~/ml/core/ml_session.vim
  605. bindsym $mod+3 $load_backgrounds $mode2 3; workspace $mlws3; $savemode $mode2; exec --no-startup-id $launch/ml/build.sh
  606. bindsym $mod+4 $load_backgrounds $mode2 4; workspace $mlws4; $savemode $mode2; exec --no-startup-id $launch/ml/eclipse.sh
  607. bindsym $mod+5 $load_backgrounds $mode2 5; workspace $mlws5; $savemode $mode2;
  608. bindsym $mod+6 $load_backgrounds $mode2 6; workspace $mlws6; $savemode $mode2; exec --no-startup-id $launch/launchfile.sh dia ~/ml/doc/taxonomy.dia
  609. bindsym $mod+7 $load_backgrounds $mode2 7; workspace $mlws7; $savemode $mode2; exec --no-startup-id $launch/launchfile.sh dia ~/ml/doc/classes.dia
  610. bindsym $mod+8 $load_backgrounds $mode2 8; workspace $mlws8; $savemode $mode2; exec --no-startup-id $launch/launchfile.sh dia ~/ml/doc/search.dia
  611. bindsym $mod+9 $load_backgrounds $mode2 9; workspace $mlws9; $savemode $mode2; exec --no-startup-id $launch/launchfile.sh nvim ~/ml/doc/thoughts.txt
  612.  
  613. bindsym $modeKey0 $savemode $mode2; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal
  614. bindsym $modeKey1 $savemode $mode2; $restoremode $mode1 $osws1 $osws3 $osws6 ;mode $mode1; exec task context os
  615. bindsym $modeKey2 $savemode $mode2; $restoremode $mode2 $mlws2 $mlws1 $mlws3; mode $mode2; exec task context ml
  616. bindsym $modeKey3 $savemode $mode2; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  617. bindsym $modeKey4 $savemode $mode2; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  618. bindsym $modeKey5 $savemode $mode2; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  619. bindsym $modeKey6 $savemode $mode2; $restoremode $mode6 $sews1 $sews3 $sews6 ;mode $mode6; exec task context Personal
  620.  
  621. # move focused container to workspace
  622. bindsym $mod+Shift+1 move container to workspace $mlws1
  623. bindsym $mod+Shift+2 move container to workspace $mlws2
  624. bindsym $mod+Shift+3 move container to workspace $mlws3
  625. bindsym $mod+Shift+4 move container to workspace $mlws4
  626. bindsym $mod+Shift+5 move container to workspace $mlws5
  627. bindsym $mod+Shift+6 move container to workspace $mlws6
  628. bindsym $mod+Shift+7 move container to workspace $mlws7
  629. bindsym $mod+Shift+8 move container to workspace $mlws8
  630. bindsym $mod+Shift+9 move container to workspace $mlws9
  631. bindsym $mod+Shift+0 move container to workspace $mlws0
  632. #### config.d/60ModeBindings ####
  633. #### START MODEBINDINGS SECTION ####
  634.  
  635. # start a terminal
  636. bindsym $mod+Return exec --no-startup-id $terminal
  637.  
  638. # kill focused window
  639. bindsym $mod+Escape kill
  640.  
  641. # There also is the (new) i3-dmenu-desktop which only displays applications
  642. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  643. # installed.
  644. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  645.  
  646. # change focus
  647. bindsym $mod+j focus left
  648. bindsym $mod+k focus down
  649. bindsym $mod+l focus up
  650. bindsym $mod+semicolon focus right
  651.  
  652. # alternatively, you can use the cursor keys:
  653. bindsym $mod+Left focus left
  654. bindsym $mod+Down focus down
  655. bindsym $mod+Up focus up
  656. bindsym $mod+Right focus right
  657.  
  658. # move focused window
  659. bindsym $mod+Shift+j move left
  660. bindsym $mod+Shift+k move down
  661. bindsym $mod+Shift+l move up
  662. bindsym $mod+Shift+semicolon move right
  663.  
  664. # alternatively, you can use the cursor keys:
  665. bindsym $mod+Shift+Left move left
  666. bindsym $mod+Shift+Down move down
  667. bindsym $mod+Shift+Up move up
  668. bindsym $mod+Shift+Right move right
  669.  
  670. # split in horizontal orientation
  671. bindsym $mod+h split h
  672.  
  673. # split in vertical orientation
  674. bindsym $mod+v split v
  675.  
  676. # enter fullscreen mode for the focused container
  677. bindsym $mod+f fullscreen toggle
  678.  
  679. # change container layout (stacked, tabbed, toggle split)
  680. bindsym $mod+s layout stacking
  681. bindsym $mod+w layout tabbed
  682. bindsym $mod+e layout toggle split
  683.  
  684. # toggle tiling / floating
  685. bindsym $mod+Shift+space floating toggle
  686.  
  687. # change focus between tiling / floating windows
  688. bindsym $mod+space focus mode_toggle
  689.  
  690. # focus the parent container
  691. bindsym $mod+a focus parent
  692.  
  693. # focus the child container
  694. #bindsym $mod+d focus child
  695.  
  696. # move the currently focused window to the scratchpad
  697. bindsym $mod+Shift+minus move scratchpad
  698.  
  699. # Show the next scratchpad window or hide the focused scratchpad window.
  700. # If there are multiple scratchpad windows, this command cycles through them.
  701. bindsym $mod+minus scratchpad show
  702.  
  703.  
  704. # reload the configuration file
  705. bindsym $mod+Shift+c reload
  706. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  707. bindsym $mod+Shift+r restart
  708. # exit i3 (logs you out of your X session)
  709. #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'"
  710.  
  711. bindsym $mod+Shift+e exec i3-msg exit
  712.  
  713. #Screen Lock
  714. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  715.  
  716. # Pulse Audio controls
  717. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  718. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  719. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  720.  
  721. # Sreen brightness controls
  722. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  723. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  724.  
  725. # Touchpad controls
  726. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  727.  
  728. # Media player controls
  729. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  730. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  731. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  732. bindsym XF86AudioPause exec --no-startup-id mpc pause
  733. bindsym XF86AudioNext exec --no-startup-id mpc next
  734. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  735. bindsym $mod+p exec pavucontrol
  736.  
  737. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  738. bindsym XF86Calculator exec $launch/calc.sh
  739. ## Screen Shots
  740. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  741. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  742.  
  743. #
  744. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  745. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  746. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  747.  
  748.  
  749.  
  750. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  751.  
  752.  
  753. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  754.  
  755. # Move Workspace to Left or Right Window
  756. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  757. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  758.  
  759. bindsym $mod+r mode "resize"
  760.  
  761. #### END MODEBINDINGS SECTION ####
  762. }
  763. #### config.d/83ModeGM ####
  764.  
  765. mode "GM" {
  766.  
  767. bindsym $mod+0 $load_backgrounds $mode3 0; workspace $gmws0; $savemode $mode3; $web game
  768. bindsym $mod+1 $load_backgrounds $mode3 1; workspace $gmws1; $savemode $mode3; exec --no-startup-id $launch/run.sh openttd
  769. bindsym $mod+2 $load_backgrounds $mode3 2; workspace $gmws2; $savemode $mode3; exec --no-startup-id $launch/run.sh supertuxkart
  770. bindsym $mod+3 $load_backgrounds $mode3 3; workspace $gmws3; $savemode $mode3; exec --no-startup-id $launch/launchfile.sh wine /mnt/data/games/generally/GeneRally.exe
  771. bindsym $mod+o $load_backgrounds $mode3 3; workspace $gmws3; $savemode $mode3; exec --no-startup-id $launch/run.sh openclonk
  772. bindsym $mod+4 $load_backgrounds $mode3 4; workspace $gmws4; $savemode $mode3; exec --no-startup-id $launch/run.sh xmoto
  773. bindsym $mod+5 $load_backgrounds $mode3 5; workspace $gmws5; $savemode $mode3; exec --no-startup-id $launch/run.sh chromium-bsu
  774. bindsym $mod+6 $load_backgrounds $mode3 6; workspace $gmws6; $savemode $mode3; exec --no-startup-id $launch/run.sh astromenace
  775. bindsym $mod+7 $load_backgrounds $mode3 7; workspace $gmws7; $savemode $mode3; exec --no-startup-id $launch/run.sh retroarch
  776. bindsym $mod+8 $load_backgrounds $mode3 8; workspace $gmws8; $savemode $mode3; exec --no-startup-id $launch/run.sh atari800
  777. bindsym $mod+9 $load_backgrounds $mode3 9; workspace $gmws9; $savemode $mode3; exec --no-startup-id $launch/run.sh pingus
  778. bindsym $mod+ctrl+0 $load_backgrounds $mode3 0; workspace $gmws0; $savemode $mode3; exec --no-startup-id $launch/run.sh torcs
  779. bindsym $mod+ctrl+1 $load_backgrounds $mode3 1; workspace $gmws1; $savemode $mode3; exec --no-startup-id $launch/run.sh hedgewars
  780. bindsym $mod+ctrl+2 $load_backgrounds $mode3 2; workspace $gmws2; $savemode $mode3; exec --no-startup-id $launch/run.sh teeworlds
  781. bindsym $mod+ctrl+3 $load_backgrounds $mode3 3; workspace $gmws3; $savemode $mode3; exec --no-startup-id $launch/run.sh neverball
  782. bindsym $mod+ctrl+4 $load_backgrounds $mode3 4; workspace $gmws4; $savemode $mode3; exec --no-startup-id $launch/run.sh ultimatestunts
  783. bindsym $mod+ctrl+5 $load_backgrounds $mode3 5; workspace $gmws5; $savemode $mode3; exec --no-startup-id $launch/run.sh speed-dreams
  784. bindsym $mod+ctrl+6 $load_backgrounds $mode3 6; workspace $gmws6; $savemode $mode3; exec --no-startup-id $launch/run.sh
  785. bindsym $mod+ctrl+7 $load_backgrounds $mode3 7; workspace $gmws7; $savemode $mode3; exec --no-startup-id $launch/run.sh frozenbubble
  786. bindsym $mod+ctrl+8 $load_backgrounds $mode3 8; workspace $gmws8; $savemode $mode3; exec --no-startup-id $launch/run.sh
  787. bindsym $mod+ctrl+9 $load_backgrounds $mode3 9; workspace $gmws9; $savemode $mode3; exec --no-startup-id $launch/run.sh
  788.  
  789. bindsym $modeKey0 $savemode $mode3; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal;
  790. bindsym $modeKey1 $savemode $mode3; $restoremode $mode1 $osws1 $osws3 $osws6; mode $mode1; exec task context os
  791. bindsym $modeKey2 $savemode $mode3; $restoremode $mode2 $mmws1 $mmws2 $mmws3; mode $mode2; exec task context ml
  792. bindsym $modeKey3 $savemode $mode3; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  793. bindsym $modeKey4 $savemode $mode3; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  794. bindsym $modeKey5 $savemode $mode3; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  795. bindsym $modeKey6 $savemode $mode3; $restoremode $mode6 $sews1 $sews3 $sews6; mode $mode6; exec task context Personal
  796.  
  797. # move focused container to workspace
  798. bindsym $mod+Shift+1 move container to workspace $gmws1
  799. bindsym $mod+Shift+2 move container to workspace $gmws2
  800. bindsym $mod+Shift+3 move container to workspace $gmws3
  801. bindsym $mod+Shift+4 move container to workspace $gmws4
  802. bindsym $mod+Shift+5 move container to workspace $gmws5
  803. bindsym $mod+Shift+6 move container to workspace $gmws6
  804. bindsym $mod+Shift+7 move container to workspace $gmws7
  805. bindsym $mod+Shift+8 move container to workspace $gmws8
  806. bindsym $mod+Shift+9 move container to workspace $gmws9
  807. bindsym $mod+Shift+0 move container to workspace $gmws0
  808. #### config.d/60ModeBindings ####
  809. #### START MODEBINDINGS SECTION ####
  810.  
  811. # start a terminal
  812. bindsym $mod+Return exec --no-startup-id $terminal
  813.  
  814. # kill focused window
  815. bindsym $mod+Escape kill
  816.  
  817. # There also is the (new) i3-dmenu-desktop which only displays applications
  818. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  819. # installed.
  820. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  821.  
  822. # change focus
  823. bindsym $mod+j focus left
  824. bindsym $mod+k focus down
  825. bindsym $mod+l focus up
  826. bindsym $mod+semicolon focus right
  827.  
  828. # alternatively, you can use the cursor keys:
  829. bindsym $mod+Left focus left
  830. bindsym $mod+Down focus down
  831. bindsym $mod+Up focus up
  832. bindsym $mod+Right focus right
  833.  
  834. # move focused window
  835. bindsym $mod+Shift+j move left
  836. bindsym $mod+Shift+k move down
  837. bindsym $mod+Shift+l move up
  838. bindsym $mod+Shift+semicolon move right
  839.  
  840. # alternatively, you can use the cursor keys:
  841. bindsym $mod+Shift+Left move left
  842. bindsym $mod+Shift+Down move down
  843. bindsym $mod+Shift+Up move up
  844. bindsym $mod+Shift+Right move right
  845.  
  846. # split in horizontal orientation
  847. bindsym $mod+h split h
  848.  
  849. # split in vertical orientation
  850. bindsym $mod+v split v
  851.  
  852. # enter fullscreen mode for the focused container
  853. bindsym $mod+f fullscreen toggle
  854.  
  855. # change container layout (stacked, tabbed, toggle split)
  856. bindsym $mod+s layout stacking
  857. bindsym $mod+w layout tabbed
  858. bindsym $mod+e layout toggle split
  859.  
  860. # toggle tiling / floating
  861. bindsym $mod+Shift+space floating toggle
  862.  
  863. # change focus between tiling / floating windows
  864. bindsym $mod+space focus mode_toggle
  865.  
  866. # focus the parent container
  867. bindsym $mod+a focus parent
  868.  
  869. # focus the child container
  870. #bindsym $mod+d focus child
  871.  
  872. # move the currently focused window to the scratchpad
  873. bindsym $mod+Shift+minus move scratchpad
  874.  
  875. # Show the next scratchpad window or hide the focused scratchpad window.
  876. # If there are multiple scratchpad windows, this command cycles through them.
  877. bindsym $mod+minus scratchpad show
  878.  
  879.  
  880. # reload the configuration file
  881. bindsym $mod+Shift+c reload
  882. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  883. bindsym $mod+Shift+r restart
  884. # exit i3 (logs you out of your X session)
  885. #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'"
  886.  
  887. bindsym $mod+Shift+e exec i3-msg exit
  888.  
  889. #Screen Lock
  890. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  891.  
  892. # Pulse Audio controls
  893. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  894. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  895. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  896.  
  897. # Sreen brightness controls
  898. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  899. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  900.  
  901. # Touchpad controls
  902. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  903.  
  904. # Media player controls
  905. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  906. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  907. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  908. bindsym XF86AudioPause exec --no-startup-id mpc pause
  909. bindsym XF86AudioNext exec --no-startup-id mpc next
  910. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  911. bindsym $mod+p exec pavucontrol
  912.  
  913. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  914. bindsym XF86Calculator exec $launch/calc.sh
  915. ## Screen Shots
  916. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  917. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  918.  
  919. #
  920. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  921. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  922. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  923.  
  924.  
  925.  
  926. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  927.  
  928.  
  929. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  930.  
  931. # Move Workspace to Left or Right Window
  932. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  933. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  934.  
  935. bindsym $mod+r mode "resize"
  936.  
  937. #### END MODEBINDINGS SECTION ####
  938. }
  939. #### config.d/84ModeMM ####
  940.  
  941. mode "MM" {
  942. bindsym $mod+0 $load_backgrounds $mode4 0; workspace $mmws0; $savemode $mode4; $web mm
  943. bindsym $mod+1 $load_backgrounds $mode4 1; workspace $mmws1; $savemode $mode4; exec --no-startup-id $launch/run.sh mythfrontend
  944. bindsym $mod+2 $load_backgrounds $mode4 2; workspace $mmws2; $savemode $mode4; exec --no-startup-id $launch/run.sh gmpc
  945. bindsym $mod+3 $load_backgrounds $mode4 3; workspace $mmws3; $savemode $mode4;
  946. bindsym $mod+4 $load_backgrounds $mode4 4; workspace $mmws4; $savemode $mode4;
  947. bindsym $mod+5 $load_backgrounds $mode4 5; workspace $mmws5; $savemode $mode4;
  948. bindsym $mod+6 $load_backgrounds $mode4 6; workspace $mmws6; $savemode $mode4;
  949. bindsym $mod+7 $load_backgrounds $mode4 7; workspace $mmws7; $savemode $mode4;
  950. bindsym $mod+8 $load_backgrounds $mode4 8; workspace $mmws8; $savemode $mode4;
  951. bindsym $mod+9 $load_backgrounds $mode4 9; workspace $mmws9; $savemode $mode4;
  952.  
  953. bindsym $modeKey0 $savemode $mode4; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal
  954. bindsym $modeKey1 $savemode $mode4; $restoremode $mode1 $osws1 $osws3 $osws6; mode $mode1; exec task context os
  955. bindsym $modeKey2 $savemode $mode4; $restoremode $mode2 $mlws2 $mlws1 $mlws3; mode $mode2; exec task context ml
  956. bindsym $modeKey3 $savemode $mode4; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  957. bindsym $modeKey4 $savemode $mode4; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  958. bindsym $modeKey5 $savemode $mode4; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  959. bindsym $modeKey6 $savemode $mode4; $restoremode $mode6 $sews1 $sews3 $sews6; mode $mode1; exec task context Personal
  960.  
  961. # move focused container to workspace
  962. bindsym $mod+Shift+1 move container to workspace $mmws1
  963. bindsym $mod+Shift+2 move container to workspace $mmws2
  964. bindsym $mod+Shift+3 move container to workspace $mmws3
  965. bindsym $mod+Shift+4 move container to workspace $mmws4
  966. bindsym $mod+Shift+5 move container to workspace $mmws5
  967. bindsym $mod+Shift+6 move container to workspace $mmws6
  968. bindsym $mod+Shift+7 move container to workspace $mmws7
  969. bindsym $mod+Shift+8 move container to workspace $mmws8
  970. bindsym $mod+Shift+9 move container to workspace $mmws9
  971. bindsym $mod+Shift+0 move container to workspace $mmws0
  972.  
  973.  
  974. #### config.d/60ModeBindings ####
  975. #### START MODEBINDINGS SECTION ####
  976.  
  977. # start a terminal
  978. bindsym $mod+Return exec --no-startup-id $terminal
  979.  
  980. # kill focused window
  981. bindsym $mod+Escape kill
  982.  
  983. # There also is the (new) i3-dmenu-desktop which only displays applications
  984. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  985. # installed.
  986. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  987.  
  988. # change focus
  989. bindsym $mod+j focus left
  990. bindsym $mod+k focus down
  991. bindsym $mod+l focus up
  992. bindsym $mod+semicolon focus right
  993.  
  994. # alternatively, you can use the cursor keys:
  995. bindsym $mod+Left focus left
  996. bindsym $mod+Down focus down
  997. bindsym $mod+Up focus up
  998. bindsym $mod+Right focus right
  999.  
  1000. # move focused window
  1001. bindsym $mod+Shift+j move left
  1002. bindsym $mod+Shift+k move down
  1003. bindsym $mod+Shift+l move up
  1004. bindsym $mod+Shift+semicolon move right
  1005.  
  1006. # alternatively, you can use the cursor keys:
  1007. bindsym $mod+Shift+Left move left
  1008. bindsym $mod+Shift+Down move down
  1009. bindsym $mod+Shift+Up move up
  1010. bindsym $mod+Shift+Right move right
  1011.  
  1012. # split in horizontal orientation
  1013. bindsym $mod+h split h
  1014.  
  1015. # split in vertical orientation
  1016. bindsym $mod+v split v
  1017.  
  1018. # enter fullscreen mode for the focused container
  1019. bindsym $mod+f fullscreen toggle
  1020.  
  1021. # change container layout (stacked, tabbed, toggle split)
  1022. bindsym $mod+s layout stacking
  1023. bindsym $mod+w layout tabbed
  1024. bindsym $mod+e layout toggle split
  1025.  
  1026. # toggle tiling / floating
  1027. bindsym $mod+Shift+space floating toggle
  1028.  
  1029. # change focus between tiling / floating windows
  1030. bindsym $mod+space focus mode_toggle
  1031.  
  1032. # focus the parent container
  1033. bindsym $mod+a focus parent
  1034.  
  1035. # focus the child container
  1036. #bindsym $mod+d focus child
  1037.  
  1038. # move the currently focused window to the scratchpad
  1039. bindsym $mod+Shift+minus move scratchpad
  1040.  
  1041. # Show the next scratchpad window or hide the focused scratchpad window.
  1042. # If there are multiple scratchpad windows, this command cycles through them.
  1043. bindsym $mod+minus scratchpad show
  1044.  
  1045.  
  1046. # reload the configuration file
  1047. bindsym $mod+Shift+c reload
  1048. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  1049. bindsym $mod+Shift+r restart
  1050. # exit i3 (logs you out of your X session)
  1051. #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'"
  1052.  
  1053. bindsym $mod+Shift+e exec i3-msg exit
  1054.  
  1055. #Screen Lock
  1056. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  1057.  
  1058. # Pulse Audio controls
  1059. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  1060. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  1061. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  1062.  
  1063. # Sreen brightness controls
  1064. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  1065. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  1066.  
  1067. # Touchpad controls
  1068. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  1069.  
  1070. # Media player controls
  1071. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  1072. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  1073. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  1074. bindsym XF86AudioPause exec --no-startup-id mpc pause
  1075. bindsym XF86AudioNext exec --no-startup-id mpc next
  1076. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  1077. bindsym $mod+p exec pavucontrol
  1078.  
  1079. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  1080. bindsym XF86Calculator exec $launch/calc.sh
  1081. ## Screen Shots
  1082. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  1083. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  1084.  
  1085. #
  1086. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  1087. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  1088. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  1089.  
  1090.  
  1091.  
  1092. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  1093.  
  1094.  
  1095. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  1096.  
  1097. # Move Workspace to Left or Right Window
  1098. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  1099. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  1100.  
  1101. bindsym $mod+r mode "resize"
  1102.  
  1103. #### END MODEBINDINGS SECTION ####
  1104. }
  1105. #### config.d/85ModeSY ####
  1106. mode "SY" {
  1107. bindsym $mod+0 $load_backgrounds $mode5 0; workspace $syws0;$web system
  1108.  
  1109. bindsym $mod+1 $load_backgrounds $mode5 1; workspace $syws1; $savemode $mode5; exec --no-startup-id $launch/console.sh syws1
  1110. bindsym $mod+2 $load_backgrounds $mode5 2; workspace $syws2; $savemode $mode5; exec --no-startup-id $launch/console.sh syws2 ~ su
  1111. bindsym $mod+3 $load_backgrounds $mode5 3; workspace $syws3; $savemode $mode5;
  1112. bindsym $mod+4 $load_backgrounds $mode5 4; workspace $syws4; $savemode $mode5;
  1113. bindsym $mod+5 $load_backgrounds $mode5 5; workspace $syws5; $savemode $mode5;
  1114. bindsym $mod+6 $load_backgrounds $mode5 6; workspace $syws6; $savemode $mode5;
  1115. bindsym $mod+7 $load_backgrounds $mode5 7; workspace $syws7; $savemode $mode5;
  1116. bindsym $mod+8 $load_backgrounds $mode5 8; workspace $syws8; $savemode $mode5;
  1117. bindsym $mod+9 $load_backgrounds $mode5 9; workspace $syws9; $savemode $mode5;
  1118.  
  1119. bindsym $modeKey0 $savemode $mode5; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal
  1120. bindsym $modeKey1 $savemode $mode5; $restoremode $mode1 $osws1 $osws3 $osws6; mode $mode1; exec task context os
  1121. bindsym $modeKey2 $savemode $mode5; $restoremode $mode2 $mlws2 $mlws1 $mlws3; mode $mode2; exec task context ml
  1122. bindsym $modeKey3 $savemode $mode5; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  1123. bindsym $modeKey4 $savemode $mode5; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  1124. bindsym $modeKey5 $savemode $mode5; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  1125. bindsym $modeKey6 $savemode $mode5; $restoremode $mode6 $sews1 $sews3 $sews6; mode $mode6; exec task context Personal
  1126.  
  1127. # move focused container to workspace
  1128. bindsym $mod+Shift+1 move container to workspace $syws1
  1129. bindsym $mod+Shift+2 move container to workspace $syws2
  1130. bindsym $mod+Shift+3 move container to workspace $syws3
  1131. bindsym $mod+Shift+4 move container to workspace $syws4
  1132. bindsym $mod+Shift+5 move container to workspace $syws5
  1133. bindsym $mod+Shift+6 move container to workspace $syws6
  1134. bindsym $mod+Shift+7 move container to workspace $syws7
  1135. bindsym $mod+Shift+8 move container to workspace $syws8
  1136. bindsym $mod+Shift+9 move container to workspace $syws9
  1137. bindsym $mod+Shift+0 move container to workspace $syws0
  1138. #### config.d/60ModeBindings ####
  1139. #### START MODEBINDINGS SECTION ####
  1140.  
  1141. # start a terminal
  1142. bindsym $mod+Return exec --no-startup-id $terminal
  1143.  
  1144. # kill focused window
  1145. bindsym $mod+Escape kill
  1146.  
  1147. # There also is the (new) i3-dmenu-desktop which only displays applications
  1148. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  1149. # installed.
  1150. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  1151.  
  1152. # change focus
  1153. bindsym $mod+j focus left
  1154. bindsym $mod+k focus down
  1155. bindsym $mod+l focus up
  1156. bindsym $mod+semicolon focus right
  1157.  
  1158. # alternatively, you can use the cursor keys:
  1159. bindsym $mod+Left focus left
  1160. bindsym $mod+Down focus down
  1161. bindsym $mod+Up focus up
  1162. bindsym $mod+Right focus right
  1163.  
  1164. # move focused window
  1165. bindsym $mod+Shift+j move left
  1166. bindsym $mod+Shift+k move down
  1167. bindsym $mod+Shift+l move up
  1168. bindsym $mod+Shift+semicolon move right
  1169.  
  1170. # alternatively, you can use the cursor keys:
  1171. bindsym $mod+Shift+Left move left
  1172. bindsym $mod+Shift+Down move down
  1173. bindsym $mod+Shift+Up move up
  1174. bindsym $mod+Shift+Right move right
  1175.  
  1176. # split in horizontal orientation
  1177. bindsym $mod+h split h
  1178.  
  1179. # split in vertical orientation
  1180. bindsym $mod+v split v
  1181.  
  1182. # enter fullscreen mode for the focused container
  1183. bindsym $mod+f fullscreen toggle
  1184.  
  1185. # change container layout (stacked, tabbed, toggle split)
  1186. bindsym $mod+s layout stacking
  1187. bindsym $mod+w layout tabbed
  1188. bindsym $mod+e layout toggle split
  1189.  
  1190. # toggle tiling / floating
  1191. bindsym $mod+Shift+space floating toggle
  1192.  
  1193. # change focus between tiling / floating windows
  1194. bindsym $mod+space focus mode_toggle
  1195.  
  1196. # focus the parent container
  1197. bindsym $mod+a focus parent
  1198.  
  1199. # focus the child container
  1200. #bindsym $mod+d focus child
  1201.  
  1202. # move the currently focused window to the scratchpad
  1203. bindsym $mod+Shift+minus move scratchpad
  1204.  
  1205. # Show the next scratchpad window or hide the focused scratchpad window.
  1206. # If there are multiple scratchpad windows, this command cycles through them.
  1207. bindsym $mod+minus scratchpad show
  1208.  
  1209.  
  1210. # reload the configuration file
  1211. bindsym $mod+Shift+c reload
  1212. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  1213. bindsym $mod+Shift+r restart
  1214. # exit i3 (logs you out of your X session)
  1215. #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'"
  1216.  
  1217. bindsym $mod+Shift+e exec i3-msg exit
  1218.  
  1219. #Screen Lock
  1220. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  1221.  
  1222. # Pulse Audio controls
  1223. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  1224. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  1225. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  1226.  
  1227. # Sreen brightness controls
  1228. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  1229. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  1230.  
  1231. # Touchpad controls
  1232. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  1233.  
  1234. # Media player controls
  1235. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  1236. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  1237. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  1238. bindsym XF86AudioPause exec --no-startup-id mpc pause
  1239. bindsym XF86AudioNext exec --no-startup-id mpc next
  1240. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  1241. bindsym $mod+p exec pavucontrol
  1242.  
  1243. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  1244. bindsym XF86Calculator exec $launch/calc.sh
  1245. ## Screen Shots
  1246. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  1247. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  1248.  
  1249. #
  1250. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  1251. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  1252. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  1253.  
  1254.  
  1255.  
  1256. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  1257.  
  1258.  
  1259. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  1260.  
  1261. # Move Workspace to Left or Right Window
  1262. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  1263. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  1264.  
  1265. bindsym $mod+r mode "resize"
  1266.  
  1267. #### END MODEBINDINGS SECTION ####
  1268. }
  1269. #### config.d/86ModeSE ####
  1270. mode "SE" {
  1271. bindsym $mod+1 $load_backgrounds $mode6 1; workspace $sews1; $savemode $mode6; exec --no-startup-id $launch/vim_session.sh ~/shapeengine/src shapeengine_src_session.vim
  1272. bindsym $mod+2 $load_backgrounds $mode6 2; workspace $sews2; $savemode $mode6; exec --no-startup-id $launch/vim_session.sh ~/shapeengine/data shapeengine_data_session.vim
  1273. bindsym $mod+3 $load_backgrounds $mode6 3; workspace $sews3; $savemode $mode6; exec --no-startup-id $launch/shapeengine/build.sh
  1274. bindsym $mod+shift+3 $load_backgrounds $mode6 3; workspace $sews3; $savemode $mode6; exec --no-startup-id $launch/shapeengine/rebuild.sh
  1275. bindsym $mod+Control+3 $load_backgrounds $mode6 3; workspace $sews3; $savemode $mode6; exec --no-startup-id $launch/shapeengine/debug.sh
  1276. bindsym $mod+4 $load_backgrounds $mode6 4; workspace $sews4; $savemode $mode6; exec --no-startup-id $launch/shapeengine/runFullScreen.sh
  1277. bindsym $mod+5 $load_backgrounds $mode6 5; workspace $sews4; $savemode $mode6; exec --no-startup-id $launch/shapeengine/runWindowed.sh
  1278. bindsym $mod+6 $load_backgrounds $mode6 6; workspace $sews6; $savemode $mode6; exec --no-startup-id $launch/console.sh OSconsole ~/shapeengine
  1279. bindsym $mod+7 $load_backgrounds $mode6 7; workspace $sews7; $savemode $mode6; exec --no-startup-id $launch/shapeengine/memcheck.sh
  1280. bindsym $mod+8 $load_backgrounds $mode6 8; workspace $sews8; $savemode $mode6; exec --no-startup-id $launch/shapeengine/trace.sh
  1281. bindsym $mod+9 $load_backgrounds $mode6 9; workspace $sews9; $savemode $mode6;
  1282. bindsym $mod+0 $load_backgrounds $mode6 0; workspace $sews0; $savemode $mode6; $web os
  1283.  
  1284.  
  1285. bindsym $modeKey0 $savemode $mode6; $restoremode $modeD $ws1 $ws4 $ws7; mode $modeD; exec task context Personal
  1286. bindsym $modeKey1 $savemode $mode6; $restoremode $mode1 $osws2 $osws1 $osws3; mode $mode1; exec task context os
  1287. bindsym $modeKey2 $savemode $mode6; $restoremode $mode2 $mlws2 $mlws1 $mlws3; mode $mode2; exec task context ml
  1288. bindsym $modeKey3 $savemode $mode6; $restoremode $mode3 $gmws1 $gmws2 $gmws3; mode $mode3; exec task context Personal
  1289. bindsym $modeKey4 $savemode $mode6; $restoremode $mode4 $mmws1 $mmws2 $mmws3; mode $mode4; exec task context Personal
  1290. bindsym $modeKey5 $savemode $mode6; $restoremode $mode5 $syws1 $syws2 $syws3; mode $mode5; exec task context Personal
  1291. bindsym $modeKey6 $savemode $mode6; $restoremode $mode6 $sews2 $sews1 $sews3; mode $mode6; exec task context Personal
  1292.  
  1293. # move focused container to workspace
  1294. bindsym $mod+Shift+1 move container to workspace $sews1
  1295. bindsym $mod+Shift+2 move container to workspace $sews2
  1296. #bindsym $mod+Shift+3 move container to workspace $sews3
  1297. bindsym $mod+Shift+4 move container to workspace $sews4
  1298. bindsym $mod+Shift+5 move container to workspace $sews5
  1299. bindsym $mod+Shift+6 move container to workspace $sews6
  1300. bindsym $mod+Shift+7 move container to workspace $sews7
  1301. bindsym $mod+Shift+8 move container to workspace $sews8
  1302. bindsym $mod+Shift+9 move container to workspace $sews9
  1303. bindsym $mod+Shift+0 move container to workspace $sews0
  1304. #### config.d/60ModeBindings ####
  1305. #### START MODEBINDINGS SECTION ####
  1306.  
  1307. # start a terminal
  1308. bindsym $mod+Return exec --no-startup-id $terminal
  1309.  
  1310. # kill focused window
  1311. bindsym $mod+Escape kill
  1312.  
  1313. # There also is the (new) i3-dmenu-desktop which only displays applications
  1314. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  1315. # installed.
  1316. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  1317.  
  1318. # change focus
  1319. bindsym $mod+j focus left
  1320. bindsym $mod+k focus down
  1321. bindsym $mod+l focus up
  1322. bindsym $mod+semicolon focus right
  1323.  
  1324. # alternatively, you can use the cursor keys:
  1325. bindsym $mod+Left focus left
  1326. bindsym $mod+Down focus down
  1327. bindsym $mod+Up focus up
  1328. bindsym $mod+Right focus right
  1329.  
  1330. # move focused window
  1331. bindsym $mod+Shift+j move left
  1332. bindsym $mod+Shift+k move down
  1333. bindsym $mod+Shift+l move up
  1334. bindsym $mod+Shift+semicolon move right
  1335.  
  1336. # alternatively, you can use the cursor keys:
  1337. bindsym $mod+Shift+Left move left
  1338. bindsym $mod+Shift+Down move down
  1339. bindsym $mod+Shift+Up move up
  1340. bindsym $mod+Shift+Right move right
  1341.  
  1342. # split in horizontal orientation
  1343. bindsym $mod+h split h
  1344.  
  1345. # split in vertical orientation
  1346. bindsym $mod+v split v
  1347.  
  1348. # enter fullscreen mode for the focused container
  1349. bindsym $mod+f fullscreen toggle
  1350.  
  1351. # change container layout (stacked, tabbed, toggle split)
  1352. bindsym $mod+s layout stacking
  1353. bindsym $mod+w layout tabbed
  1354. bindsym $mod+e layout toggle split
  1355.  
  1356. # toggle tiling / floating
  1357. bindsym $mod+Shift+space floating toggle
  1358.  
  1359. # change focus between tiling / floating windows
  1360. bindsym $mod+space focus mode_toggle
  1361.  
  1362. # focus the parent container
  1363. bindsym $mod+a focus parent
  1364.  
  1365. # focus the child container
  1366. #bindsym $mod+d focus child
  1367.  
  1368. # move the currently focused window to the scratchpad
  1369. bindsym $mod+Shift+minus move scratchpad
  1370.  
  1371. # Show the next scratchpad window or hide the focused scratchpad window.
  1372. # If there are multiple scratchpad windows, this command cycles through them.
  1373. bindsym $mod+minus scratchpad show
  1374.  
  1375.  
  1376. # reload the configuration file
  1377. bindsym $mod+Shift+c reload
  1378. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  1379. bindsym $mod+Shift+r restart
  1380. # exit i3 (logs you out of your X session)
  1381. #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'"
  1382.  
  1383. bindsym $mod+Shift+e exec i3-msg exit
  1384.  
  1385. #Screen Lock
  1386. bindsym $mod+shift+x exec i3lock --color "$bg-color"
  1387.  
  1388. # Pulse Audio controls
  1389. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  1390. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  1391. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  1392.  
  1393. # Sreen brightness controls
  1394. #bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  1395. #bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  1396.  
  1397. # Touchpad controls
  1398. #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  1399.  
  1400. # Media player controls
  1401. bindsym XF86AudioPlay exec --no-startup-id mpc toggle
  1402. bindsym shift+XF86AudioPlay exec --no-startup-id mpc next
  1403. bindsym ctrl+XF86AudioPlay exec --no-startup-id mpc seek +10%
  1404. bindsym XF86AudioPause exec --no-startup-id mpc pause
  1405. bindsym XF86AudioNext exec --no-startup-id mpc next
  1406. bindsym XF86AudioPrev exec --no-startup-id mpc prev
  1407. bindsym $mod+p exec pavucontrol
  1408.  
  1409. bindsym $mod+XF86Calculator exec --no-startup-id xcalc
  1410. bindsym XF86Calculator exec $launch/calc.sh
  1411. ## Screen Shots
  1412. bindsym Print exec "scrot -e 'mv $f ~/screenshots'"
  1413. bindsym $mod+Print exec "scrot -ue 'mv $f ~/screenshots'"
  1414.  
  1415. #
  1416. bindsym $kbdQwertyKey exec $launch/keymaps/qwerty.sh
  1417. bindsym $kbdColemakKey exec $launch/keymaps/colemak.sh
  1418. bindsym $kbdColemakPKey exec $launch/keymaps/colemakP.sh
  1419.  
  1420.  
  1421.  
  1422. bindsym $mod+d exec rofi -show run -lines 8 -eh 1.5 -width 50 -theme $menu-theme
  1423.  
  1424.  
  1425. bindsym $mod+XF86AudioPlay exec --no-startup-id ~/copycurrentUSB.sh
  1426.  
  1427. # Move Workspace to Left or Right Window
  1428. bindsym $mod+Control+Left move workspace to output $leftscreen;$movecurrentws $leftscreen
  1429. bindsym $mod+Control+Right move workspace to output $primaryscreen; $movecurrentws $primaryscreen
  1430.  
  1431. bindsym $mod+r mode "resize"
  1432.  
  1433. #### END MODEBINDINGS SECTION ####
  1434. }
  1435. #### config.d/90Bar ####
  1436.  
  1437. # Start i3bar to display a workspace bar (plus the system information i3status
  1438. # finds out, if available)
  1439.  
  1440. bar {
  1441. # The Top Bar
  1442. id default_top
  1443. position top
  1444. workspace_buttons no
  1445. # status_command i3status -c ~/.config/i3/status/i3status_top
  1446. status_command i3blocks -c ~/.config/i3/status/i3blocks/top
  1447. # status_command py3status --include /usr/lib/python3.6/site-packages/py3status/modules -c ~/.config/i3/status/pystatus_top
  1448. # status_command ~/git/i3status-rust/target/release/i3status-rs /home/olt/.config/i3/status/status.toml
  1449. #mode hide
  1450.  
  1451. font $bar-top-font
  1452. #height $bar-top-height
  1453.  
  1454. colors {
  1455. background $bar-top-bg
  1456. separator $bar-top-separator
  1457. statusline $bar-top-statusline
  1458. focused_workspace $bar-top-focused-workspace
  1459. active_workspace $bar-top-active-workspace
  1460. inactive_workspace $bar-top-inactive-workspace
  1461. urgent_workspace $bar-top-urgent-workspace
  1462. }
  1463. tray_output primary
  1464. }
  1465.  
  1466. bar {
  1467. # The Bottom Bar
  1468. id default_bottom
  1469. position bottom
  1470. workspace_buttons yes
  1471. # status_command i3status -c ~/.config/i3/status/i3status_bottom
  1472. status_command i3blocks -c ~/.config/i3/status/i3blocks/bottom_powers
  1473. # status_command i3blocks
  1474. # status_command py3status --include /usr/lib/python3.6/site-packages/py3status/modules -c ~/.config/i3/status/pystatus.conf
  1475. # status_command ~/git/i3status-rust/target/release/i3status-rs /home/olt/.config/i3/status.toml
  1476. # mode hide
  1477.  
  1478. font $bar-bottom-font
  1479. #height $bar-bottom-height
  1480.  
  1481. colors {
  1482. background $bar-bottom-bg
  1483. separator $bar-bottom-separator
  1484. statusline $bar-bottom-statusline
  1485. focused_workspace $bar-bottom-focused-workspace
  1486. active_workspace $bar-bottom-active-workspace
  1487. inactive_workspace $bar-bottom-inactive-workspace
  1488. urgent_workspace $bar-bottom-urgent-workspace
  1489. }
  1490. tray_output primary
  1491.  
  1492. }
  1493. #### config.d/90Resize ####
  1494.  
  1495. # resize window (you can also use the mouse for that)
  1496. mode "resize" {
  1497. # These bindings trigger as soon as you enter the resize mode
  1498.  
  1499. # Pressing left will shrink the window’s width.
  1500. # Pressing right will grow the window’s width.
  1501. # Pressing up will shrink the window’s height.
  1502. # Pressing down will grow the window’s height.
  1503. bindsym $left resize shrink width 10 px or 10 ppt
  1504. bindsym $down resize grow height 10 px or 10 ppt
  1505. bindsym $up resize shrink height 10 px or 10 ppt
  1506. bindsym $right resize grow width 10 px or 10 ppt
  1507.  
  1508. # back to normal: Enter or Escape
  1509. bindsym Return mode "default"
  1510. bindsym Escape mode "default"
  1511. }
  1512. #### config.d/91MonitorMapping ####
  1513. #### START MONITORMAPPING SECTION ####
  1514.  
  1515. # Workspace to Monitor Allocation for Default
  1516. workspace $ws1 output $primaryscreen
  1517. workspace $ws2 output $primaryscreen
  1518. workspace $ws3 output $primaryscreen
  1519. workspace $ws4 output $leftscreen
  1520. workspace $ws5 output $leftscreen
  1521. workspace $ws6 output $leftscreen
  1522. workspace $ws7 output $rightscreen
  1523. workspace $ws8 output $rightscreen
  1524. workspace $ws9 output $rightscreen
  1525. workspace $ws0 output $rightscreen
  1526.  
  1527. # Workspace to Monitor Allocation for os
  1528. workspace $osws1 output $primaryscreen
  1529. workspace $osws2 output $primaryscreen
  1530. workspace $osws3 output $leftscreen
  1531. workspace $osws4 output $primaryscreen
  1532. workspace $osws5 output $primaryscreen
  1533. workspace $osws6 output $rightscreen
  1534. workspace $osws7 output $leftscreen
  1535. workspace $osws8 output $rightscreen
  1536. workspace $osws9 output $rightscreen
  1537. workspace $osws0 output $rightscreen
  1538.  
  1539. # Workspace to Monitor Allocation for ML
  1540. workspace $mlws1 output $leftscreen
  1541. workspace $mlws2 output $primaryscreen
  1542. workspace $mlws3 output $rightscreen
  1543. workspace $mlws4 output $primaryscreen
  1544. workspace $mlws5 output $leftscreen
  1545. workspace $mlws6 output $rightscreen
  1546. workspace $mlws7 output $primaryscreen
  1547. workspace $mlws8 output $leftscreen
  1548. workspace $mlws9 output $rightscreen
  1549. workspace $mllag0 output $rightscreen
  1550.  
  1551. # Workspace to Moniotr Allication for Games
  1552. workspace $gmws0 output $primaryscreen
  1553. workspace $gmws1 output $primaryscreen
  1554. workspace $gmws2 output $primaryscreen
  1555. workspace $gmws3 output $primaryscreen
  1556. workspace $gmws4 output $primaryscreen
  1557. workspace $gmws5 output $primaryscreen
  1558. workspace $gmws6 output $primaryscreen
  1559. workspace $gmws7 output $primaryscreen
  1560. workspace $gmws8 output $primaryscreen
  1561. workspace $gmws9 output $primaryscreen
  1562.  
  1563. # Workspace to Monitor Allocation for Multimedia
  1564. workspace $mmws1 output $primaryscreen
  1565. workspace $mmws2 output $leftscreen
  1566. workspace $mmws3 output $rightscreen
  1567. workspace $mmws4 output $primaryscreen
  1568. workspace $mmws5 output $leftscreen
  1569. workspace $mmws6 output $rightscreen
  1570. workspace $mmws7 output $primaryscreen
  1571. workspace $mmws8 output $leftscreen
  1572. workspace $mmws9 output $rightscreen
  1573. workspace $mmws0 output $primaryscreen
  1574.  
  1575. # Workspace to Monitor Allocation for System
  1576. workspace $syws1 output $primaryscreen
  1577. workspace $syws2 output $leftscreen
  1578. workspace $syws3 output $rightscreen
  1579. workspace $syws4 output $primaryscreen
  1580. workspace $syws5 output $leftscreen
  1581. workspace $syws6 output $rightscreen
  1582. workspace $syws7 output $primaryscreen
  1583.  
  1584. exec_always --no-startup-id $generate_monitor_list
  1585.  
  1586. #### END MONITORMAPPING SECTION ####
  1587. #### config.d/92SessionStartup ####
  1588. #### START SESSIONSTARTUP SECTION ####
  1589.  
  1590. # Startup User Services
  1591. exec --no-startup-id udiskie
  1592. exec --no-startup-id mpd
  1593. exec --no-startup-id task context Personal
  1594.  
  1595.  
  1596. exec_always --no-startup-id $generate_backgrounds $bgDefault $modeD
  1597. exec_always --no-startup-id $generate_backgrounds $bgMode1 $mode1
  1598. exec_always --no-startup-id $generate_backgrounds $bgMode2 $mode2
  1599. exec_always --no-startup-id $generate_backgrounds $bgMode3 $mode3
  1600. exec_always --no-startup-id $generate_backgrounds $bgMode4 $mode4
  1601. exec_always --no-startup-id $generate_backgrounds $bgMode5 $mode5
  1602. exec_always --no-startup-id $generate_backgrounds $bgMode6 $mode6
  1603.  
  1604. exec_always --no-startup-id $restoremodeStart default
  1605.  
  1606. #Set workspace backgrounds
  1607.  
  1608. #### END SESSIONSTARTUP SECTION ####
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement