Switch from sway to hyprland
This commit is contained in:
parent
524bffc068
commit
2be0e3847b
16 changed files with 194 additions and 204 deletions
9
scripts/autostart
Executable file
9
scripts/autostart
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
swaybg -o '*' -i "$1" -m fill &
|
||||
|
||||
waybar &
|
||||
|
||||
swayidle timeout 120 'swaylock -f --grace=180' \
|
||||
timeout 600 'systemctl suspend' \
|
||||
before-sleep 'swaylock -f' &
|
||||
4
scripts/exit
Executable file
4
scripts/exit
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
pkill -0 swaynag || \
|
||||
swaynag -t exit -m "Do you really want to exit?" \
|
||||
-B "Reboot" "reboot" -B "Shutdown" "poweroff" -b "Exit" "hyprctl dispatch exit"
|
||||
4
scripts/multimedia
Executable file
4
scripts/multimedia
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
notify-send "$1" -c multimedia -a "$2" \
|
||||
$(makoctl list | jq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \
|
||||
-h "INT:value:$3"
|
||||
4
scripts/screenshot
Executable file
4
scripts/screenshot
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
grim - | wl-copy
|
||||
notify-send "Screenshot saved to clipboard" \
|
||||
-a grim -c screenshot -u low
|
||||
4
scripts/screenshot-slurp
Executable file
4
scripts/screenshot-slurp
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
grim -g "$(slurp)" - | wl-copy
|
||||
notify-send "Screenshot saved to clipboard" \
|
||||
-a grim -c screenshot -u low
|
||||
Loading…
Add table
Add a link
Reference in a new issue