Initial commit

This commit is contained in:
end-4
2023-12-25 18:16:14 +07:00
commit 16b0d77075
174 changed files with 18893 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
cd ~
#export XDG_CURRENT_DESKTOP=GNOME
#export XDG_SESSION_TYPE=wayland
#export XDG_SESSION_DESKTOP=GNOME
#export EDITOR = /usr/bin/gnome-text-editor
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
#export QT_QPA_PLATFORMTHEME=qt5ct #QT Theme (for KDE apps)
export QT_QPA_PLATFORMTHEME=qt5ct
exec Hyprland
+10
View File
@@ -0,0 +1,10 @@
#/usr/bin/bash
cd /home/end/Videos
if ["$(pidof wf-recorder)" -ne ""]; then
notify-send "wf-recorder" "Starting recording" -a 'wf-recorder'
wf-recorder -t -f './recording_'"$(date '+%Y_%m_%_d..%H.%M')"'.mp4' --audio=alsa_output.pci-0000_08_00.6.analog-stereo.monitor
else
/usr/bin/kill --signal SIGINT wf-recorder
notify-send "wf-recorder" "Recording Stopped" -a 'wf-recorder'
fi
+10
View File
@@ -0,0 +1,10 @@
#/usr/bin/bash
cd /home/end/Videos
if [[ "$(pidof wf-recorder)" == "" ]]; then
notify-send "wf-recorder" "Starting recording" -a 'wf-recorder'
wf-recorder -f './recording_'"$(date '+%Y_%m_%_d..%H.%M')"'.mp4' -t --geometry "$(slurp)"
else
/usr/bin/kill --signal SIGINT wf-recorder
notify-send "wf-recorder" "Recording Stopped" -a 'wf-recorder'
fi
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/bash
WORKSPACES="$(hyprctl monitors -j | jq -r 'map(.activeWorkspace.id)')"
WINDOWS="$(hyprctl clients -j | jq -r --argjson workspaces "$WORKSPACES" 'map(select([.workspace.id] | inside($workspaces)))' )"
GEOM=$(echo "$WINDOWS" | jq -r '.[] | "\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | slurp -f '%x %y %w %h')
wayshot -s "$GEOM" --stdout ${#:+"$@"}
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/bash
if [[ "$2" == "" ]]; then # basic rice switching
notify-send 'Usage: >swr [save name] [load name]'
exit
fi
mkdir -p ~/.config/__enderice/
mv ~/.config/eww ~/.config/__enderice/eww_"$1"
mv ~/.config/hypr ~/.config/__enderice/hypr_"$1"
mv ~/.config/__enderice/eww_"$2" ~/.config/eww
mv ~/.config/__enderice/hypr_"$2" ~/.config/hypr
pkill eww && eww open bar && eww open bgdecor