niri: update for switch to dms and ghostty
This commit is contained in:
@@ -32,7 +32,7 @@ output "HDMI-A-1" {
|
||||
}
|
||||
|
||||
layout {
|
||||
gaps 12
|
||||
gaps 8
|
||||
|
||||
center-focused-column "never"
|
||||
|
||||
@@ -58,11 +58,12 @@ layout {
|
||||
|
||||
// You can change how the focus ring looks.
|
||||
focus-ring {
|
||||
off
|
||||
// How many logical pixels the ring extends out from the windows.
|
||||
width 3
|
||||
|
||||
// Color of the ring on the active monitor.
|
||||
active-color "#3d5f77"
|
||||
active-color "#101010"
|
||||
|
||||
// Color of the ring on inactive monitors.
|
||||
inactive-color "#505050"
|
||||
@@ -141,9 +142,9 @@ binds {
|
||||
Mod+Shift+Comma { show-hotkey-overlay; }
|
||||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Return { spawn "sh" "-c" "alacritty msg create-window || alacritty"; }
|
||||
Mod+D { spawn "vicinae" "toggle"; }
|
||||
Super+Alt+L { spawn "swaylock"; }
|
||||
Mod+Return { spawn "ghostty" "+new-window"; }
|
||||
Mod+D { spawn "dms" "ipc" "call" "spotlight" "toggle"; }
|
||||
Super+Alt+L hotkey-overlay-title="Lock session" { spawn "loginctl" "lock-session"; }
|
||||
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-"; }
|
||||
@@ -326,6 +327,10 @@ binds {
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
Mod+Shift+P { power-off-monitors; }
|
||||
|
||||
Mod+N hotkey-overlay-title="Open notes" {
|
||||
spawn-sh "ghostty -e hx --working-dir ~/notes ~/notes/notes.dj:9999";
|
||||
}
|
||||
}
|
||||
|
||||
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
||||
@@ -341,3 +346,8 @@ environment {
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
}
|
||||
|
||||
layer-rule {
|
||||
match namespace="dms:blurwallpaper"
|
||||
place-within-backdrop true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user