mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
Initial commit
This commit is contained in:
Executable
+18
@@ -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
|
||||
|
||||
Executable
+10
@@ -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
|
||||
Executable
+10
@@ -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
|
||||
Executable
+6
@@ -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 ${#:+"$@"}
|
||||
Executable
+14
@@ -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
|
||||
Reference in New Issue
Block a user