mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Minor modifcations made for Niri.
This commit is contained in:
@@ -105,7 +105,12 @@ input {
|
||||
// automatically.
|
||||
position x=1280 y=0
|
||||
}
|
||||
|
||||
environment {
|
||||
DISPLAY ":1"
|
||||
// # Optional: You may also need to add the following for some specific issues
|
||||
_JAVA_AWT_WM_NONREPARENTING "1"
|
||||
GLFW_PLATFORM "x11"
|
||||
}
|
||||
// Settings that influence how windows are positioned and sized.
|
||||
// Find more information on the wiki:
|
||||
// https://yalter.github.io/niri/Configuration:-Layout
|
||||
@@ -271,6 +276,7 @@ layout {
|
||||
spawn-at-startup "kanshi"
|
||||
spawn-at-startup "waybar"
|
||||
spawn-at-startup "waypaper" "--restore"
|
||||
spawn-at-startup "xwayland-satellite"
|
||||
spawn-at-startup "/usr/bin/emacs" "--daemon"
|
||||
spawn-at-startup "nextcloud"
|
||||
|
||||
@@ -367,8 +373,8 @@ binds {
|
||||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
|
||||
Mod+Shift+Return hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
|
||||
// Mod+Shift+Return hotkey-overlay-title="Run an Application: rofi" { spawn "rofi -show drun"; }
|
||||
// Mod+Shift+Return hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel" "-f" "Ubuntu:weight=regular:size=12" "-w" "60" "-x" "14" "-y" "14" "-b" "#282c34ff" "-t" "#abb2bfff" "-m" "#51afefff" "-s" "#1c1f24ff" "-S" "#abb2bfff" "-M" "#51afefff" "-C" "#51afefff" "-p" "RUN:"; }
|
||||
Mod+Shift+Return hotkey-overlay-title="Run an Application: rofi" { spawn "rofi" "-show" "drun" "-show-icons"; }
|
||||
Mod+Alt+Minus hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
||||
|
||||
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
|
||||
|
||||
Reference in New Issue
Block a user