From 1e1c2bbe640d897a092b211f15f583de57728e3c Mon Sep 17 00:00:00 2001 From: azpsen Date: Wed, 26 Feb 2025 11:29:29 -0600 Subject: [PATCH] added bluetooth menu, switched to supersonic for music --- .config/polybar/config.ini | 13 +++++++++++-- .config/sxhkd/sxhkdrc | 10 +++++++--- README.md | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 4719771..1f55da0 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -55,7 +55,7 @@ font-0 = "JetBrainsMonoNL Nerd Font Mono:pixelsize=12;2" modules-left = bspwm xwindow modules-center = date -modules-right = music systray filesystem memory cpu wlan powermenu +modules-right = music systray filesystem memory cpu bluetooth wlan powermenu cursor-click = pointer ; cursor-scroll = ns-resize @@ -99,7 +99,7 @@ font-0 = "JetBrainsMonoNL Nerd Font Mono:pixelsize=12;2" modules-left = bspwm xwindow modules-center = date -modules-right = music filesystem memory cpu wlan powermenu +modules-right = music filesystem memory cpu bluetooth wlan powermenu cursor-click = pointer ; cursor-scroll = ns-resize @@ -233,6 +233,15 @@ format-prefix = "cpu " format-prefix-foreground = ${colors.primary} label = %percentage:2%% +[module/bluetooth] +type = custom/script +# exec = rofi-bluetooth --status +interval = 1 +click-left = rofi-bluetooth & +format-prefix = "bt " +format-prefix-foreground = ${colors.primary} +label = rofi-bluetooth --status + [network-base] type = internal/network interval = 5 diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 764acbb..cf48658 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -34,6 +34,10 @@ super + p super + shift + p rofi-rbw --prompt '  pw ' --selector-args '-font "JetBrainsMonoNL Nerd Font Mono" -monitor -1' +# bluetooth menu +super + shift + b + rofi-bluetooth + # print screen Print path="$HOME/pic/screenshots/$(date +"%s - %Y-%m-%d").png" && maim "$path" && xclip -selection clipboard -t image/png -i "$path" @@ -160,10 +164,10 @@ super + {Left,Down,Up,Right} # super + space - playerctl --player=Feishin play-pause + playerctl --player=Supersonic play-pause super + period - playerctl --player=Feishin next + playerctl --player=Supersonic next super + comma - playerctl --player=Feishin previous + playerctl --player=Supersonic previous diff --git a/README.md b/README.md index c5d8677..a9e6678 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Arch Linux + BSPWM - [neovim](https://neovim.io/) - ide/text editor ### media -- music: [feishin](https://github.com/jeffvli/feishin) + [jellyfin](https://jellyfin.org) +- music: [supersonic](https://github.com/dweymouth/supersonic) + [jellyfin](https://jellyfin.org) ### fun - [cava](https://github.com/karlstav/cava) - music visualizer