aboutsummaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'hypr')
-rw-r--r--hypr/hyprland/keybinds.conf2
-rwxr-xr-xhypr/wf-recorder/record.sh9
2 files changed, 8 insertions, 3 deletions
diff --git a/hypr/hyprland/keybinds.conf b/hypr/hyprland/keybinds.conf
index b7a0245..dda7ddf 100644
--- a/hypr/hyprland/keybinds.conf
+++ b/hypr/hyprland/keybinds.conf
@@ -9,7 +9,7 @@ bind = $mainMod, L, exec, hyprlock
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, togglefloating,
bind = $mainMod, R, global, quickshell:toggleLauncher
-bind = $mainMod, C, global, quickshell:toggleCalendar
+bind = $mainMod SHIFT, D, global, quickshell:toggleBar
bind = $mainMod, D, global, quickshell:toggleDnd
bind = $mainMod, P, exec, hyprpicker
bind = $mainMod, J, layoutmsg, togglesplit
diff --git a/hypr/wf-recorder/record.sh b/hypr/wf-recorder/record.sh
index 1c174d5..c828fee 100755
--- a/hypr/wf-recorder/record.sh
+++ b/hypr/wf-recorder/record.sh
@@ -4,10 +4,15 @@
if pgrep -x wf-recorder > /dev/null
then
# If recording, stop it
- notify-send -h string:wf-recorder:record -t 1000 "Recording Stopped" && pkill wf-recorder
+ notify-send -h string:wf-recorder:record -t 1000 "Recording Stopped"
+ pkill wf-recorder
else
# If not recording, start it
mkdir -p ~/Videos
mkdir -p ~/Videos/Screencasts/
- notify-send -h string:wf-recorder:record -t 1000 "Recording Started" && wf-recorder -f ~/Videos/Screencasts/$(date '+%H%M%S-%d-%m-%Y').mp4
+ notify-send -h string:wf-recorder:record -t 1000 "Recording Started"
+ wf-recorder \
+ -f ~/Videos/Screencasts/$(date '+%H%M%S-%d-%m-%Y').mp4 \
+ --audio --audio-device alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor
+
fi