pain and suffering
This commit is contained in:
commit
510db0f1d4
42 changed files with 2150 additions and 0 deletions
11
config/hypr/scripts/idle_inhibitor.sh
Executable file
11
config/hypr/scripts/idle_inhibitor.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
a=$(pidof hypridle)
|
||||
if [[ $a ]]
|
||||
then
|
||||
killall -9 hypridle
|
||||
notify-send "idle inhibitor activated"
|
||||
else
|
||||
notify-send "idle inhibitor deactivated"
|
||||
hypridle &> /dev/null
|
||||
fi
|
||||
29
config/hypr/scripts/lock.sh
Normal file
29
config/hypr/scripts/lock.sh
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
swaylock \
|
||||
--screenshots \
|
||||
--clock \
|
||||
--hide-keyboard-layout \
|
||||
--indicator \
|
||||
--indicator-radius 100 \
|
||||
--indicator-thickness 7 \
|
||||
--effect-blur 7x5 \
|
||||
--effect-vignette 0.5:0.5 \
|
||||
--ring-color cba6f7 \
|
||||
--ring-ver-color 89b4fa \
|
||||
--ring-wrong-color f38ba8 \
|
||||
--ring-clear-color a6e3a1 \
|
||||
--key-hl-color 1e1e2e \
|
||||
--bs-hl-color eba0ac \
|
||||
--text-color 11111b \
|
||||
--text-caps-lock-color 11111b \
|
||||
--line-color 00000000 \
|
||||
--line-ver-color 00000000 \
|
||||
--line-wrong-color 00000000 \
|
||||
--line-clear-color 00000000 \
|
||||
--separator-color 00000000 \
|
||||
--inside-color cba6f7 \
|
||||
--inside-ver-color 89b4fa\
|
||||
--inside-wrong-color f38ba8 \
|
||||
--inside-clear-color a6e3a1 \
|
||||
--grace 2 \
|
||||
--fade-in 0.2
|
||||
6
config/hypr/scripts/screenshot_display.sh
Executable file
6
config/hypr/scripts/screenshot_display.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
# .config/hypr/scripts/screenshot_display.sh
|
||||
# Screenshot the current display Shift+Print
|
||||
|
||||
output_id=$(hyprctl -j monitors | jq -r '.[] | select(.focused).name')
|
||||
grim -o $output_id - | swappy -f -
|
||||
5
config/hypr/scripts/screenshot_window.sh
Executable file
5
config/hypr/scripts/screenshot_window.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# .config/hypr/scripts/screenshot_window.sh
|
||||
# Screenshot a window Ctrl+Print
|
||||
|
||||
grim -g "$(hyprctl -j activewindow | jq -r '.at + .size | "\(.[0]),\(.[1]) \(.[2])x\(.[3])"' | slurp)" - | swappy -f -
|
||||
Loading…
Add table
Add a link
Reference in a new issue