AutoYADM commit: 2025-05-02 16:30:12
This commit is contained in:
parent
2bc27be5f4
commit
c585215b6d
1 changed files with 31 additions and 17 deletions
|
@ -218,12 +218,6 @@ window-rule {
|
|||
proportion 0.75
|
||||
}
|
||||
}
|
||||
window-rule {
|
||||
match app-id="^Bitwarden$"
|
||||
default-column-width {
|
||||
proportion 0.33337
|
||||
}
|
||||
}
|
||||
window-rule {
|
||||
match app-id="vesktop$"
|
||||
// clip-to-geometry true
|
||||
|
@ -237,14 +231,21 @@ window-rule {
|
|||
}
|
||||
clip-to-geometry true
|
||||
}
|
||||
// Open the Firefox picture-in-picture player as floating by default.
|
||||
window-rule {
|
||||
// This app-id regular expression will work for both:
|
||||
// - host Firefox (app-id is "firefox")
|
||||
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
||||
match app-id="firefox$" title="^Picture-in-Picture$"
|
||||
match app-id="Bitwarden"
|
||||
default-column-width {
|
||||
proportion 0.33337
|
||||
}
|
||||
open-floating true
|
||||
}
|
||||
// Open the Firefox picture-in-picture player as floating by default.
|
||||
// window-rule {
|
||||
// // This app-id regular expression will work for both:
|
||||
// // - host Firefox (app-id is "firefox")
|
||||
// // - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
||||
// match app-id="firefox$" title="^Picture-in-Picture$"
|
||||
// open-floating true
|
||||
// }
|
||||
// Example: block out two password managers from screen capture.
|
||||
// (This example rule is commented out with a "/-" in front.)
|
||||
window-rule {
|
||||
|
@ -255,6 +256,13 @@ window-rule {
|
|||
// Use this instead if you want them visible on third-party screenshot tools.
|
||||
// block-out-from "screencast"
|
||||
}
|
||||
// Steam notifications
|
||||
window-rule {
|
||||
match app-id="steam" title="notificationtoasts"
|
||||
open-focused false
|
||||
open-floating true
|
||||
default-floating-position x=100 y=100 relative-to="bottom-right"
|
||||
}
|
||||
layer-rule {
|
||||
match namespace="^launcher$"
|
||||
shadow {
|
||||
|
@ -277,6 +285,9 @@ environment {
|
|||
QT_QPA_PLATFORMTHEME "qt5ct"
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR "1"
|
||||
GTK_IM_MODULE "fcitx"
|
||||
QT_IM_MODULE "fcitx"
|
||||
XMODIFIERS "@im=fcitx"
|
||||
}
|
||||
cursor {
|
||||
hide-when-typing
|
||||
|
@ -633,7 +644,7 @@ binds {
|
|||
// Alternatively, there are commands to move just a single window:
|
||||
// Mod+Ctrl+1 { move-window-to-workspace 1; }
|
||||
// Switches focus between the current and the previous workspace.
|
||||
Alt+Tab {
|
||||
Mod+Tab {
|
||||
focus-workspace-previous
|
||||
}
|
||||
// Adapt the sway-window-switcher and bind it here
|
||||
|
@ -699,10 +710,10 @@ binds {
|
|||
set-window-height "+10%"
|
||||
}
|
||||
// Move the focused window between the floating and the tiling layout.
|
||||
Mod+T {
|
||||
Mod+Shift+T {
|
||||
toggle-window-floating
|
||||
}
|
||||
Mod+Shift+T {
|
||||
Mod+T {
|
||||
switch-focus-between-floating-and-tiling
|
||||
}
|
||||
// Toggle tabbed column display mode.
|
||||
|
@ -738,7 +749,7 @@ binds {
|
|||
Mod+Shift+Alt+S {
|
||||
spawn "~/dev/wayland-utils/recorder/recorder.sh" "region"
|
||||
}
|
||||
Mod+Tab {
|
||||
Mod+Escape {
|
||||
spawn "~/dev/wayland-utils/niri-switcher/window-picker.py"
|
||||
}
|
||||
Mod+semicolon {
|
||||
|
@ -755,13 +766,16 @@ binds {
|
|||
//
|
||||
// The allow-inhibiting=false property can be applied to other binds as well,
|
||||
// which ensures niri always processes them, even when an inhibitor is active.
|
||||
Mod+Escape allow-inhibiting=false {
|
||||
Mod+Ctrl+Escape allow-inhibiting=false {
|
||||
toggle-keyboard-shortcuts-inhibit
|
||||
}
|
||||
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||
Mod+Shift+semicolon {
|
||||
quit
|
||||
spawn "~/dev/utils/waymoji/waymoji.fish"
|
||||
}
|
||||
// Mod+Shift+semicolon {
|
||||
// quit
|
||||
// }
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
Mod+Shift+P {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue