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