some stuff

This commit is contained in:
Zastian Pretorius
2022-09-05 19:06:47 +01:00
parent 21341c0ffe
commit de70bf6504
12 changed files with 312 additions and 243 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
#chack to see if waybar is running
if pgrep -x "waybar" >/dev/null; then
killall -s SIGKILL -q waybar
else
waybar &>/dev/null &
fi

9
script/.config/script/startw Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORM=wayland
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP=sway
export GDK_BACKEND="wayland,x11"
export MOZ_ENABLE_WAYLAND=1
exec Hyprland

View File

@@ -1,5 +1,5 @@
#!/bin/sh
swayidle -w \
timeout 900 'sudo systemctl suspend' \
before-sleep 'swaylock -i $HOME/Pictures/Wallpapers/015.jpg --ring-color 8218c4 --key-hl-color 3e0c60'
timeout 600 'systemctl suspend' \
before-sleep 'swaylock -i $HOME/Pictures/Wallpapers/130.jpg --ring-color 8218c4 --key-hl-color 3e0c60'

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
grim -g "$(slurp)" - | swappy -f -