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.

544 lines
18 KiB

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