hehe
This commit is contained in:
36
home-manager/hypr/scripts/calvin
Executable file
36
home-manager/hypr/scripts/calvin
Executable file
@@ -0,0 +1,36 @@
|
||||
ignore-empty-password
|
||||
disable-caps-lock-text
|
||||
image=$HOME/.config/hypr/bg/calvin2.jpeg
|
||||
font=Calvin and Hobbes
|
||||
|
||||
text-ver-color=00000000
|
||||
text-wrong-color=00000000
|
||||
text-clear-color=00000000
|
||||
inside-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
ring-color=00000000
|
||||
ring-ver-color=00000000
|
||||
ring-wrong-color=00000000
|
||||
ring-clear-color=00000000
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-ver-color=00000000
|
||||
key-hl-color=00000000
|
||||
bs-hl-color=00000000
|
||||
caps-lock-bs-hl-color=00000000
|
||||
caps-lock-key-hl-color=00000000
|
||||
separator-color=00000000
|
||||
|
||||
scaling=fill
|
||||
indicator
|
||||
clock
|
||||
timestr=%I:%M %p
|
||||
datestr=%A, %d %B
|
||||
indicator-x-position=400
|
||||
indicator-y-position=875
|
||||
indicator-radius=450
|
||||
font-size=200
|
||||
text-color=080808
|
||||
3
home-manager/hypr/scripts/exit.sh
Executable file
3
home-manager/hypr/scripts/exit.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
sleep 1
|
||||
killall -9 Hyprland sleep 2
|
||||
30
home-manager/hypr/scripts/logoutlaunch.sh
Executable file
30
home-manager/hypr/scripts/logoutlaunch.sh
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# set variables
|
||||
wLayout="$HOME/.config/wlogout/layout_2"
|
||||
wlTmplt="$HOME/.config/wlogout/style_2.css"
|
||||
|
||||
# set font size
|
||||
fntSize=`gsettings get org.gnome.desktop.interface font-name | sed "s/'//g" | awk '{print $2}'`
|
||||
export fntSize=$(( fntSize * 2 ))
|
||||
|
||||
# set scaling as per monitor res
|
||||
res=`cat /sys/class/drm/*/modes | head -1 | cut -d 'x' -f 2`
|
||||
case $1 in
|
||||
1) wlColms=1
|
||||
export mgn=$(( res * 10 / 100 ))
|
||||
export hvr=$(( res * 5 / 100 )) ;;
|
||||
2) wlColms=5
|
||||
export mgn=$(( res * 8 / 100 ))
|
||||
export mgn2=$(( res * 65 / 100 ))
|
||||
export hvr=$(( res * 3 / 100 ))
|
||||
export hvr2=$(( res * 60 / 100 )) ;;
|
||||
*) echo "Error: invalid parameter passed..."
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
# eval config files
|
||||
wlStyle=`envsubst < $wlTmplt`
|
||||
|
||||
# launch wlogout
|
||||
wlogout -b $wlColms -c 0 -r 0 --layout $wLayout --css <(echo "$wlStyle") --protocol layer-shell
|
||||
Reference in New Issue
Block a user