Advertisement
poetician

Herbstluftwm in ArcoLinux 03 Rofi Icons in sxhkdrc

Oct 21st, 2019
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 KB | None | 0 0
  1. #########################
  2. # SUPER + FUNCTION KEYS #
  3. #########################
  4. # if you want to assign applications to specific tags or workspaces
  5. # add a command behind the application to focus on that workspace if required
  6. # index 0 corresponds to tag or workspace 1
  7. # index 1 corresponds to tag or workspace 2
  8. # example
  9.  
  10. # Vivaldi
  11. #super + F1
  12. # vivaldi-stable & herbstclient use_index 0
  13.  
  14. # Firefox
  15. #super + F1
  16. # firefox & herbstclient use_index 0
  17.  
  18. # Atom
  19. super + F2
  20. atom & herbstclient use_index 1
  21.  
  22. # LibreOffice Writer
  23. super + F4
  24. libreoffice & herbstclient use_index 3
  25.  
  26. # Gimp
  27. super + F5
  28. gimp & herbstclient use_index 4
  29.  
  30. # Kdenlive
  31. super + F6
  32. kdenlive & herbstclient use_index 5
  33.  
  34. # Vlc
  35. super + F1
  36. vlc --video-on-top & herbstclient use_index 2
  37.  
  38. # Google Earth
  39. super + F7
  40. google earth pro & herbstclient use_index 6
  41.  
  42. # Nemo
  43. super + F8
  44. nemo & herbstclient use_index 7
  45.  
  46. # Thunderbird
  47. super + F9
  48. thunderbird & herbstclient use_index 8
  49.  
  50. # Rhythmbox
  51. super + F3
  52. rhythmbox & herbstclient use_index 2
  53.  
  54. # Rofi Fullscreen
  55. super + F11
  56. rofi -show drun -fullscreen -show-icons
  57.  
  58. # Rofi
  59. super + F12
  60. rofi -show drun -theme arthur -show-icons -columns 4 -lines 12 -eh 2 -width 60 -padding 60 -opacity "50" -bw 0 -bc "#261496" -bg "#f4cd52" -fg "#a16b1c" -hlbg "#054d23" -font "Bauhaus 13" -hlfg "#9575cd"
  61.  
  62. #########################
  63. # SUPER + ... KEYS #
  64. #########################
  65.  
  66. #Atom
  67. super + e
  68. atom
  69.  
  70. #Browser
  71. super + w
  72. vivaldi-stable
  73.  
  74. #conflicts with herbstluftwm
  75. #Conky-toggle
  76. #super + c
  77. # conky-toggle
  78.  
  79. #conflicts with herbstluftwm
  80. #Htop
  81. #super + h
  82. # urxvt 'htop task manager' -e htop
  83.  
  84. #Oblogout
  85. super + x
  86. oblogout
  87.  
  88. #Oblogout
  89. super + Pause
  90. oblogout
  91.  
  92. #Pavucontrol
  93. super + v
  94. pavucontrol
  95.  
  96. #Rhythmbox
  97. super + m
  98. rhythmbox
  99.  
  100. #conflicts with herbstluftwm
  101. #Rofi theme selector
  102. #super + r
  103. # rofi-theme-selector
  104.  
  105. #Termite
  106. super + Return
  107. termite
  108.  
  109. #conflicts with herbstluftwm
  110. #Thunar
  111. #super + f
  112. # thunar
  113.  
  114. #Urxvt
  115. super + t
  116. urxvt
  117.  
  118. #Xkill
  119. super + Escape
  120. xkill
  121.  
  122. #Keyboard dependent
  123. #super + KP_Enter
  124. # termite
  125.  
  126.  
  127. #########################
  128. # SUPER + SHIFT KEYS #
  129. #########################
  130.  
  131. #File-Manager
  132. super + shift + Return
  133. thunar
  134.  
  135. #dmenu
  136. super + shift + d
  137. dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14'
  138.  
  139. #reload sxhkd:
  140. super + shift + s
  141. pkill -USR1 -x sxhkd
  142.  
  143. #Keyboard dependent
  144. #super + shift + KP_Enter
  145. # thunar
  146.  
  147.  
  148. #########################
  149. # CONTROL + ALT KEYS #
  150. #########################
  151.  
  152. #am-rotate-conky
  153. ctrl + alt + Next
  154. am-rotate-conky -n
  155.  
  156. #am-rotate-conky
  157. ctrl + alt + Prior
  158. am-rotate-conky -p
  159.  
  160. #Atom
  161. ctrl + alt + w
  162. atom
  163.  
  164. #Catfish
  165. ctrl + alt + c
  166. catfish
  167.  
  168. #Chromium
  169. ctrl + alt + g
  170. chromium -no-default-browser-check
  171.  
  172. #Compton Toggle
  173. ctrl + alt + o
  174. ~/.config/herbstluftwm/scripts/compton-toggle.sh
  175.  
  176. #Evolution
  177. ctrl + alt + e
  178. evolution
  179.  
  180. #Firefox
  181. ctrl + alt + f
  182. firefox
  183.  
  184. #Nitrogen
  185. ctrl + alt + i
  186. nitrogen
  187.  
  188. #Oblogout
  189. ctrl + alt + Delete
  190. oblogout
  191.  
  192. #Pamac-manager
  193. ctrl + alt + p
  194. pamac-manager
  195.  
  196. #Pulse Audio Control
  197. ctrl + alt + u
  198. pavucontrol
  199.  
  200. #Rofi theme selector
  201. ctrl + alt + r
  202. rofi-theme-selector
  203.  
  204. #Slimlock
  205. ctrl + alt + k
  206. slimlock
  207.  
  208. #Slimlock
  209. ctrl + alt + l
  210. slimlock
  211.  
  212. #Spotify
  213. ctrl + alt + s
  214. spotify
  215.  
  216. #Termite
  217. ctrl + alt + Return
  218. termite
  219.  
  220. #Thunderbird
  221. ctrl + alt + t
  222. thunderbird
  223.  
  224. #Nemo
  225. ctrl + alt + b
  226. nemo
  227.  
  228. #Vivaldi
  229. ctrl + alt + v
  230. vivaldi-stable
  231.  
  232. #Xfce4-appfinder
  233. ctrl + alt + a
  234. xfce4-appfinder
  235.  
  236. #Xfce4-settings-manager
  237. ctrl + alt + m
  238. xfce4-settings-manager
  239.  
  240. #Keyboard dependent
  241. #ctrl + alt + KP_Enter
  242. # termite
  243.  
  244.  
  245. #########################
  246. # ALT + ... KEYS #
  247. #########################
  248.  
  249. #Wallpaper trash
  250. alt + t
  251. variety -t
  252.  
  253. #Wallpaper next
  254. alt + n
  255. variety -n
  256.  
  257. #Wallpaper previous
  258. alt + p
  259. variety -p
  260.  
  261. #Wallpaper favorite
  262. alt + f
  263. variety -f
  264.  
  265. #Wallpaper previous
  266. alt + Left
  267. variety -p
  268.  
  269. #Wallpaper next
  270. alt + Right
  271. variety -n
  272.  
  273. #Wallpaper toggle-pause
  274. alt + Up
  275. variety --toggle-pause
  276.  
  277. #Wallpaper resume
  278. alt + Down
  279. variety --resume
  280.  
  281. #Gmrun
  282. alt + F2
  283. gmrun
  284.  
  285. #Xfce4-appfinder
  286. alt + F3
  287. xfce4-appfinder
  288.  
  289.  
  290. #########################
  291. #VARIETY KEYS WITH PYWAL#
  292. #########################
  293.  
  294. #Wallpaper trash
  295. alt + shift + t
  296. variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  297.  
  298. #Wallpaper next
  299. alt + shift + n
  300. variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  301.  
  302. #Wallpaper previous
  303. alt + shift + p
  304. variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  305.  
  306. #Wallpaper favorite
  307. alt + shift + f
  308. variety -f && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  309.  
  310. #Wallpaper update
  311. alt + shift + u
  312. wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)&
  313.  
  314.  
  315. #########################
  316. # CONTROL + SHIFT KEYS #
  317. #########################
  318.  
  319. #Xcfe4-TaskManager
  320. ctrl + shift + Escape
  321. xfce4-taskmanager
  322.  
  323.  
  324. #########################
  325. # SCREENSHOTS #
  326. #########################
  327.  
  328. #Scrot
  329. Print
  330. scrot ' %Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'
  331.  
  332. #screeenshooter
  333. ctrl + Print
  334. xfce4-screenshooter
  335.  
  336. #Gnome-Screenshot
  337. ctrl + shift + Print
  338. gnome-screenshot -i
  339.  
  340.  
  341. #########################
  342. # MULTIMEDIA KEYS #
  343. #########################
  344.  
  345. #Raises volume
  346. XF86AudioRaiseVolume
  347. amixer set Master 10%+
  348.  
  349. #Lowers volume
  350. XF86AudioLowerVolume
  351. amixer set Master 10%-
  352.  
  353. #Mute
  354. XF86AudioMute
  355. amixer -D pulse set Master 1+ toggle
  356.  
  357. #Playerctl works for Pragha, Spotify and others
  358. #DELETE the line for mpc if you want to use playerctl
  359. #putting a hashtag in front of the mpc line will NOT work
  360. #mpc works for ncmpcpp
  361.  
  362. #PLAY
  363. XF86AudioPlay
  364. #mpc toggle
  365. playerctl play-pause
  366.  
  367. #Next
  368. XF86AudioNext
  369. #mpc next
  370. playerctl next
  371.  
  372. #previous
  373. XF86AudioPrev
  374. #mpc prev
  375. playerctl previous
  376.  
  377. #Stop
  378. XF86AudioStop
  379. #mpc stop
  380. playerctl stop
  381.  
  382. #Brightness up
  383. XF86MonBrightnessUp
  384. xbacklight -inc 10
  385.  
  386. #Brightness down
  387. XF86MonBrightnessDown
  388. xbacklight -dec 10
  389.  
  390.  
  391. #########################
  392. # POLYBAR #
  393. #########################
  394.  
  395. #Hide polybar
  396. super + y
  397. polybar-msg cmd toggle
  398.  
  399.  
  400. #########################
  401. # DESKTOP SPECIFIC #
  402. #########################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement