Basic rice set up. Still need to add a way to reiably update the package lists and i need a launcher.
This commit is contained in:
commit
3e89f350a6
107 changed files with 7553 additions and 0 deletions
14
private_dot_config/hypr/scripts/executable_recording.sh
Normal file
14
private_dot_config/hypr/scripts/executable_recording.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/env bash
|
||||
|
||||
pgrep -x "wf-recorder" && pkill -INT -x wf-recorder && notify-send -h string:wf-recorder:record -t 1000 "Finished Recording" && exit 0
|
||||
|
||||
for i in $(seq 1 3); do
|
||||
notify-send -h string:wf-recorder:record -t 1000 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>$((4 - $i))</b></i></span>"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
dateTime=$(date +%m-%d-%Y-%H:%M:%S)
|
||||
dir="$HOME/Videos/ScreenRecordings"
|
||||
|
||||
mkdir -p "$dir"
|
||||
wf-recorder -f "$dir/$dateTime.mp4"
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function sync() {
|
||||
if [ "$(powerprofilesctl get)" = "power-saver" ]; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:shadow:enabled 0;\
|
||||
keyword decoration:blur:enabled 0;\
|
||||
keyword decoration:active_opacity 1;\
|
||||
keyword decoration:inactive_opacity 1;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0"
|
||||
|
||||
hyprctl keyword monitor eDP-1,2880x1920@60,0x0,1.5,vrr,1 #NOTE: use templating if you own multiple laptops
|
||||
else
|
||||
hyprctl reload
|
||||
fi
|
||||
|
||||
hyprctl hyprpaper reload ,~/Pictures/wallpaper.png
|
||||
}
|
||||
function toggle() {
|
||||
if [ "$(powerprofilesctl get)" = "power-saver" ]; then
|
||||
powerprofilesctl set performance
|
||||
else
|
||||
powerprofilesctl set power-saver
|
||||
fi
|
||||
|
||||
sync
|
||||
}
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: $0 {toggle|sync}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
toggle)
|
||||
toggle
|
||||
;;
|
||||
sync)
|
||||
sync
|
||||
;;
|
||||
*)
|
||||
echo "Invalid option: $1"
|
||||
echo "Usage: $0 {toggle|sync}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue