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
91
.config/hypr/scripts/testrunner.sh
Executable file
91
.config/hypr/scripts/testrunner.sh
Executable file
|
@ -0,0 +1,91 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
ScrDir=`dirname "$(realpath "$0")"`
|
||||
source $ScrDir/globalcontrol.sh
|
||||
WalDir="${XDG_CONFIG_HOME:-$HOME/.config}/swww"
|
||||
RofDir="${XDG_CONFIG_HOME:-$HOME/.config}/rofi"
|
||||
|
||||
roficn=0
|
||||
wlogcn=1
|
||||
|
||||
while read loop_theme
|
||||
do
|
||||
themeName=`echo $loop_theme | cut -d '|' -f 2`
|
||||
$ScrDir/themeswitch.sh -s $themeName &> /dev/null
|
||||
sleep 0.2
|
||||
|
||||
hyprctl dispatch workspace empty
|
||||
dolphin &> /dev/null &
|
||||
sleep 0.21
|
||||
kitty &> /dev/null &
|
||||
sleep 1.4
|
||||
hyprctl dispatch workspace empty
|
||||
|
||||
#walln=`ls -l $WalDir/$themeName | wc -l`
|
||||
for (( i=1 ; i<3 ; i++ ))
|
||||
do
|
||||
# swww
|
||||
sleep 0.2
|
||||
$ScrDir/swwwallpaper.sh -n &> /dev/null
|
||||
|
||||
# rofiselect
|
||||
$ScrDir/rofiselect.sh &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x rofi
|
||||
|
||||
# rofi
|
||||
if [ $roficn -lt 8 ] ; then
|
||||
roficn=$(( roficn + 1 ))
|
||||
else
|
||||
roficn=1
|
||||
fi
|
||||
cp $RofDir/styles/style_$roficn.rasi $RofDir/config.rasi
|
||||
$ScrDir/rofilaunch.sh &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x rofi
|
||||
|
||||
# themeselect
|
||||
$ScrDir/themeselect.sh &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x rofi
|
||||
|
||||
# wlogout
|
||||
if [ $wlogcn -eq 1 ] ; then
|
||||
wlogcn=2
|
||||
else
|
||||
wlogcn=1
|
||||
fi
|
||||
$ScrDir/logoutlaunch.sh $wlogcn &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x wlogout
|
||||
|
||||
# waybar
|
||||
$ScrDir/wbarconfgen.sh n &> /dev/null
|
||||
|
||||
# quickapps
|
||||
$ScrDir/quickapps.sh kitty firefox spotify code dolphin &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x rofi
|
||||
|
||||
# cliphist
|
||||
$ScrDir/cliphist.sh w &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x rofi
|
||||
|
||||
# wallselect
|
||||
$ScrDir/swwwallselect.sh &> /dev/null &
|
||||
sleep 0.7
|
||||
pkill -x rofi
|
||||
|
||||
# wallbash
|
||||
$ScrDir/wallbashtoggle.sh
|
||||
sleep 0.2
|
||||
|
||||
# volumecontrol
|
||||
for (( i=1 ; i<=6 ; i++ )) ; do
|
||||
[[ i -gt 3 ]] && vol="d" || vol="i"
|
||||
$ScrDir/volumecontrol.sh -o $vol
|
||||
done
|
||||
done
|
||||
done < "$ThemeCtl"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue