hyprland: update with copyq

This commit is contained in:
makefu 2024-07-09 23:03:37 +02:00
parent ebee284387
commit 21ae2e1752
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
3 changed files with 14 additions and 6 deletions

View file

@ -8,4 +8,4 @@ in {
enable = true; enable = true;
user = mainUser; user = mainUser;
}; };
}; }

View file

@ -3,6 +3,7 @@ let
mainUser = config.krebs.build.user.name; mainUser = config.krebs.build.user.name;
in { in {
imports = [ imports = [
../base.nix
./kitty.nix ./kitty.nix
./passwords.nix ./passwords.nix
./autostart.nix ./autostart.nix
@ -16,6 +17,9 @@ in {
home.packages = with pkgs; [ home.packages = with pkgs; [
dolphin dolphin
wofi wofi
hyprland
hypridle
hyprlock
grimblast # screenshot grimblast # screenshot
]; ];
@ -66,11 +70,11 @@ in {
listener = [ listener = [
{ {
timeout = 900; timeout = 10;
on-timeout = "hyprlock"; on-timeout = "hyprlock";
} }
{ {
timeout = 1200; timeout = 20;
on-timeout = "hyprctl dispatch dpms off"; on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on"; on-resume = "hyprctl dispatch dpms on";
} }

View file

@ -45,9 +45,7 @@ $menu = wofi --show drun
# Or execute your favorite apps at launch like this: # Or execute your favorite apps at launch like this:
# exec-once = $terminal # exec-once = $terminal
exec-once = nm-applet & exec-once = nm-applet & hypridle & waybar & blueman-applet & copyq --start-server &
exec-once = waybar &
exec-once = flameshot &
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
@ -196,6 +194,7 @@ bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, hyprlock
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
@ -245,6 +244,11 @@ bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# screenshot
bind = $mainMod, Print, exec, grimblast --notify --cursor save area ~/shots/$(date +'%Y-%m-%d-At-%Ih%Mm%Ss').png
bind = ,Print, exec, grimblast --notify --cursor copy area
############################## ##############################
### WINDOWS AND WORKSPACES ### ### WINDOWS AND WORKSPACES ###
############################## ##############################