First commit

This commit is contained in:
Yusuf İpek
2022-12-10 12:44:53 +03:00
commit b9f81411ac
26 changed files with 904 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
xprop | grep WM_CLASS | awk '{ print $4 }' | xclip
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
case "$1" in
lock)
i3lock -c 090000
;;
switch)
dm-tool switch-to-greeter
;;
logout)
i3-msg exit
;;
suspend)
systemctl suspend
;;
hibernate)
systemctl hibernate
;;
reboot)
systemctl reboot
;;
shutdown)
shutdown 0
;;
*)
echo "Usage: $0 {lock|switch|logout|suspend|hibernate|reboot|shutdown}"
exit 2
esac
exit 0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if pgrep -x "picom" > /dev/null
then
killall picom
else
picom -b --config ~/.config/i3/picom.conf
fi