Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

521 lines
17 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. # startup {{{ #
  2. # vim: fdm=marker
  3. set $browser "firefox"
  4. # set $browser "chromium"
  5. set $def_term "urxvt"
  6. set $scripts_path "/home/kevin/scripts"
  7. exec redshift -O 2000
  8. # exec redshift -O 3000
  9. # random bg
  10. exec compton
  11. exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing")
  12. exec imwheel
  13. exec xmodmap ~/.Xmodmap
  14. exec xset r rate $XSET_DELAY $XSET_RATE
  15. exec xrdb ~/.Xresources
  16. exec --no-startup-id dunst
  17. exec --no-startup-id start-pulseaudio-x11
  18. exec --no-startup-id i3-msg 'workspace $ws2; exec $def_term'
  19. exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
  20. # exec --no-startup-id i3-msg 'workspace $ws11; exec $swex'
  21. exec_always --no-startup-id numlockx on
  22. # }}} startup #
  23. # applications {{{ #
  24. set $mod Mod1
  25. set $sch_dir "$HOME/Documents/School"
  26. # app shortcuts {{{ #
  27. # bindsym $mod+control+Return exec i3-sensible-terminal
  28. # bindsym $mod+control+Return exec $def_term
  29. bindsym control+Return exec $def_term
  30. # bindsym Mod4+1 exec xdotool click --repeat 5 --delay 100 1
  31. # bindsym Mod4+2 exec xdotool click --repeat 10 --delay 100 1
  32. # bindsym Mod4+3 exec xdotool click --repeat 20 --delay 100 1
  33. bindsym Mod4+a exec studio
  34. bindsym Mod4+b layout tabbed; exec zathura
  35. bindsym Mod4+c exec $browser
  36. # bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)"
  37. bindsym Mod4+f exec firefox
  38. bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard
  39. bindsym Mod4+h exec echo 'kevin.mok@live.ca' | xclip -selection clipboard
  40. bindsym Mod4+$mod+m exec pass -c uoft/markus
  41. bindsym Mod4+n exec urxvt -e nvim
  42. bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail
  43. bindsym Mod4+$mod+o exec xset dpms force off
  44. # bindsym Mod4+p workspace $ws4; exec pgadmin3
  45. # bindsym Mod4+p exec pycharm
  46. bindsym Mod4+p exec passmenu
  47. # bindsym Mod4+$mod+p exec notify-send "ping" "$(ping -c 3 -W 1 8.8.8.8)"
  48. bindsym Mod4+q exec qdirstat
  49. bindsym Mod4+r exec urxvt -e ranger
  50. bindsym Mod4+$mod+r exec notify-send "watson restart" "$(watson restart)"
  51. bindsym control+$mod+s exec systemctl suspend
  52. # bindsym Mod4+t exec st
  53. bindsym Mod4+$mod+t exec xclip -selection clipboard ~/.password-store/social/trapbot
  54. bindsym Mod4+u exec echo 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
  55. bindsym Mod4+$mod+u exec pass -c uoft/acorn
  56. bindsym Mod4+w exec notify-send "watson status" "$(watson status)"
  57. bindsym Mod4+$mod+w exec notify-send "watson stop" "$(watson status && watson stop)"
  58. bindsym control+$mod+w exec urxvt -e nvim /home/kevin/.config/watson/state.tmp
  59. # bindsym Mod4+x exec $swex
  60. bindsym Mod4+x exec xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE
  61. bindsym Mod4+z exec cliqz
  62. # bindsym Print exec gscreenshot
  63. bindsym Print --release exec "scrot -s /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
  64. bindsym control+Print --release exec "scrot -u /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
  65. # }}} app shortcuts #
  66. # redshift {{{ #
  67. bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1100
  68. bindsym $mod+Mod4+2 exec redshift -x && redshift -O 2000
  69. bindsym $mod+Mod4+3 exec redshift -x && redshift -O 3000
  70. bindsym $mod+Mod4+4 exec redshift -x && redshift -O 4000
  71. bindsym $mod+Mod4+5 exec redshift -x && redshift -O 5000
  72. bindsym $mod+Mod4+grave exec redshift -x
  73. # old
  74. # bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1000
  75. # bindsym $mod+Mod4+3 exec redshift -x && redshift -O 1500
  76. # bindsym $mod+Mod4+3 exec redshift -x && redshift -O 2500
  77. # }}} redshift #
  78. # backlight {{{ #
  79. bindsym Shift+F1 exec xbacklight -set 10
  80. bindsym Shift+F2 exec xbacklight -set 20
  81. bindsym Shift+F3 exec xbacklight -set 30
  82. bindsym Shift+F4 exec xbacklight -set 40
  83. bindsym Shift+F5 exec xbacklight -set 50
  84. bindsym Shift+F6 exec xbacklight -set 60
  85. bindsym Shift+F7 exec xbacklight -set 70
  86. bindsym Shift+F8 exec xbacklight -set 80
  87. bindsym Shift+F9 exec xbacklight -set 90
  88. bindsym Shift+F0 exec xbacklight -set 100
  89. # }}} backlight #
  90. # menu {{{ #
  91. # start dmenu (a program launcher)
  92. # bindsym Mod4+Return exec dmenu_run
  93. # There also is the (new) i3-dmenu-desktop which only displays applications
  94. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  95. # installed.
  96. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  97. # }}} menu #
  98. # Use Mouse+$mod to drag floating windows to their wanted position
  99. floating_modifier $mod
  100. for_window [class="Peek"] floating enable
  101. # }}} applications #
  102. # changing/focusing/moving windows {{{ #
  103. # change focus
  104. bindsym control+h focus left
  105. bindsym control+j focus down
  106. bindsym control+k focus up
  107. bindsym control+l focus right
  108. # move workspace to other monitor
  109. bindsym $mod+minus move workspace to output left
  110. bindsym $mod+plus move workspace to output right
  111. # alternatively, you can use the cursor keys:
  112. bindsym $mod+Left focus left
  113. bindsym $mod+Down focus down
  114. bindsym $mod+Up focus up
  115. bindsym $mod+Right focus right
  116. # move focused window
  117. bindsym control+Shift+h move left
  118. bindsym control+Shift+j move down
  119. bindsym control+Shift+k move up
  120. bindsym control+Shift+l move right
  121. # alternatively, you can use the cursor keys:
  122. bindsym $mod+Shift+Left move left
  123. bindsym $mod+Shift+Down move down
  124. bindsym $mod+Shift+Up move up
  125. bindsym $mod+Shift+Right move right
  126. # split in horizontal orientation
  127. bindsym $mod+b split h
  128. bindsym Mod4+$mod+b split h; exec $def_term
  129. # split in vertical orientation
  130. bindsym $mod+v split v
  131. bindsym Mod4+$mod+v split v; exec $def_term
  132. # bindsym control+Shift+x kill
  133. bindsym shift+x kill
  134. # }}} changing/focusing/moving windows #
  135. # container display {{{ #
  136. # backgrounds
  137. # set $colors_sh "~/.cache/wal/colors.sh"
  138. bindsym $mod+q exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/editing")
  139. bindsym $mod+w exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing")
  140. # bindsym $mod+w exec ~/linux-config/scripts/bg-chooser
  141. bindsym $mod+r exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/editing")
  142. bindsym $mod+y exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/non-editing")
  143. # enter fullscreen mode for the focused container
  144. bindsym $mod+f fullscreen toggle
  145. # change container layout (stacked, tabbed, toggle split)
  146. bindsym $mod+s layout stacking
  147. bindsym $mod+t layout tabbed
  148. bindsym $mod+e layout toggle split
  149. # toggle tiling /floating
  150. bindsym $mod+Shift+space floating toggle
  151. # change focus between tiling / floating windows
  152. bindsym $mod+space focus mode_toggle
  153. # focus the parent container
  154. bindsym $mod+a focus parent
  155. # focus the child container
  156. #bindsym $mod+d focus child
  157. # change container colors from pywal {{{ #
  158. # Set colors from Xresources
  159. # Change 'color7' and 'color2' to whatever colors you want i3 to use
  160. # from the generated scheme.
  161. # NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
  162. # it fails to get colors from Xresources.
  163. set_from_resource $fg i3wm.color7 #f0f0f0
  164. set_from_resource $bg i3wm.color2 #f0f0f0
  165. # class border backgr. text indicator child_border
  166. client.focused $bg $bg $fg $bg $bg
  167. # client.unfocused $fg $bg $fg $bg $fg
  168. # client.urgent $bg $bg $fg $bg $bg
  169. # client.placeholder $bg $bg $fg $bg $bg
  170. # client.background $bg
  171. # PROTIP: You can also dynamically set dmenu's colors this way:
  172. bindsym Mod4+Return exec dmenu_run -nb "$fg" -nf "$bg" -sb "$bg" -sf "$fg"
  173. # }}} change container colors from pywal #
  174. # }}} container display #
  175. # workspace {{{ #
  176. # ws names {{{ #
  177. set $samsung "DVI-I-1"
  178. set $benq "HDMI-0"
  179. set $ws1 "1 "
  180. workspace $ws1 output $benq
  181. bindsym $mod+F1 workspace $ws1; exec $def_term
  182. set $ws2 "2 "
  183. workspace $ws2 output $samsung
  184. bindsym $mod+F2 workspace $ws2; exec $def_term
  185. set $ws3 "3 "
  186. # set $ws3 "3 "
  187. workspace $ws3 output $benq
  188. bindsym $mod+F3 workspace $ws3; exec $browser
  189. set $ws4 "4 "
  190. workspace $ws4 output $samsung
  191. bindsym $mod+F4 workspace $ws4; exec $def_term
  192. set $ws5 "5 "
  193. # set $ws5 "5 🎥"
  194. workspace $ws5 output $samsung
  195. assign [class="Steam"] $ws5
  196. bindsym $mod+F5 workspace $ws5; exec $browser
  197. bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam
  198. bindsym Mod4+t workspace $ws5; exec thunderbird
  199. bindsym Mod4+5 workspace $ws5; exec cd ~/coding/ada-mario-prep && godot -e
  200. for_window [class="ada-mario-prep"] floating enable
  201. for_window [class="Move_mouse_with_head"] floating enable
  202. set $ws6 "6 "
  203. workspace $ws6 output $samsung
  204. assign [class="Slack"] $ws6
  205. bindsym Mod4+d workspace $ws6; exec discord
  206. bindsym Mod4+i workspace $ws6; exec firefox -new-window https://riot.im/app/#/home
  207. bindsym Mod4+k workspace $ws6; exec slack
  208. set $ws7 "7 "
  209. # set $ws7 "7 📤"
  210. workspace $ws7 output $samsung
  211. bindsym $mod+F7 workspace $ws7; exec $def_term
  212. # bindsym Mod4+v workspace $ws7; exec VBoxManage startvm "369-a1"
  213. set $ws8 "8 "
  214. # set $ws8 "8 📊"
  215. # assign [class="jetbrains-"] $ws8
  216. workspace $ws8 output $samsung
  217. bindsym $mod+F8 workspace $ws8; exec $def_term
  218. set $ws9 "9 "
  219. # set $ws9 "9 🔧"
  220. workspace $ws9 output $samsung
  221. bindsym $mod+F9 workspace $ws9; exec $def_term
  222. set $ws10 "10 "
  223. # set $ws10 "10 🎵"
  224. assign [class="spotify"] $ws10
  225. workspace $ws10 output $samsung
  226. set $hp 2
  227. # bindsym Mod4+v workspace $ws10; exec urxvt -e alsamixer -c 0
  228. bindsym Mod4+v workspace $ws10; exec urxvt -e cava
  229. # bindsym Mod4+h workspace $ws10; exec urxvt -e alsamixer -c $hp
  230. bindsym Mod4+s workspace $ws10; exec spotify
  231. set $ws11 "11 "
  232. # set $ws11 "11 📊"
  233. # assign [class="Summoners War Exporter"] $ws11
  234. workspace $ws11 output $samsung
  235. bindsym $mod+F11 workspace $ws11; exec urxvt -e htop -s PERCENT_CPU
  236. set $ws12 "12 "
  237. bindsym $mod+F12 workspace $ws12; exec $def_term
  238. set $ws13 "13 "
  239. bindsym Mod4+F3 workspace $ws13; exec $def_term
  240. set $ws14 "14"
  241. set $ws15 "15"
  242. # }}} ws names #
  243. # ws bindings {{{ #
  244. # switch to workspace
  245. bindsym $mod+h workspace prev
  246. bindsym $mod+l workspace next
  247. bindsym $mod+1 workspace $ws1
  248. bindsym $mod+2 workspace $ws2
  249. bindsym $mod+3 workspace $ws3
  250. bindsym $mod+4 workspace $ws4
  251. bindsym $mod+5 workspace $ws5
  252. bindsym $mod+6 workspace $ws6
  253. bindsym $mod+7 workspace $ws7
  254. bindsym $mod+8 workspace $ws8
  255. bindsym $mod+9 workspace $ws9
  256. bindsym $mod+0 workspace $ws10
  257. bindsym Mod4+1 workspace $ws11
  258. # bindsym Mod4+2 workspace $ws12
  259. # bindsym Mod4+3 workspace $ws13
  260. # bindsym Mod4+4 workspace $ws14
  261. # bindsym Mod4+5 workspace $ws15
  262. # }}} ws bindings #
  263. # move container to ws {{{ #
  264. # move focused container to workspace
  265. # bindsym $mod+control+1 move container to workspace $ws1
  266. bindsym $mod+control+1 move container to workspace $ws1; workspace $ws1
  267. bindsym $mod+control+2 move container to workspace $ws2; workspace $ws2
  268. bindsym $mod+control+3 move container to workspace $ws3; workspace $ws3
  269. bindsym $mod+control+4 move container to workspace $ws4; workspace $ws4
  270. bindsym $mod+control+5 move container to workspace $ws5; workspace $ws5
  271. bindsym $mod+control+6 move container to workspace $ws6; workspace $ws6
  272. bindsym $mod+control+7 move container to workspace $ws7; workspace $ws7
  273. bindsym $mod+control+8 move container to workspace $ws8; workspace $ws8
  274. bindsym $mod+control+9 move container to workspace $ws9; workspace $ws9
  275. bindsym $mod+control+0 move container to workspace $ws10; workspace $ws10
  276. bindsym $mod+Shift+1 move container to workspace $ws11; workspace $ws11
  277. bindsym $mod+Shift+2 move container to workspace $ws12; workspace $ws12
  278. bindsym $mod+Shift+3 move container to workspace $ws13; workspace $ws13
  279. bindsym $mod+Shift+4 move container to workspace $ws14; workspace $ws14
  280. bindsym $mod+Shift+5 move container to workspace $ws15; workspace $ws15
  281. # }}} move container to ws #
  282. # }}} workspace #
  283. # reload config/computer {{{ #
  284. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  285. # bindsym $mod+control+r exec ~/.cache/wal/colors.sh; restart
  286. bindsym $mod+control+r exec i3-msg restart
  287. # bindsym $mod+control+r exec $colors_sh && i3-msg restart
  288. # reload the configuration file
  289. bindsym $mod+Shift+c reload
  290. # bindsym $mod+control+r reload
  291. bindsym $mod+control+u exec xrdb ~/.Xresources
  292. # exit i3 (logs you out of your X session)
  293. 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'"
  294. # }}} reload config #
  295. # resizing windows {{{ #
  296. bindsym $mod+control+h resize grow width 5 px or 5 ppt
  297. bindsym $mod+control+k resize grow height 5 px or 5 ppt
  298. bindsym $mod+control+j resize shrink height 5 px or 5 ppt
  299. bindsym $mod+control+l resize shrink width 5 px or 5 ppt
  300. # }}} resizing windows #
  301. # gaps {{{ #
  302. # remove window titlebars
  303. for_window [class="^.*"] border pixel 3
  304. # for_window [class="^.*"] border pixel 1
  305. set $inner_gaps 40
  306. set $outer_gaps 0
  307. # gaps inner $inner_gaps
  308. # gaps outer $outer_gaps
  309. # gaps bottom 0
  310. gaps inner 0
  311. gaps outer 0
  312. # other gaps {{{ #
  313. # gaps horizontal 20
  314. # gaps vertical 10
  315. # gaps top
  316. # gaps left 20
  317. # gaps right 20
  318. # gaps bottom
  319. # }}} other gaps #
  320. bindsym control+shift+plus gaps inner all set $inner_gaps;gaps outer all set $outer_gaps
  321. bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0
  322. # }}} gaps #
  323. # status bar {{{ #
  324. # Start i3bar to display a workspace bar (plus the system information i3status
  325. # finds out, if available)
  326. set $sb_font DejaVuSansMono Nerd Font Mono Bold
  327. # set $sb_font Hack NF Bold
  328. # set $sb_font EmojiOne
  329. set $black #000000
  330. set $white #ffffff
  331. for_window [class="Yad"] floating enable
  332. # inactive vars {{{ #
  333. # set $inactive_ws_bg $white
  334. set $inactive_ws_bg #444c52
  335. # set $inactive_ws_trans 96
  336. set $inactive_ws_trans 00
  337. # }}} inactive #
  338. # set $active_ws_trans 91
  339. set $active_ws_trans 4b
  340. set $focused_ws_text #ffffff
  341. # benq bar {{{ #
  342. # set $bar_trans 64
  343. set $bar_trans 00
  344. set $benq_ws_trans aa
  345. bar {
  346. i3bar_command i3bar -t
  347. font pango:$sb_font 21
  348. # font pango:$sb_font 14
  349. colors {
  350. # 0 (transparent) -> 255 (opaque) in hex
  351. background $black$bar_trans
  352. # border, bg, text color
  353. # focused_workspace $inactive_ws_bg $bg $focused_ws_text
  354. focused_workspace $inactive_ws_bg $bg $fg
  355. # active = focused on other screen
  356. active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
  357. inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
  358. }
  359. tray_output none
  360. status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
  361. # status_command 2>/tmp/i3blocks.err i3blocks -vvv -c ~/.config/i3blocks/i3blocks.conf | tee /tmp/i3blocks.out
  362. output $benq
  363. wheel_up_cmd nop
  364. wheel_down_cmd nop
  365. }
  366. # }}} benq bar #
  367. # sam bar {{{ #
  368. bar {
  369. output $samsung
  370. font pango:$sb_font 25
  371. # font pango:$sb_font 15
  372. # output $benq
  373. i3bar_command i3bar -t
  374. colors {
  375. background $black$bar_trans
  376. # border, bg, text color
  377. # focused_workspace $inactive_ws_bg $bg $focused_ws_text
  378. focused_workspace $inactive_ws_bg $bg $fg
  379. active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
  380. inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
  381. }
  382. status_command i3blocks -c ~/.config/i3blocks/sam-i3blocks.conf
  383. # status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
  384. tray_output none
  385. wheel_up_cmd nop
  386. wheel_down_cmd nop
  387. }
  388. # }}} samsung bar #
  389. # # # display {{{ #
  390. # bar {
  391. # i3bar_command i3bar -t
  392. # font pango:$sb_font 23
  393. # tray_output none
  394. # status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf
  395. # output $samsung
  396. # wheel_up_cmd nop
  397. # wheel_down_cmd nop
  398. # }
  399. # # }}} display #
  400. # }}} status bar #
  401. # mod key/font {{{ #
  402. set $mod Mod1
  403. # Font for window titles. Will also be used by the bar unless a different font
  404. # is used in the bar {} block below.
  405. # font pango:Hack 11
  406. # font pango:$sb_font 8
  407. font pango:$sb_font 11
  408. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  409. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  410. #font pango:DejaVu Sans Mono 8
  411. # Before i3 v4.8, we used to recommend this one as the default:
  412. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  413. # The font above is very space-efficient, that is, it looks good, sharp and
  414. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  415. # X core fonts rendering does not support right-to-left and this being a bitmap
  416. # font, it doesn’t scale on retina/hidpi displays.
  417. # }}} mod key/font #
  418. # media keys {{{ #
  419. bindsym control+d exec ~/linux-config/scripts/change-sink dac
  420. # bindsym control+shift+d exec ~/linux-config/scripts/change-sink dac2
  421. bindsym control+o exec ~/linux-config/scripts/change-sink line-out
  422. bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
  423. bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
  424. bindsym XF86AudioMute exec amixer -q -D pulse sset Master toggle && pkill -RTMIN+1 i3blocks
  425. # Media player controls
  426. bindsym XF86AudioPlay exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
  427. bindsym XF86AudioStop exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop"
  428. bindsym XF86AudioPrev exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
  429. bindsym XF86AudioNext exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
  430. # }}} media keys #