the H
This commit is contained in:
parent
4f4f98da70
commit
cf92d89124
6 changed files with 105 additions and 59 deletions
|
|
@ -90,25 +90,23 @@
|
|||
"echo $HYPRLAND_INSTANCE_SIGNATURE > ~/.config/hypr/instance_signature"
|
||||
];
|
||||
"$mod" = "SUPER";
|
||||
"$shiftmod" = "SUPER_SHIFT";
|
||||
"$controlmod" = "SUPER_CTRL";
|
||||
bind = [
|
||||
|
||||
(lib.mkIf (osConfig.desktop.shell.walker.enable) "$mod, D, exec, walker")
|
||||
(lib.mkIf (osConfig.desktop.shell.rofi.enable) "$mod, D, exec, rofi -show drun")
|
||||
(lib.mkIf (osConfig.desktop.shell.walker.enable) "$mod, D, exec, noctalia-shell ipc call launcher toggle || walker")
|
||||
(lib.mkIf (osConfig.desktop.shell.rofi.enable) "$mod, D, exec, noctalia-shell ipc call launcher toggle || rofi -show drun")
|
||||
"$mod, return, exec, ${osConfig.apps.terminal.binary}"
|
||||
(lib.mkIf (osConfig.desktop.utilities.grimblast.enable) ", print, exec, GRIMBLAST_EDITOR=gradia grimblast edit area")
|
||||
(lib.mkIf (osConfig.desktop.shell.walker.enable && osConfig.apps.misc.bitwarden.enable)
|
||||
"$mod, B, exec, rbw unlocked || kitty --class kitty-floating -e rbw unlock; selected=$(rbw list | walker -d); wl-copy $(rbw get \"$selected\"); sleep 30; rbw lock"
|
||||
)
|
||||
"$mod, F, fullscreen, 1"
|
||||
"$shiftmod, F, fullscreen, 0"
|
||||
"$shiftmod, Q, killactive,"
|
||||
"$mod SHIFT, F, fullscreen, 0"
|
||||
"$mod SHIFT, Q, killactive,"
|
||||
"$mod, S, togglespecialworkspace, magic"
|
||||
"$mod, O, exec, zen"
|
||||
"$shiftmod, S, movetoworkspace, special:magic"
|
||||
"$controlmod, right, workspace, m+1"
|
||||
"$controlmod, left, workspace, m-1"
|
||||
"$mod SHIFT, S, movetoworkspace, special:magic"
|
||||
"$mod CTRL, right, workspace, m+1"
|
||||
"$mod CTRL, left, workspace, m-1"
|
||||
"$mod, mouse_down, workspace, m-1"
|
||||
"$mod, mouse_up, workspace, m+1"
|
||||
"$mod, left, movefocus, l"
|
||||
|
|
@ -120,10 +118,10 @@
|
|||
"$mod, L, exec, playerctl next"
|
||||
"$mod, G, togglefloating,"
|
||||
"$mod, F1, exec, hyprlock"
|
||||
"$shiftmod, E, exec, codium"
|
||||
"$controlmod, up, exec, light -A 10"
|
||||
"$controlmod, down, exec, light -U 10"
|
||||
"$controlmod, Q, exec, hyprctl kill"
|
||||
"$mod SHIFT, E, exec, codium"
|
||||
"$mod CTRL, up, exec, light -A 10"
|
||||
"$mod CTRL, down, exec, light -U 10"
|
||||
"$mod CTRL, Q, exec, hyprctl kill"
|
||||
|
||||
]
|
||||
++ (builtins.concatLists (
|
||||
|
|
@ -134,7 +132,7 @@
|
|||
in
|
||||
[
|
||||
"$mod, code:1${toString i}, workspace, ${toString ws}"
|
||||
"$shiftmod, code:1${toString i}, movetoworkspacesilent, ${toString ws}"
|
||||
"$mod SHIFT, code:1${toString i}, movetoworkspacesilent, ${toString ws}"
|
||||
]
|
||||
) config.desktop.hyprland.workspaces.amount
|
||||
));
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ in
|
|||
"~/.config/niri/config.kdl" = {
|
||||
target = ".config/niri/config.kdl";
|
||||
text = ''
|
||||
|
||||
input {
|
||||
|
||||
keyboard {
|
||||
|
|
@ -45,6 +46,70 @@ in
|
|||
|
||||
}
|
||||
}
|
||||
output "Samsung Electric Company S24D330 0x5A5A5131" {
|
||||
mode "1920x1080@60"
|
||||
position x=0 y=1440
|
||||
}
|
||||
output "PNP(AOC) Q27G2WG4 0x00005F45" {
|
||||
mode "2560x1440@143.912"
|
||||
position x=0 y=0
|
||||
variable-refresh-rate on-demand=true
|
||||
focus-at-startup
|
||||
}
|
||||
|
||||
binds {
|
||||
//Applications
|
||||
${modifier}+${osConfig.keybinds.hotkeys.terminal} hotkey-overlay-title="Open Terminal" { spawn "${osConfig.apps.terminal.binary}";}
|
||||
${modifier}+${osConfig.keybinds.hotkeys.browser} hotkey-overlay-title="Open Browser" { spawn "${osConfig.apps.internet.browsers.default}";}
|
||||
${modifier}+${osConfig.keybinds.hotkeys.launcher} hotkey-overlay-title="Open Launcher" { spawn "noctalia-shell" "ipc" "call" "launcher" "toggle";}
|
||||
${modifier}+Shift+${osConfig.keybinds.hotkeys.editor} hotkey-overlay-title="Open Editor" { spawn "${osConfig.apps.development.editor.default}";}
|
||||
|
||||
//Window Management
|
||||
${modifier}+Shift+${osConfig.keybinds.hotkeys.close-window} { close-window; }
|
||||
|
||||
//Column Navigation
|
||||
${modifier}+H { focus-column-left; }
|
||||
${modifier}+L { focus-column-right; }
|
||||
${modifier}+R { switch-preset-column-width; }
|
||||
${modifier}+Shift+R { switch-preset-column-width-back; }
|
||||
${modifier}+F { expand-column-to-available-width; }
|
||||
${modifier}+G { toggle-window-floating; }
|
||||
|
||||
//Workspace Navigation
|
||||
${modifier}+J cooldown-ms=150 { focus-workspace-down; }
|
||||
${modifier}+K cooldown-ms=150 { focus-workspace-up; }
|
||||
|
||||
//Screenshots
|
||||
Print { screenshot;}
|
||||
}
|
||||
|
||||
switch-events {
|
||||
lid-close { spawn "noctalia-shell" "ipc" "call" "sessionMenu" "lockAndSuspend"; }
|
||||
}
|
||||
|
||||
layout {
|
||||
gaps 20
|
||||
center-focused-column "always"
|
||||
always-center-single-column
|
||||
default-column-width { proportion 0.5; }
|
||||
preset-column-widths {
|
||||
proportion 0.5
|
||||
proportion 0.66667
|
||||
proportion 1.0
|
||||
}
|
||||
border {
|
||||
width 5
|
||||
}
|
||||
shadow {
|
||||
on
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
spawn-at-startup "elephant"
|
||||
spawn-at-startup "noctalia-shell"
|
||||
spawn-at-startup "walker --gapplication-service"
|
||||
|
||||
|
||||
gestures {
|
||||
hot-corners {
|
||||
|
|
@ -66,32 +131,6 @@ in
|
|||
hide-not-bound
|
||||
}
|
||||
|
||||
binds {
|
||||
${modifier}+Down cooldown-ms=150 { focus-workspace-down; }
|
||||
${modifier}+Up cooldown-ms=150 { focus-workspace-up; }
|
||||
${modifier}+${osConfig.keybinds.hotkeys.terminal} { spawn "${osConfig.apps.terminal.binary}";}
|
||||
${modifier}+Left {focus-column-left; }
|
||||
${modifier}+Right {focus-column-right; }
|
||||
${modifier}+${osConfig.keybinds.hotkeys.browser} { spawn "${osConfig.apps.internet.browsers.default}";}
|
||||
${modifier}+${osConfig.keybinds.hotkeys.launcher} { spawn "${osConfig.desktop.shell.launcher}";}
|
||||
Print { screenshot;}
|
||||
${modifier}+Shift+${osConfig.keybinds.hotkeys.close-window} { close-window; }
|
||||
${modifier}+Shift+${osConfig.keybinds.hotkeys.editor} { spawn "${osConfig.apps.development.editor.default}";}
|
||||
}
|
||||
|
||||
spawn-at-startup "elephant"
|
||||
spawn-at-startup "noctalia-shell"
|
||||
spawn-at-startup "walker --gapplication-service"
|
||||
|
||||
layout {
|
||||
gaps 20
|
||||
focus-ring {
|
||||
width 5
|
||||
}
|
||||
border {
|
||||
off
|
||||
}
|
||||
}
|
||||
window-rule {
|
||||
geometry-corner-radius 20
|
||||
clip-to-geometry true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue