updated niri
This commit is contained in:
parent
7f41829734
commit
8c2f30c758
2 changed files with 12 additions and 9 deletions
1
.config/niri/config.kdl
Symbolic link
1
.config/niri/config.kdl
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
config.kdl##hostname.dpad
|
|
@ -165,8 +165,6 @@ layout {
|
||||||
// spawn-at-startup "alacritty" "-e" "fish"
|
// spawn-at-startup "alacritty" "-e" "fish"
|
||||||
spawn-at-startup "dunst" "&"
|
spawn-at-startup "dunst" "&"
|
||||||
spawn-at-startup "xwayland-satellite"
|
spawn-at-startup "xwayland-satellite"
|
||||||
spawn-at-startup "blueman-applet" "&"
|
|
||||||
spawn-at-startup "clipcatd"
|
|
||||||
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||||
// If the client will specifically ask for CSD, the request will be honored.
|
// If the client will specifically ask for CSD, the request will be honored.
|
||||||
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
||||||
|
@ -196,7 +194,7 @@ animations {
|
||||||
// by setting an empty default-column-width.
|
// by setting an empty default-column-width.
|
||||||
window-rule {
|
window-rule {
|
||||||
match app-id="^spotify$"
|
match app-id="^spotify$"
|
||||||
// open-on-workspace "music"
|
open-on-workspace "music"
|
||||||
}
|
}
|
||||||
window-rule {
|
window-rule {
|
||||||
// This regular expression is intentionally made as specific as possible,
|
// This regular expression is intentionally made as specific as possible,
|
||||||
|
@ -397,10 +395,10 @@ binds {
|
||||||
}
|
}
|
||||||
// don't love these honestly
|
// don't love these honestly
|
||||||
// TODO: Change smart-mouse to LGUI on keyboard?
|
// TODO: Change smart-mouse to LGUI on keyboard?
|
||||||
Mod+Comma {
|
Mod+Period {
|
||||||
focus-monitor-left
|
focus-monitor-left
|
||||||
}
|
}
|
||||||
Mod+Period {
|
Mod+Slash {
|
||||||
focus-monitor-right
|
focus-monitor-right
|
||||||
}
|
}
|
||||||
Mod+Ctrl+Up {
|
Mod+Ctrl+Up {
|
||||||
|
@ -451,10 +449,10 @@ binds {
|
||||||
// And you can also move a whole workspace to another monitor:
|
// And you can also move a whole workspace to another monitor:
|
||||||
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
||||||
// ...
|
// ...
|
||||||
Mod+Page_Down {
|
Mod+H {
|
||||||
focus-workspace-down
|
focus-workspace-down
|
||||||
}
|
}
|
||||||
Mod+Page_Up {
|
Mod+Comma {
|
||||||
focus-workspace-up
|
focus-workspace-up
|
||||||
}
|
}
|
||||||
Mod+L {
|
Mod+L {
|
||||||
|
@ -707,6 +705,7 @@ binds {
|
||||||
// reload waybar
|
// reload waybar
|
||||||
Mod+Shift+W {
|
Mod+Shift+W {
|
||||||
spawn "systemctl" "--user" "restart" "waybar"
|
spawn "systemctl" "--user" "restart" "waybar"
|
||||||
|
// spawn "killall" "-SIGUSR2" "waybar"
|
||||||
}
|
}
|
||||||
Mod+S {
|
Mod+S {
|
||||||
screenshot
|
screenshot
|
||||||
|
@ -718,14 +717,17 @@ binds {
|
||||||
screenshot-window
|
screenshot-window
|
||||||
}
|
}
|
||||||
Mod+Alt+S {
|
Mod+Alt+S {
|
||||||
spawn "/home/fic/dev/niri-recorder/recorder.sh" "screen"
|
spawn "~/dev/niri-recorder/recorder.sh" "screen"
|
||||||
}
|
}
|
||||||
Mod+Shift+Alt+S {
|
Mod+Shift+Alt+S {
|
||||||
spawn "/home/fic/dev/niri-recorder/recorder.sh" "region"
|
spawn "~/dev/niri-recorder/recorder.sh" "region"
|
||||||
}
|
}
|
||||||
Mod+Tab {
|
Mod+Tab {
|
||||||
spawn "~/scripts/niri/window-picker.py"
|
spawn "~/scripts/niri/window-picker.py"
|
||||||
}
|
}
|
||||||
|
Mod+semicolon {
|
||||||
|
spawn "~/scripts/foot-command.py"
|
||||||
|
}
|
||||||
// Applications such as remote-desktop clients and software KVM switches may
|
// Applications such as remote-desktop clients and software KVM switches may
|
||||||
// request that niri stops processing the keyboard shortcuts defined here
|
// request that niri stops processing the keyboard shortcuts defined here
|
||||||
// so they may, for example, forward the key presses as-is to a remote machine.
|
// so they may, for example, forward the key presses as-is to a remote machine.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue