New backup 2024-04-09 17:45:04
This commit is contained in:
parent
b94d15d862
commit
2eeb6fcf18
2 changed files with 10 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
#
|
||||
|
||||
# Switch to
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+1 workspace "1 : Personal"
|
||||
bindsym $mod+2 workspace "2 : Personal"
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
|
|
8
de/home/.config/sway/scripts/wallpaper
Executable file
8
de/home/.config/sway/scripts/wallpaper
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
swaymsg -r -t subscribe -m '["workspace"]' | jq -rc --unbuffered 'select(.change == "focus") | .current | "\(.name) \(.output)"' | while read name output;do
|
||||
# kill $!
|
||||
wsno=$(echo "$name" | awk '{print $1}')
|
||||
echo $wsno
|
||||
# swaybg -i "$HOME/.config/sway/assets/wallpaper/eDP-1/$name.jpg" -o "$output" &
|
||||
done
|
Loading…
Add table
Reference in a new issue