mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-03 22:00:38 -04:00
hyprpm/hyprlock
This commit is contained in:
parent
d4376c8ddf
commit
e973ebbc15
39 changed files with 2500 additions and 7 deletions
24
.config/hypr/scripts/wallbashkvm.sh
Executable file
24
.config/hypr/scripts/wallbashkvm.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# set variables
|
||||
|
||||
ScrDir=`dirname "$(realpath "$0")"`
|
||||
source $ScrDir/globalcontrol.sh
|
||||
hypDir="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/themes"
|
||||
|
||||
# regen color conf
|
||||
|
||||
if [ "$EnableWallDcol" -eq 1 ] ; then
|
||||
kvantummanager --set Wall-Dcol
|
||||
else
|
||||
kvantummanager --set $gtkTheme
|
||||
fi
|
||||
|
||||
# reload dolphin
|
||||
|
||||
a_ws=$(hyprctl -j activeworkspace | jq '.id')
|
||||
if [ "$(hyprctl -j clients | jq --arg wid "$a_ws" '.[] | select(.workspace.id == ($wid | tonumber)) | select(.class == "org.kde.dolphin") | .mapped')" == "true" ] ; then
|
||||
pkill -x dolphin
|
||||
dolphin &
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue