the H
This commit is contained in:
parent
4f4f98da70
commit
cf92d89124
6 changed files with 105 additions and 59 deletions
|
|
@ -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