Cleanup configs
This commit is contained in:
parent
e7ae131ef1
commit
88aff77c72
7 changed files with 13 additions and 25 deletions
|
@ -6,7 +6,7 @@ element = 'flatpak run im.riot.Riot'
|
|||
kdeconnect = '$HOME/.nix-profile/libexec/kdeconnectd'
|
||||
parcellite = 'parcellite'
|
||||
qutebrowser = 'qutebrowser'
|
||||
spotify = 'spotifyd --no-daemon'
|
||||
spotifyd = 'spotifyd --no-daemon'
|
||||
sxhkd = 'sxhkd'
|
||||
syncthing = 'syncthing -no-browser'
|
||||
teamspeak = 'flatpak run com.teamspeak.TeamSpeak -nosingleinstance'
|
||||
|
|
|
@ -65,6 +65,7 @@ export QT_QPA_PLATFORMTHEME="qt5ct"
|
|||
#export SDL_VIDEODRIVER="wayland"
|
||||
|
||||
export TERMINAL="alacritty"
|
||||
export TIME_STYLE="long-iso"
|
||||
|
||||
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
inherit = bar/base
|
||||
|
||||
modules-left = bspwm title
|
||||
modules-center = player-mpris-simple
|
||||
modules-right = openweather memory cpu temperature eth check-arch-updates date
|
||||
|
||||
eth-interface = enp0s31f6
|
||||
|
@ -57,6 +56,7 @@
|
|||
inherit = bar/portalo-base
|
||||
|
||||
modules-left = bspwm bsp-layout-primary title
|
||||
modules-center = player-mpris-simple
|
||||
|
||||
monitor = ${env:MONITOR_PRIMARY}
|
||||
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
playerctl="playerctl -p spotifyd"
|
||||
|
||||
player_status=$($playerctl status 2> /dev/null)
|
||||
|
||||
if [ "$player_status" = "Playing" ]; then
|
||||
echo " $($playerctl metadata -f '{{title}} - {{artist}} | {{duration(position)}}/{{duration(mpris:length)}}')"
|
||||
elif [ "$player_status" = "Paused" ]; then
|
||||
echo " $($playerctl metadata -f '{{title}} - {{artist}} | {{duration(position)}}/{{duration(mpris:length)}}')"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
playerctl -p spotifyd metadata -f '{{ uc(status) }} {{title}} - {{artist}} | {{duration(position)}}/{{duration(mpris:length)}}' 2>/dev/null \
|
||||
| sed -e 's/PLAYING//' \
|
||||
-e 's/PAUSED//' \
|
||||
-e 's/STOPPED//'
|
||||
|
|
|
@ -122,12 +122,6 @@ super + bracket{left,right}
|
|||
super + {grave,Tab}
|
||||
bspc {node,desktop} -f last
|
||||
|
||||
# focus the older or newer node in the focus history
|
||||
super + {o,i}
|
||||
bspc wm -h off; \
|
||||
bspc node {older,newer} -f; \
|
||||
bspc wm -h on
|
||||
|
||||
# focus or send to the given desktop
|
||||
super + {_,shift + }{1-9,0}
|
||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue