mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 06:32:03 +00:00
Update 2025-07-17
This commit is contained in:
3
local/bin/get-spotify-id
Executable file
3
local/bin/get-spotify-id
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
wpctl status | rg -o '^\s*\d+\.\s*spotify' | awk 'NR==2 {print $1}' | tr -d '.'
|
||||
@@ -14,6 +14,7 @@ killall xcape 2>/dev/null
|
||||
# Turn off caps lock if on since there is no longer a key for it.
|
||||
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
||||
# Turn on num lock
|
||||
xset -q | grep "Num Lock:\s*off" && xdotool key Num_Lock
|
||||
# xset -q | grep "Num Lock:\s*off" && xdotool key Num_Lock
|
||||
xset -q | grep "Num Lock:\s*on" && xdotool key Num_Lock
|
||||
|
||||
setxkbmap lv
|
||||
|
||||
Reference in New Issue
Block a user