Compare commits
6 Commits
10-pdf-def
...
ac54b67744
| Author | SHA1 | Date | |
|---|---|---|---|
| ac54b67744 | |||
| 95b3d087a3 | |||
| 677783bfd2 | |||
| f8407706a3 | |||
| b6d1be0efc | |||
| fff6779344 |
@@ -27,6 +27,11 @@ in
|
|||||||
"hypr/nix.conf".text = ''
|
"hypr/nix.conf".text = ''
|
||||||
$defaultBrowser=${defaultBrowser}
|
$defaultBrowser=${defaultBrowser}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
"hypr/scripts/gpu-screen-recorder/save-replay.sh".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink ./hyprland/scripts/gpu-screen-recorder/save-replay.sh;
|
||||||
|
"hypr/scripts/gpu-screen-recorder/start-replay.sh".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink ./hyprland/scripts/gpu-screen-recorder/start-replay.sh;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,17 +39,20 @@ exec-once = hyprpanel & hyprpaper & hypridle & elephant & walker --gapplication-
|
|||||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Classic'
|
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Classic'
|
||||||
exec-once = gsettings set org.gnome.desktop.interface cursor-size 24
|
exec-once = gsettings set org.gnome.desktop.interface cursor-size 24
|
||||||
|
|
||||||
|
# This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.
|
||||||
|
exec-once = ~/.config/hypr/scripts/gpu-screen-recorder/start-replay.sh
|
||||||
|
|
||||||
|
exec-once = spotify & signal-desktop & thunderbird & gnome-calendar & bitwarden & $browser
|
||||||
|
|
||||||
exec-once = [workspace 4 silent] signal-desktop
|
|
||||||
exec-once = [workspace 4 silent] spotify
|
|
||||||
exec-once = [workspace 4 silent] thunderbird
|
|
||||||
exec-once = [workspace 3 silent] gnome-calendar
|
|
||||||
exec-once = [workspace 3 silent] bitwarden
|
|
||||||
exec-once = [workspace 3 silent] errands
|
|
||||||
exec-once = [workspace 2 silent] $browser
|
|
||||||
exec-once = [workspace 1 silent] $terminal
|
exec-once = [workspace 1 silent] $terminal
|
||||||
# exec-once = [workspace 4 silent] discord
|
|
||||||
# windowrulev2 = workspace 4 silent once, class:^(discord)$
|
windowrule = match:class ^(zen-beta)$, workspace 2 silent
|
||||||
|
windowrule = match:class ^(org.gnome.Calendar)$, workspace 3 silent
|
||||||
|
windowrule = match:class ^(Bitwarden)$, workspace 3 silent
|
||||||
|
windowrule = match:class ^(discord)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(thunderbird)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(signal)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(Spotify)$, workspace 4 silent
|
||||||
|
|
||||||
|
|
||||||
env = HYPRCURSOR_SIZE,28
|
env = HYPRCURSOR_SIZE,28
|
||||||
@@ -226,6 +229,8 @@ bind = SUPER_ALT,L, exec, hyprlock
|
|||||||
bind = ,F10, exec, hyprlock
|
bind = ,F10, exec, hyprlock
|
||||||
bind = $mainMod ALT, Space, exec, hyprctl switchxkblayout current next
|
bind = $mainMod ALT, Space, exec, hyprctl switchxkblayout current next
|
||||||
bind = $mainMod SHIFT, S, exec, hyprshot -m region -z
|
bind = $mainMod SHIFT, S, exec, hyprshot -m region -z
|
||||||
|
# This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.
|
||||||
|
bind = $mainMod SHIFT, V, exec, ~/.config/hypr/scripts/gpu-screen-recorder/save-replay.sh
|
||||||
bind = $mainMod SHIFT, C, exec, hyprpicker | wl-copy
|
bind = $mainMod SHIFT, C, exec, hyprpicker | wl-copy
|
||||||
bind = $mainMod, Y, exec, firefox
|
bind = $mainMod, Y, exec, firefox
|
||||||
|
|
||||||
|
|||||||
3
homemanager/hyprland/scripts/gpu-screen-recorder/save-replay.sh
Executable file
3
homemanager/hyprland/scripts/gpu-screen-recorder/save-replay.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
killall -SIGUSR1 gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low -- "GPU Screen Recorder" "Replay saved"
|
||||||
|
|
||||||
6
homemanager/hyprland/scripts/gpu-screen-recorder/start-replay.sh
Executable file
6
homemanager/hyprland/scripts/gpu-screen-recorder/start-replay.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pidof -q gpu-screen-recorder && exit 0
|
||||||
|
video_path="$HOME/Videos"
|
||||||
|
mkdir -p "$video_path"
|
||||||
|
gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -bm cbr -q 40000 -r 60 -o "$video_path"
|
||||||
@@ -44,7 +44,9 @@
|
|||||||
pkgs.steam-run
|
pkgs.steam-run
|
||||||
pkgs.sops
|
pkgs.sops
|
||||||
pkgs.pavucontrol
|
pkgs.pavucontrol
|
||||||
pkgs.errands
|
|
||||||
|
# https://github.com/quirinecker/dotfiles-modules/issues/13
|
||||||
|
# pkgs.errands
|
||||||
|
|
||||||
# editors
|
# editors
|
||||||
# pkgs.zed-editor # updating softwar crashed the pc. Not in use right now anyway. disabled for now
|
# pkgs.zed-editor # updating softwar crashed the pc. Not in use right now anyway. disabled for now
|
||||||
|
|||||||
Reference in New Issue
Block a user