updating and trying to simplify
This commit is contained in:
parent
c079588bdf
commit
f5a0090ea0
12 changed files with 348 additions and 50 deletions
|
@ -20,22 +20,34 @@ input {
|
|||
|
||||
mouse {
|
||||
natural-scroll
|
||||
// accel-speed 0.2
|
||||
// accel-profile "flat"
|
||||
// scroll-method "no-scroll"
|
||||
accel-speed 0.2
|
||||
accel-profile "flat"
|
||||
}
|
||||
|
||||
// Uncomment this to make the mouse warp to the center of newly focused windows.
|
||||
// warp-mouse-to-focus
|
||||
workspace-auto-back-and-forth
|
||||
}
|
||||
|
||||
output "eDP-1" {
|
||||
mode "2560x1600"
|
||||
background-color "#000000"
|
||||
scale 1.5
|
||||
scale 1
|
||||
transform "normal"
|
||||
}
|
||||
|
||||
output "DP-3" {
|
||||
mode "3840x2160@59.997"
|
||||
background-color "#000000"
|
||||
scale 1.1
|
||||
transform "normal"
|
||||
}
|
||||
|
||||
environment {
|
||||
DISPLAY ":0"
|
||||
//QT_QPA_PLATFORM "wayland"
|
||||
//XDG_CURRENT_DESKTOP "niri"
|
||||
//XDG_SESSION_TYPE "wayland"
|
||||
}
|
||||
|
||||
layout {
|
||||
gaps 10
|
||||
center-focused-column "never"
|
||||
|
@ -57,21 +69,31 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
prefer-no-csd
|
||||
workspace "main"
|
||||
workspace "scratchpad"
|
||||
|
||||
spawn-at-startup "mako"
|
||||
spawn-at-startup "yambar"
|
||||
spawn-at-startup "xwayland-satellite"
|
||||
spawn-at-startup "fuzzel"
|
||||
// prefer-no-csd
|
||||
|
||||
// spawn-at-startup "mako"
|
||||
// spawn-at-startup "fuzzel"
|
||||
// spawn-at-startup "eww" "daemon"
|
||||
spawn-at-startup "xwayland-satellite" ":0"
|
||||
spawn-at-startup "clipse" "-listen"
|
||||
|
||||
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
||||
|
||||
animations {
|
||||
slowdown 3.0
|
||||
slowdown 1.0
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match app-id="plexamp"
|
||||
open-on-workspace "scratchpad"
|
||||
open-floating true
|
||||
}
|
||||
|
||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules
|
||||
// Work around WezTerm's initial configure bug
|
||||
// Work around WezTerm initial configure bug
|
||||
// by setting an empty default-column-width.
|
||||
window-rule {
|
||||
match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
||||
|
@ -88,7 +110,7 @@ window-rule {
|
|||
}
|
||||
|
||||
window-rule {
|
||||
geometry-corner-radius 6
|
||||
geometry-corner-radius 12
|
||||
clip-to-geometry true
|
||||
}
|
||||
|
||||
|
@ -98,7 +120,7 @@ binds {
|
|||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+T { spawn "wezterm"; }
|
||||
Mod+D { spawn "fuzzel"; }
|
||||
Mod+Space { spawn "fuzzel"; }
|
||||
Super+Alt+L { spawn "swaylock"; }
|
||||
|
||||
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||
|
@ -258,7 +280,8 @@ binds {
|
|||
|
||||
// Move the focused window between the floating and the tiling layout.
|
||||
Mod+X { toggle-window-floating; }
|
||||
Mod+Shift+X { switch-focus-between-floating-and-tiling; }
|
||||
// Mod+Shift+X { switch-focus-between-floating-and-tiling; }
|
||||
Mod+Shift+X { focus-workspace "scratchpad"; }
|
||||
|
||||
// Actions to switch layouts.
|
||||
// Note: if you uncomment these, make sure you do NOT have
|
||||
|
@ -274,7 +297,7 @@ binds {
|
|||
|
||||
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||
Mod+Shift+E { quit; }
|
||||
Ctrl+Alt+Delete { quit; }
|
||||
//Ctrl+Alt+Delete { quit; }
|
||||
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue