more niri related changes

This commit is contained in:
chloe 2025-04-19 14:07:29 +02:00
parent 21c238b30b
commit 338e12ad7d
3 changed files with 24 additions and 20 deletions

View file

@ -258,7 +258,7 @@ layout {
// You can change the path where screenshots are saved.
// A ~ at the front will be expanded to the home directory.
// The path is formatted with strftime(3) to give you the screenshot date and time.
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
screenshot-path "~/Images/Captures d'écrans/Screenshot from %Y-%m-%d %H-%M-%S.png"
// You can also set this to null to disable saving screenshots to disk.
// screenshot-path null
@ -299,7 +299,7 @@ window-rule {
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
@ -311,7 +311,7 @@ window-rule {
// Example: enable rounded corners for all windows.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
window-rule {
geometry-corner-radius 12
clip-to-geometry true
}
@ -332,7 +332,7 @@ binds {
Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Enter { spawn "foot"; }
Mod+Return { spawn "foot"; }
Mod+D { spawn "walker"; }
Super+Alt+L { spawn "swaylock"; }
@ -565,3 +565,9 @@ binds {
// moving the mouse or pressing any other key.
Mod+Shift+P { power-off-monitors; }
}
spawn-at-startup "xwayland-satellite"
environment {
DISPLAY ":0"
}

View file

@ -1,6 +1,6 @@
{
"layer": "top",
"modules-left": ["custom/launcher", "sway/workspaces", "sway/mode"],
"modules-left": ["custom/launcher", "niri/workspaces"],
"modules-center": [],
"modules-right": [
"tray",