mirror of
https://github.com/flickowoa/dotfiles.git
synced 2026-04-06 00:32:09 +02:00
add swayidle and some checks
This commit is contained in:
@@ -26,4 +26,4 @@ misc {
|
||||
|
||||
source=./binds.conf
|
||||
source=./rules.conf
|
||||
source=./profiles/battery.conf
|
||||
source=./profiles/power.conf
|
||||
@@ -9,6 +9,8 @@ dunst &
|
||||
|
||||
foot -s -c $config/components/foot.ini &
|
||||
|
||||
swayidle -w timeout 300 '$HOME/.config/hypr/scripts/lock' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$HOME/.config/hypr/scripts/lock'
|
||||
|
||||
# # waybar
|
||||
# $scripts/launch_waybar &
|
||||
# $scripts/tools/dynamic &
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if ! [ -x "$(command -v light)" ]; then
|
||||
notify-send "light not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
light -A 5
|
||||
notify-send "$(light -G)"
|
||||
@@ -1,3 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if ! [ -x "$(command -v light)" ]; then
|
||||
notify-send "light not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
light -U 5
|
||||
notify-send "$(light -G)"
|
||||
@@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if ! [ -x "$(command -v asusctl)" ]; then
|
||||
notify-send "asusctl not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
current=$(asusctl -k | grep -Eo '[0-9]')
|
||||
|
||||
case $current in
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if ! [ -x "$(command -v asusctl)" ]; then
|
||||
notify-send "asusctl not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
current=$(asusctl -k | grep -Eo '[0-9]')
|
||||
|
||||
case $current in
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if ! [ -x "$(command -v pamixer)" ]; then
|
||||
notify-send "pamixer not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pamixer -i 5
|
||||
notify-send "$(pamixer --get-volume)"
|
||||
@@ -1,3 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ! [ -x "$(command -v pamixer)" ]; then
|
||||
notify-send "pamixer not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pamixer -d 5
|
||||
notify-send "$(pamixer --get-volume)"
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
swaylockd \
|
||||
swaylock \
|
||||
--screenshots \
|
||||
--indicator \
|
||||
--clock \
|
||||
|
||||
Reference in New Issue
Block a user