home/config/niri/config.kdl aktualisiert
This commit is contained in:
parent
b56eef9c00
commit
104d96d51b
@ -1,17 +1,11 @@
|
|||||||
// This config is in the KDL format: https://kdl.dev
|
|
||||||
// "/-" comments out the following node.
|
|
||||||
// Check the wiki for a full description of the configuration:
|
|
||||||
// https://yalter.github.io/niri/Configuration:-Introduction
|
// https://yalter.github.io/niri/Configuration:-Introduction
|
||||||
|
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
xcursor-theme "Sweet-cursors"
|
xcursor-theme "Sweet-cursors"
|
||||||
hide-when-typing
|
hide-when-typing
|
||||||
hide-after-inactive-ms 1000
|
hide-after-inactive-ms 1000
|
||||||
}
|
}
|
||||||
|
|
||||||
// Input device configuration.
|
|
||||||
// Find the full list of options on the wiki:
|
|
||||||
// https://yalter.github.io/niri/Configuration:-Input
|
// https://yalter.github.io/niri/Configuration:-Input
|
||||||
input {
|
input {
|
||||||
mod-key "Super"
|
mod-key "Super"
|
||||||
@ -39,7 +33,7 @@ input {
|
|||||||
touchpad {
|
touchpad {
|
||||||
off
|
off
|
||||||
tap
|
tap
|
||||||
// dwt
|
// dwta
|
||||||
// dwtp
|
// dwtp
|
||||||
// drag false
|
// drag false
|
||||||
// drag-lock
|
// drag-lock
|
||||||
@ -70,7 +64,7 @@ input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Uncomment this to make the mouse warp to the center of newly focused windows.
|
// Uncomment this to make the mouse warp to the center of newly focused windows.
|
||||||
warp-mouse-to-focus
|
// warp-mouse-to-focus
|
||||||
|
|
||||||
// Focus windows and outputs automatically when moving the mouse into them.
|
// Focus windows and outputs automatically when moving the mouse into them.
|
||||||
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
|
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
|
||||||
@ -113,6 +107,9 @@ input {
|
|||||||
// automatically.
|
// automatically.
|
||||||
position x=1280 y=0
|
position x=1280 y=0
|
||||||
}
|
}
|
||||||
|
output "HDMI-A-1" {
|
||||||
|
mode "2560x1440@119.998"
|
||||||
|
}
|
||||||
|
|
||||||
// Settings that influence how windows are positioned and sized.
|
// Settings that influence how windows are positioned and sized.
|
||||||
// Find more information on the wiki:
|
// Find more information on the wiki:
|
||||||
@ -129,7 +126,7 @@ layout {
|
|||||||
// together with the previously focused column.
|
// together with the previously focused column.
|
||||||
center-focused-column "never"
|
center-focused-column "never"
|
||||||
|
|
||||||
always-center-single-column
|
// always-center-single-column
|
||||||
|
|
||||||
// You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
|
// You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
|
||||||
preset-column-widths {
|
preset-column-widths {
|
||||||
@ -279,11 +276,13 @@ layout {
|
|||||||
|
|
||||||
// This line starts waybar, a commonly used bar for Wayland compositors.
|
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||||
spawn-at-startup "waybar"
|
spawn-at-startup "waybar"
|
||||||
|
spawn-at-startup "xwayland-satellite"
|
||||||
spawn-at-startup "dunst"
|
spawn-at-startup "dunst"
|
||||||
spawn-sh-at-startup "waypaper --restore"
|
spawn-sh-at-startup "waypaper --restore"
|
||||||
spawn-sh-at-startup "foot --server"
|
spawn-sh-at-startup "foot --server"
|
||||||
spawn-sh-at-startup "wl-paste --watch cliphist store"
|
spawn-sh-at-startup "wl-paste --watch cliphist store"
|
||||||
spawn-sh-at-startup "wl-paste --type image --watch cliphist store"
|
spawn-sh-at-startup "wl-paste --type image --watch cliphist store"
|
||||||
|
spawn-at-startup "niri-switch-daemon"
|
||||||
|
|
||||||
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
|
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
|
||||||
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
|
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
|
||||||
@ -377,17 +376,22 @@ binds {
|
|||||||
// shows a list of important hotkeys.
|
// shows a list of important hotkeys.
|
||||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||||
|
|
||||||
Super+C hotkey-overlay-title=null { spawn-sh "cliphist list | rofi -dmenu | cliphist decode | wl-copy"; }
|
Mod+C hotkey-overlay-title=null { spawn-sh "cliphist list | rofi -dmenu | cliphist decode | wl-copy"; }
|
||||||
|
|
||||||
Alt+W { spawn-sh "killall waybar && waybar &"; }
|
Alt+W { spawn-sh "killall waybar && waybar &"; }
|
||||||
|
|
||||||
Super+E { spawn-sh "xdg-open ~"; }
|
Mod+A { spawn-sh "pkill rofi || ~/.config/rofi/volume/volume.sh"; }
|
||||||
|
|
||||||
Super+T { spawn-sh "pkill rofi || rofi -show fb -modes \"fb:~/.config/rofi/settings-menu/setmen.sh\" -theme $HOME/.config/rofi/settings-menu/settings-menu.rasi"; }
|
Mod+E { spawn-sh "xdg-open ~"; }
|
||||||
|
|
||||||
|
Mod+T { spawn-sh "pkill rofi || rofi -show fb -modes \"fb:~/.config/rofi/settings-menu/setmen.sh\" -theme $HOME/.config/rofi/settings-menu/settings-menu.rasi"; }
|
||||||
|
|
||||||
|
Mod+Tab { spawn "niri-switch"; }
|
||||||
|
Mod+Shift+Tab { spawn "niri-switch" "--previous"; }
|
||||||
|
|
||||||
Mod+Return hotkey-overlay-title="Open a Terminal: foot" { spawn "foot"; }
|
Mod+Return hotkey-overlay-title="Open a Terminal: foot" { spawn "foot"; }
|
||||||
Mod+Space hotkey-overlay-title="Run an Application: rofi" { spawn-sh "pkill rofi || ~/.config/rofi/launcher/launcher.sh"; }
|
Mod+Space hotkey-overlay-title="Run an Application: rofi" { spawn-sh "pkill rofi || ~/.config/rofi/launcher/launcher.sh"; }
|
||||||
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn-sh "wlogout -P 1 -s -r 10 -c 10"; }
|
Mod+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn-sh "wlogout -P 1 -s -r 10 -c 10"; }
|
||||||
|
|
||||||
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
|
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
|
||||||
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
|
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
|
||||||
@ -412,7 +416,7 @@ binds {
|
|||||||
// You can also move the mouse into the top-left hot corner,
|
// You can also move the mouse into the top-left hot corner,
|
||||||
// or do a four-finger swipe up on a touchpad.
|
// or do a four-finger swipe up on a touchpad.
|
||||||
Mod+O repeat=false { toggle-overview; }
|
Mod+O repeat=false { toggle-overview; }
|
||||||
Mod+Tab repeat=false { toggle-overview; }
|
// Mod+Tab repeat=false { toggle-overview; }
|
||||||
|
|
||||||
Mod+Q repeat=false { close-window; }
|
Mod+Q repeat=false { close-window; }
|
||||||
|
|
||||||
@ -578,7 +582,7 @@ binds {
|
|||||||
// Makes the column "fill the rest of the space".
|
// Makes the column "fill the rest of the space".
|
||||||
Mod+Ctrl+F { expand-column-to-available-width; }
|
Mod+Ctrl+F { expand-column-to-available-width; }
|
||||||
|
|
||||||
Mod+C { center-column; }
|
// Mod+C { center-column; }
|
||||||
|
|
||||||
// Center all fully visible columns on screen.
|
// Center all fully visible columns on screen.
|
||||||
Mod+Ctrl+C { center-visible-columns; }
|
Mod+Ctrl+C { center-visible-columns; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user