Skip to content

Instantly share code, notes, and snippets.

@notquitethereyet
Last active August 9, 2022 15:27
Show Gist options
  • Save notquitethereyet/84fa846dfb11934e167e0d13d7bbd721 to your computer and use it in GitHub Desktop.
Save notquitethereyet/84fa846dfb11934e167e0d13d7bbd721 to your computer and use it in GitHub Desktop.
My archcraft config
###pinejinx alias in .zshrc
alias pinejinx='bash -c "$(curl -s https://raw.githubusercontent.com/edisionnano/Pine-jinx/main/pinejinx.sh)"'
then run `source ~/.zshrc`
### in openbox autostart
nordvpn c sg &
#flameshot &
solaar --window=hide &
qbittorrent &
##spotify polybar in .config/openbox/polybar
https://github.com/mihirlad55/polybar-spotify-module
modules-center = LD date RD sep spotify sep previous sep playpause sep next
[module/previous]
type = custom/ipc
format-font = 2
; Default
hook-0 = echo ""
; When spotify active
hook-1 = echo "玲"
click-left = "spotifyctl -q previous"
[module/next]
type = custom/ipc
format-font = 2
; Default
hook-0 = echo ""
; When spotify active
hook-1 = echo "怜"
click-left = "spotifyctl -q next"
[module/playpause]
type = custom/ipc
format-font = 2
; Default
hook-0 = echo ""
; Playing
hook-1 = echo ""
; Paused
hook-2 = echo ""
click-left = "spotifyctl -q playpause"
[module/spotify]
type = custom/ipc
; Default
hook-0 = echo ""
; Playing/paused show song name and artist
hook-1 = spotifyctl -q status --format '%artist%: %title%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment