reorganise
This commit is contained in:
parent
98af4d5664
commit
744f70fc87
14 changed files with 72 additions and 64 deletions
13
system/global/scripts/autostart
Executable file
13
system/global/scripts/autostart
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
nextcloud &
|
||||
waybar &
|
||||
|
||||
swaybg \
|
||||
-o eDP-1 -i ~/Pictures/backgrounds/nix-wallpaper-waterfall.png \
|
||||
-o DP-1 -i ~/Pictures/backgrounds/demonslayer.jpg \
|
||||
-o HDMI-A-1 -i ~/Pictures/backgrounds/nier.jpg &
|
||||
|
||||
swayidle -w \
|
||||
timeout 600 'swaylock &' &
|
||||
|
||||
3
system/global/scripts/bwmenu
Executable file
3
system/global/scripts/bwmenu
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
rbw list | wofi --show dmenu | xargs -I_ rbw get _ | wl-copy
|
||||
11
system/global/scripts/play-pause
Executable file
11
system/global/scripts/play-pause
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$(playerctl --list-all | wc -l)" -lt 2 ]
|
||||
then
|
||||
playerctl play-pause
|
||||
else
|
||||
playerctl --list-all | \
|
||||
xargs -I _ playerctl --player _ metadata --format '_ - {{title}}' | \
|
||||
wofi --dmenu | awk '{print $1}' | \
|
||||
xargs -I _ playerctl --player _ play-pause
|
||||
fi
|
||||
9
system/global/scripts/screenshot
Executable file
9
system/global/scripts/screenshot
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
OUT_DIR=${GRIM_DEFAULT_DIR:-~/Pictures/Screenshots/}
|
||||
mkdir -p "$OUT_DIR"
|
||||
|
||||
grim -g "$(slurp -o)" - | wl-copy
|
||||
notify-send "Screenshot Taken" "to the clipboard"
|
||||
wl-paste > $OUT_DIR/$(date +"%Y-%m-%dT%H:%M:%SZ").png
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue