diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-28 15:17:50 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-28 15:17:50 +0200 |
| commit | ac7f8ef19b645af5afe8f5f8044868a0cf25a620 (patch) | |
| tree | 24096bb105e6a74622418a61a792388f665cf223 /common/home/hyprland | |
| parent | fbe7799a38a2dfe139261bb3bdeca6fa96d05145 (diff) | |
nixvim: refactor
Diffstat (limited to 'common/home/hyprland')
| -rw-r--r-- | common/home/hyprland/default.nix | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/common/home/hyprland/default.nix b/common/home/hyprland/default.nix index 0cef02b..fdab85c 100644 --- a/common/home/hyprland/default.nix +++ b/common/home/hyprland/default.nix @@ -8,14 +8,18 @@ settings = { "$mod" = "SUPER"; bind = [ - "$mod+Shift, Return, exec, alacritty" "$mod+Shift, Q, exit" + "$mod, C, killactive," + + "$mod, Escape, exec, hyprlock" + "$mod, Space, exec, wofi --show run" + + "$mod+Shift, Return, exec, alacritty" "$mod+Shift, B, exec, firefox" "$mod+Shift, P, exec, wofi-pass" "$mod+Shift, O, exec, wofi-pass otp" - "$mod, Escape, exec, hyprlock" - "$mod, Space, exec, wofi --show run" - "$mod, C, killactive," + + ", Print, exec, grimshot copy area" "$mod, h, movefocus, l" "$mod, l, movefocus, r" @@ -38,6 +42,10 @@ "$mod, 9, workspace, 9" "$mod, 0, workspace, 10" + "$mod, F1, movecurrentworkspacetomonitor, 0" + "$mod, F2, movecurrentworkspacetomonitor, 1" + "$mod, F3, movecurrentworkspacetomonitor, 2" + "$mod+Shift, 1, movetoworkspace, 1" "$mod+Shift, 2, movetoworkspace, 2" "$mod+Shift, 3, movetoworkspace, 3" @@ -55,12 +63,23 @@ "$mod, comma, resizeactive, -20 0" "$mod+Shift, period, resizeactive, 0 20" "$mod+Shift, comma, resizeactive, 0 -20" + + ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + ", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" + ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + ", XF86AudioPlay, exec, playerctl play-pause" + + ", XF86MonBrightnessDown, exec, brightnessctl set 10%-" + ", XF86MonBrightnessUp, exec, brightnessctl set +10%" ]; general = { gaps_in = 10; gaps_out = 10; layout = "dwindle"; + border_size = 3; + "col.active_border" = "rgba(b16286ff)"; + "col.inactive_border" = "rgba(3c3836ff)"; }; decoration = { |