poetician

sxhkdrc - Work In Progress

Aug 30th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.09 KB | None | 0 0
  1. # Poetician Edition sxhkd
  2. # This sxhkd is for i3wm
  3.  
  4. #################################################################
  5. # Super + Function Keys
  6. #################################################################
  7.  
  8. # Kate loading Alacritty Config
  9. super + F1
  10. kate ~/.config/alacritty/alacritty.yml
  11.  
  12. # Kate loading .bashrc
  13. super + F2
  14. kate ~/.bashrc
  15.  
  16. # Kate loading i3-keybinds
  17. super + F3
  18. kate ~/.config/i3/i3-keybinds
  19.  
  20. # Kate loading i3wm Config
  21. super + F4
  22. kate ~/.config/i3/config
  23.  
  24. # Kate loading Picom
  25. super + F 5
  26. kate ~/.config/picom.config
  27.  
  28. # Kate loading Polybar Config
  29. super + F6
  30. kate ~/.config/polybar/config.ini
  31.  
  32. # Kate loading Rofi Config
  33. super + F7
  34. kate ~/.config/rofi/config.rasi
  35.  
  36. # Kate loading .zshrc
  37. super + F8
  38. kate ~/.zshrc
  39.  
  40. # Firefox loading Default sxhkd
  41. super + F9
  42. firefox https://gitlab.com/Poetician
  43.  
  44. # Kate loading VirtualBox
  45. super + F10
  46. virtualbox manager
  47.  
  48. # Firefox loading Pastebin
  49. super + F11
  50. firefox https://pastebin.com/u/poetician
  51.  
  52. # Qbittorrent
  53. super + F12
  54. qBittorrent
  55.  
  56. #################################################################
  57. # Super + Alphabetic Keys
  58. #################################################################
  59.  
  60. # Audacity
  61. super + a
  62. audacity
  63.  
  64. # Rofi FIle Browser
  65. super + b
  66. rofi -show filebrowser -steal-focus
  67.  
  68. # Gcolor3
  69. super + c
  70. gcolor3
  71.  
  72. # Qimgv
  73. super + d
  74. qimgv
  75.  
  76. # Google Earth
  77. super + e
  78. google-earth-pro
  79.  
  80. # Fullscreen
  81. super + f
  82.  
  83. # Gimp
  84. super + g
  85. gimp
  86.  
  87. # Kate
  88. super + h
  89. kate
  90.  
  91. # Inkscape
  92. super + i
  93. inkscape
  94.  
  95. # Jgmenu
  96. super + j
  97. jgmenu_run
  98.  
  99. # Kdenlive
  100. super + k
  101. kdenlive
  102.  
  103. # LibreOffice
  104. super + l
  105. libreoffice
  106.  
  107. # Meld
  108. #super + m
  109. meld
  110.  
  111. # Nitrogen
  112. super + n
  113. nitrogen
  114.  
  115. # Oomox
  116. super + o
  117. oomox-gui
  118.  
  119. # Toggle Picom
  120. super + p
  121. ~/.config/i3/scripts/picom-toggle.sh
  122.  
  123. # Quit Application
  124. super + q
  125. kill
  126.  
  127. # Rofi
  128. super + r
  129. rofi -show drun
  130.  
  131. # SimpleScreenRecorder
  132. super + s
  133. simplescreenrecorder
  134.  
  135. # Thunar
  136. super + t
  137. thunar
  138.  
  139. # Vlc
  140. super + v
  141. vlc
  142.  
  143. # Viewnior
  144. super + w
  145. Viewnior
  146.  
  147. # ArchLinux Logout
  148. super + x
  149. archlinux-logout
  150.  
  151. # Rofi Combi Mode
  152. super + y
  153. rofi -show combi -steal-focus
  154.  
  155. # Grub-Customizer
  156. super + z
  157. grub-customizer
  158.  
  159. # Alacritty
  160. super + Return
  161. alacritty
  162.  
  163. # Xkill
  164. super + Escape
  165. xkill
  166.  
  167. #################################################################
  168. # SUPER + NAVIGATION KEYS
  169. #################################################################
  170.  
  171. # Librewolf loading Pastebin
  172. super + End
  173. librewolf https://pastebin.com/
  174.  
  175. # Librewolf loading GitLab
  176. super + Home
  177. librewolf https://gitlab.com/Poetician
  178.  
  179. # Librewolf loading YouTube
  180. super + Next
  181. librewolf https://studio.youtube.com/channel/UCmP5yzI3bT4EP5lyitpor8w
  182.  
  183. # Betterlockscreen
  184. super + Pause
  185. betterlockscreen -l dimblur
  186.  
  187. # Librewolf loading Odysee
  188. super + Prior
  189. librewolf https://odysee.com/
  190.  
  191. #################################################################
  192. # SUPER + SHIFT KEYS
  193. #################################################################
  194.  
  195. # File-Manager
  196. super + shift + Return
  197. nemo
  198.  
  199. #
  200. super + shift + d
  201.  
  202. # Reload i3 config
  203. super + r
  204. restart
  205.  
  206. # Reload sxhkd:
  207. super + shift + s
  208. pkill -USR1 -x sxhkd
  209.  
  210. #################################################################
  211. # CONTROL + ALT KEYS
  212. #################################################################
  213.  
  214. # ArchLinux Tweak Tool
  215. ctrl + alt + comma
  216. archlinux-tweak-tool
  217.  
  218. # Blender
  219. #ctrl + alt + b
  220. blender
  221.  
  222. # Catfish
  223. #ctrl + alt + c
  224. catfish
  225.  
  226. #Firefox
  227. ctrl + alt + f
  228. firefox
  229.  
  230. # Kvantum Manager
  231. ctrl + alt + k
  232. kvantummanager
  233.  
  234. # Lxappearance
  235. ctrl + alt + l
  236. lxappearance
  237.  
  238. # Xfce4-settings-manager
  239. ctrl + alt + m
  240. xfce4-settings-manager
  241.  
  242. # Rofi Theme Selector
  243. ctrl + alt + r
  244. rofi-theme-selector
  245.  
  246. # Flameshot
  247. ctrl + alt + s
  248. flameshot
  249.  
  250. # FreeTube
  251. #ctrl + alt + t
  252. freetube
  253.  
  254. # Pulse Audio Control
  255. ctrl + alt + u
  256. pavucontrol
  257.  
  258. ###############################################################
  259. # ALT + ... KEYS
  260. #################################################################
  261.  
  262. # Wallpaper trash
  263. alt + t
  264. variety -t
  265.  
  266. # Wallpaper next
  267. alt + n
  268. variety -n
  269.  
  270. # Wallpaper previous
  271. alt + p
  272. variety -p
  273.  
  274. # Wallpaper favorite
  275. alt + f
  276. variety -f
  277.  
  278. # Wallpaper previous
  279. alt + Left
  280. variety -p
  281.  
  282. # Wallpaper next
  283. alt + Right
  284. variety -n
  285.  
  286. # Wallpaper toggle-pause
  287. alt + Up
  288. variety --toggle-pause
  289.  
  290. # Wallpaper resume
  291. alt + Down
  292. variety --resume
  293.  
  294. #
  295. alt + F2
  296.  
  297.  
  298. # Xfce4-appfinder
  299. alt + F3
  300. xfce4-appfinder
  301.  
  302. #################################################################
  303. # VARIETY KEYS WITH PYWAL
  304. #################################################################
  305.  
  306. # Wallpaper trash
  307. alt + shift + t
  308. variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  309.  
  310. # Wallpaper next
  311. alt + shift + n
  312. variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  313.  
  314. # Wallpaper previous
  315. alt + shift + p
  316. variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  317.  
  318. # Wallpaper favorite
  319. alt + shift + f
  320. variety -f && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  321.  
  322. # Wallpaper update
  323. alt + shift + u
  324. wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  325.  
  326. #################################################################
  327. # CONTROL + SHIFT KEYS
  328. #################################################################
  329.  
  330. # Xcfe4-TaskManager
  331. ctrl + shift + Escape
  332. xfce4-taskmanager
  333.  
  334. #################################################################
  335. # SCREENSHOTS
  336. #################################################################
  337.  
  338. # Scrot
  339. Print
  340. scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  341.  
  342. # Screeenshooter
  343. ctrl + Print
  344. xfce4-screenshooter
  345.  
  346. # Gnome-Screenshot
  347. ctrl + shift + Print
  348. gnome-screenshot -i
  349.  
  350. #################################################################
  351. # FUNCTION KEYS
  352. #################################################################
  353.  
  354. # Xfce4-terminal Dropdown
  355. F12
  356. xfce4-terminal --drop-down
  357.  
  358. #########################
  359. # POLYBAR #
  360. #########################
  361.  
  362. # Hide polybar
  363. super + y
  364. polybar-msg cmd toggle
  365.  
  366. #################################################################
  367. ################## DESKTOP SPECIFIC ########################
  368. #################################################################
  369.  
  370. #################################################################
  371. # CTRL + ALT KEYS
  372. #################################################################
  373.  
  374. # Picom Toggle
  375. ctrl + alt + o
  376. ~/.config/bspwm/scripts/picom-toggle.sh
  377.  
  378. #################################################################
  379. # SUPER + KEYS
  380. #################################################################
  381.  
  382. # Toggle fullscreen of window
  383. super + f
  384. bspc node --state \~fullscreen
  385.  
  386. # Toggle pseudo tiling of window
  387. super + p
  388. bspc node --state \~pseudo_tiled
  389.  
  390. # kill
  391. super + q
  392. bspc node -c
  393.  
  394. #################################################################
  395. # SUPER KEYS
  396. #################################################################
  397.  
  398. # Focus selected desktop
  399. super + Tab
  400. bspc desktop -f '^{1-9,10}'
  401.  
  402. # Increase/decrease window gap on focused desktop
  403. super + bracket{left,right}
  404. bspc config -d focused window_gap $((`bspc config -d focused window_gap` {-,+} 5 ))
  405.  
  406. # Set the window state
  407. super + space
  408. bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
  409.  
  410. # Move focus to other monitor
  411. super + BackSpace
  412. bspc monitor -f next
  413.  
  414. #################################################################
  415. # SUPER + ALT KEYS
  416. #################################################################
  417.  
  418. # Move floating window
  419. super + alt + {_,shift + }{Left,Down,Up,Right}
  420. ~/.config/bspwm/scripts/move-window {_,edge-}{west,south,north,east}
  421.  
  422. #################################################################
  423. # SUPER + CONTROL KEYS
  424. #################################################################
  425.  
  426. # Cancel preselection
  427. super + ctrl + space
  428. bspc node --presel-dir cancel
  429.  
  430. #################################################################
  431. # SUPER + SHIFT KEYS
  432. #################################################################
  433.  
  434. #Reload bspwm
  435. super + shift + r
  436. ~/.config/bspwm/bspwmrc
  437.  
  438. # Kill
  439. super + shift + q
  440. bspc node -c
  441.  
  442. # Logout
  443. super + shift + x
  444. bspc quit
  445.  
  446. # Focus/swap windows by direction
  447. super + {_,shift + }{h,j,k,l}
  448. bspc node --{focus,swap} {west,south,north,east}
  449.  
  450. # Flip layout vertically/horizontally
  451. super + {_,shift + }a
  452. bspc node @/ --flip {vertical,horizontal}
  453.  
  454. # Move focused window to other monitor
  455. super + shift + Left
  456. bspc node -m next --follow
  457.  
  458. # Move focused window to other monitor
  459. super + shift + Right
  460. bspc node -m next --follow
  461.  
  462. # Move focused window to other monitor
  463. super + shift + Up
  464. bspc node -m next --follow
  465.  
  466. # Move focused window to other monitor
  467. super + shift + Down
  468. bspc node -m next --follow
  469.  
  470. #################################################################
  471. # SUPER + CONTROL KEYS
  472. #################################################################
  473.  
  474. # Focus/swap windows by direction
  475. super + ctrl + {Left,Down,Up,Right}
  476. bspc node --{focus} {west,south,north,east}
  477.  
  478. # Contract tiled space
  479. super + ctrl + {h,j,k,l}
  480. bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
  481.  
  482. # Focus parent/brother/first/second for preselection
  483. super + ctrl + {e,r,t,y}
  484. bspc node --focus @{parent,brother,first,second}
  485.  
  486. # Preselect the splitting area for next window on leaf/parent
  487. super + ctrl + {u,i,o,p}
  488. bspc node --presel-dir \~{west,south,north,east}
  489.  
  490. # Define splitting ratio for next window on leaf/parent
  491. super + ctrl + {_,shift +}{1-9}
  492. bspc node {_,@/} --presel-ratio 0.{1-9}
  493.  
  494. #################################################################
  495. # ALT KEYS
  496. #################################################################
  497.  
  498. # Focus selected desktop
  499. alt + Tab
  500. bspc desktop -f '^{1-9,10}'
  501.  
  502. # Focus selected desktop
  503. alt + shift + Tab
  504. bspc desktop -f '^{1-9,10}'
  505.  
  506. # Rotate desktop
  507. alt + space
  508. bspc node @/ --rotate {90,-90}
  509.  
  510. #################################################################
  511. # ALT + SHIFT KEYS
  512. #################################################################
  513.  
  514. # Expand tiled space
  515. alt + shift + {h,j,k,l}
  516. bspc node {@west -r -10,@south -r +10,@north -r -10,@east -r +10}
  517.  
  518. #################################################################
  519. # CTRL + ALT KEYS
  520. #################################################################
  521.  
  522. # Focus next/previous window
  523. ctrl + alt + Left
  524. bspc node --focus west
  525.  
  526. # Focus next/previous window
  527. ctrl + alt + Right
  528. bspc node --focus east
  529.  
  530. # Focus Up window
  531. ctrl +alt + Up
  532. bspc node --focus north
  533.  
  534. # Focus Down window
  535. ctrl + alt + Down
  536. bspc node --focus south
  537.  
  538. #################################################################
  539.  
Add Comment
Please, Sign In to add comment