vim copilot, waybar config

This commit is contained in:
2025-07-04 19:57:35 -07:00
parent 5e635a8ef1
commit e0adb27cb0
20 changed files with 1051 additions and 218 deletions

16
scripts/kanshi-save-profile Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
name=$1
if [ -z "$name" ]; then
echo "Usage: $0 <name>"
exit 1
fi
echo "Saving profile $name"
echo -e "\nprofile $name {" >> ~/.config/kanshi/config
swaymsg -t get_outputs | \
jq '.[] | " output '"'"'\(.make) \(.model) \(.serial)'"'"' mode \(.current_mode.width)x\(.current_mode.height) position \(.rect.x),\(.rect.y)"' -r \
>> ~/.config/kanshi/config