0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix some regression in my keybinds :3

+461 -300
+461 -300
home/modules/niri.nix
··· 1 - { pkgs, inputs, config, ... }: 1 + { 2 + pkgs, 3 + inputs, 4 + config, 5 + ... 6 + }: 2 7 3 8 { 4 9 imports = [ ··· 71 76 enable = true; 72 77 package = pkgs.niri; 73 78 settings = { 74 - input = { 75 - keyboard = { 76 - xkb.layout = "us(altgr-intl)"; 77 - numlock = false; 78 - }; 79 - touchpad = { 80 - tap = true; 81 - natural-scroll = true; 82 - disabled-on-external-mouse = true; 83 - }; 84 - mouse.accel-speed = 1.0; 85 - focus-follows-mouse.max-scroll-amount = "15%"; 79 + input = { 80 + keyboard = { 81 + xkb.layout = "us(altgr-intl)"; 82 + numlock = false; 83 + }; 84 + touchpad = { 85 + tap = true; 86 + natural-scroll = true; 87 + disabled-on-external-mouse = true; 86 88 }; 89 + mouse.accel-speed = 1.0; 90 + focus-follows-mouse.max-scroll-amount = "15%"; 91 + }; 87 92 88 - layer-rules = [ 89 - { 90 - matches = [ 91 - { namespace = "^noctalia-overview*"; } 92 - ]; 93 - place-within-backdrop = true; 94 - } 95 - ]; 93 + layer-rules = [ 94 + { 95 + matches = [ 96 + { namespace = "^noctalia-overview*"; } 97 + ]; 98 + place-within-backdrop = true; 99 + } 100 + ]; 96 101 97 - environment = { 98 - GTK_IM_MODULE = "ibus"; 99 - QT_IM_MODULE = "ibus"; 100 - XMODIFIERS = "@im=ibus"; 101 - ELECTRON_OZONE_PLATFORM_HINT = "auto"; 102 - }; 102 + environment = { 103 + GTK_IM_MODULE = "ibus"; 104 + QT_IM_MODULE = "ibus"; 105 + XMODIFIERS = "@im=ibus"; 106 + ELECTRON_OZONE_PLATFORM_HINT = "auto"; 107 + }; 103 108 104 - # samurott-nix's second screen is on the left. 105 - outputs."Virtual-2".position = { x = -30000; y = 0; }; 109 + # samurott-nix's second screen is on the left. 110 + outputs."Virtual-2".position = { 111 + x = -30000; 112 + y = 0; 113 + }; 106 114 107 - layout = { 108 - gaps = 15; 109 - center-focused-column = "never"; 110 - always-center-single-column = true; 115 + layout = { 116 + gaps = 15; 117 + center-focused-column = "never"; 118 + always-center-single-column = true; 111 119 112 - preset-column-widths = [ 113 - { proportion = 0.25; } 114 - { proportion = 0.5; } 115 - { proportion = 0.75; } 116 - { proportion = 1.0; } 120 + preset-column-widths = [ 121 + { proportion = 0.25; } 122 + { proportion = 0.5; } 123 + { proportion = 0.75; } 124 + { proportion = 1.0; } 125 + ]; 126 + preset-window-heights = [ 127 + { proportion = 0.4; } 128 + { proportion = 0.74; } 129 + { proportion = 1.0; } 130 + ]; 131 + default-column-width.proportion = 0.75; 132 + focus-ring.enable = false; 133 + border = { 134 + enable = true; 135 + width = 4; 136 + active.color = "#85aaa0"; 137 + inactive.color = "#4a4442"; 138 + urgent.color = "#1e8b44"; 139 + }; 140 + shadow = { 141 + enable = true; 142 + softness = 30; 143 + spread = 5; 144 + offset = { 145 + x = 0; 146 + y = 5; 147 + }; 148 + color = "#0007"; 149 + }; 150 + struts = { 151 + left = 14; 152 + right = 14; 153 + }; 154 + }; 155 + # Startup spawns! 156 + spawn-at-startup = [ 157 + { command = [ "noctalia-shell" ]; } 158 + { command = [ "spotify" ]; } 159 + { command = [ "discord" ]; } 160 + { command = [ "teams-for-linux" ]; } 161 + { command = [ "thunderbird" ]; } 162 + { 163 + command = [ 164 + "wl-paste" 165 + "--type" 166 + "text" 167 + "--watch" 168 + "cliphist" 169 + "store" 170 + ]; 171 + } 172 + { 173 + command = [ 174 + "wl-paste" 175 + "--type" 176 + "image" 177 + "--watch" 178 + "cliphist" 179 + "store" 180 + ]; 181 + } 182 + { 183 + command = [ 184 + "dbus-update-activation-environment" 185 + "--systemd" 186 + "DISPLAY" 187 + "WAYLAND_DISPLAY" 188 + "XDG_CURRENT_DESKTOP" 189 + "NIXOS_OZONE_WL" 117 190 ]; 118 - preset-window-heights = [ 119 - { proportion = 0.4; } 120 - { proportion = 0.74; } 121 - { proportion = 1.0; } 191 + } 192 + { 193 + command = [ 194 + "gnome-keyring-daemon" 195 + "--start" 196 + "--components=secrets" 122 197 ]; 123 - default-column-width.proportion = 0.75; 124 - focus-ring.enable = false; 125 - border = { 126 - enable = true; 127 - width = 4; 128 - active.color = "#85aaa0"; 129 - inactive.color = "#4a4442"; 130 - urgent.color = "#1e8b44"; 131 - }; 132 - shadow = { 133 - enable = true; 134 - softness = 30; 135 - spread = 5; 136 - offset = { x = 0; y = 5; }; 137 - color = "#0007"; 138 - }; 139 - struts = { left = 14; right = 14; }; 140 - }; 141 - # Startup spawns! 142 - spawn-at-startup = [ 143 - { command = [ "noctalia-shell" ]; } 144 - { command = [ "spotify" ]; } 145 - { command = [ "discord" ]; } 146 - { command = [ "teams-for-linux" ]; } 147 - { command = [ "thunderbird" ]; } 148 - { command = [ "wl-paste" "--type" "text" "--watch" "cliphist" "store" ]; } 149 - { command = [ "wl-paste" "--type" "image" "--watch" "cliphist" "store" ]; } 150 - { command = [ "dbus-update-activation-environment" "--systemd" "DISPLAY" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" "NIXOS_OZONE_WL" ]; } 151 - { command = [ "gnome-keyring-daemon" "--start" "--components=secrets" ]; } 152 - { command = [ "kdeconnectd" ]; } 153 - { sh = "sleep 5s; niri msg action focus-workspace 1 && systemctl --user start wallpaper-switcher"; } 154 - ]; 198 + } 199 + { command = [ "kdeconnectd" ]; } 200 + { sh = "sleep 5s; niri msg action focus-workspace 1 && systemctl --user start wallpaper-switcher"; } 201 + ]; 155 202 156 - prefer-no-csd = true; 157 - screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"; 203 + prefer-no-csd = true; 204 + screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"; 158 205 159 - workspaces = { 206 + workspaces = { 160 207 # First three workspaces permanent and unnamed 161 - "1" = {}; 162 - "2" = {}; 163 - "3" = {}; 164 - # Then two permanent dedicated ones 165 - "💬" = {}; 166 - "🎧" = {}; 167 - }; 208 + "1" = { }; 209 + "2" = { }; 210 + "3" = { }; 211 + # Then two permanent dedicated ones 212 + "💬" = { }; 213 + "🎧" = { }; 214 + }; 168 215 169 - window-rules = [ 170 - { 171 - matches = [ 172 - { app-id = "^org\\.wezfurlong\\.wezterm$"; } 173 - { app-id = "Spotify"; } 174 - ]; 216 + window-rules = [ 217 + { 218 + matches = [ 219 + { app-id = "^org\\.wezfurlong\\.wezterm$"; } 220 + { app-id = "Spotify"; } 221 + ]; 175 222 176 - open-maximized = true; 177 - } 178 - { 179 - matches = [{ title = "waybar"; }]; 180 - open-floating = true; 181 - default-column-width.proportion = 0.1; 182 - } 183 - { 184 - matches = [ 185 - { app-id = "Chromium-browser"; title = "(.*) • (.*)"; } 186 - { title = "^Picture-in-Picture$"; } 187 - { app-id = "org.gnome.Characters"; } 188 - { app-id = "org.gnome.Calculator"; } 189 - ]; 190 - open-floating = true; 191 - } 192 - { 193 - matches = [ 194 - { app-id = "Spotify"; } 195 - { app-id = "org.gnome.Music"; } 196 - ]; 197 - open-on-workspace = "🎧"; 198 - } 199 - { 200 - matches = [ 201 - { app-id = "discord"; } 202 - { app-id = "org.kde.kdeconnect.app"; } 203 - { app-id = "BeeperTexts"; } 204 - { app-id = "thunderbird"; } 205 - { app-id = "fluffychat"; } 206 - { app-id = "teams-for-linux"; } 207 - ]; 208 - open-on-workspace = "💬"; 209 - } 210 - { 211 - matches = [ 212 - { app-id = "^org\\.keepassxc\\.KeePassXC$"; } 213 - { app-id = "^org\\.gnome\\.World\\.Secrets$"; } 214 - ]; 215 - block-out-from = "screen-capture"; 216 - } 217 - { 218 - # This rule applies to all windows as it has no 'matches' 219 - geometry-corner-radius = { 220 - bottom-left = 20.0; 221 - bottom-right = 20.0; 222 - top-left = 20.0; 223 - top-right = 20.0; 224 - }; 225 - clip-to-geometry = true; 226 - } 227 - ]; 228 - 229 - binds = { 230 - "Mod+Shift+Slash".action.show-hotkey-overlay = []; 231 - "Mod+Return" = { 232 - action.spawn = "wezterm"; 233 - hotkey-overlay.title = "Open a Terminal: wezterm"; 234 - }; 235 - "Mod+B"={action.spawn = "librewolf"; 236 - hotkey-overlay.title = "Open default browser: Librewolf"; 237 - }; 238 - "Mod+Shift+B"={action.spawn = "vivaldi"; 239 - hotkey-overlay.title = "Open browser: Vivaldi"; 240 - }; 241 - "Mod+D" = { 242 - action.spawn = [ "noctalia-shell" "ipc" "call" "launcher" "toggle" ]; 243 - hotkey-overlay.title = "Launcher"; 223 + open-maximized = true; 224 + } 225 + { 226 + matches = [ { title = "waybar"; } ]; 227 + open-floating = true; 228 + default-column-width.proportion = 0.1; 229 + } 230 + { 231 + matches = [ 232 + { 233 + app-id = "Chromium-browser"; 234 + title = "(.*) • (.*)"; 235 + } 236 + { title = "^Picture-in-Picture$"; } 237 + { app-id = "org.gnome.Characters"; } 238 + { app-id = "org.gnome.Calculator"; } 239 + ]; 240 + open-floating = true; 241 + } 242 + { 243 + matches = [ 244 + { app-id = "Spotify"; } 245 + { app-id = "org.gnome.Music"; } 246 + ]; 247 + open-on-workspace = "🎧"; 248 + } 249 + { 250 + matches = [ 251 + { app-id = "discord"; } 252 + { app-id = "org.kde.kdeconnect.app"; } 253 + { app-id = "BeeperTexts"; } 254 + { app-id = "thunderbird"; } 255 + { app-id = "fluffychat"; } 256 + { app-id = "teams-for-linux"; } 257 + ]; 258 + open-on-workspace = "💬"; 259 + } 260 + { 261 + matches = [ 262 + { app-id = "^org\\.keepassxc\\.KeePassXC$"; } 263 + { app-id = "^org\\.gnome\\.World\\.Secrets$"; } 264 + ]; 265 + block-out-from = "screen-capture"; 266 + } 267 + { 268 + # This rule applies to all windows as it has no 'matches' 269 + geometry-corner-radius = { 270 + bottom-left = 20.0; 271 + bottom-right = 20.0; 272 + top-left = 20.0; 273 + top-right = 20.0; 244 274 }; 275 + clip-to-geometry = true; 276 + } 277 + ]; 245 278 246 - # Audio media keys 247 - XF86AudioRaiseVolume = { 248 - action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+" ]; 249 - allow-when-locked = true; 250 - }; 251 - XF86AudioLowerVolume = { 252 - action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-" ]; 253 - allow-when-locked = true; 254 - }; 279 + binds = { 280 + "Mod+Shift+Slash".action.show-hotkey-overlay = [ ]; 255 281 256 - XF86AudioMute = { 257 - action.spawn = [ "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle" ]; 258 - allow-when-locked = true; 259 - }; 260 - XF86AudioMicMute = { 261 - action.spawn = [ "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle" ]; 262 - allow-when-locked = true; 263 - }; 282 + "Mod+Return" = { 283 + action.spawn = "wezterm"; 284 + hotkey-overlay.title = "Open a Terminal: wezterm"; 285 + }; 286 + "Mod+Shift+Return" = { 287 + action.spawn = "kgx"; 288 + hotkey-overlay.title = "Open a Terminal: Gnome Console"; 289 + }; 290 + "Mod+B" = { 291 + action.spawn = "librewolf"; 292 + hotkey-overlay.title = "Open default browser: Librewolf"; 293 + }; 294 + "Mod+Shift+B" = { 295 + action.spawn = "vivaldi"; 296 + hotkey-overlay.title = "Open browser: Vivaldi"; 297 + }; 298 + "Mod+D" = { 299 + action.spawn = [ 300 + "noctalia-shell" 301 + "ipc" 302 + "call" 303 + "launcher" 304 + "toggle" 305 + ]; 306 + hotkey-overlay.title = "Launcher"; 307 + }; 308 + "Mod+Shift+D" = { 309 + action.spawn = [ "krunner" ]; 310 + hotkey-overlay.title = "Krunner"; 311 + }; 312 + "Alt+Space" = { 313 + action.spawn = [ "krunner" ]; 314 + hotkey-overlay.title = "Krunner"; 315 + }; 316 + "Mod+V" = { 317 + action.spawn = [ 318 + "noctalia-shell" 319 + "ipc" 320 + "call" 321 + "launcher" 322 + "clipboard" 323 + ]; 324 + hotkey-overlay.title = "Clipboard"; 325 + }; 326 + "Mod+Period" = { 327 + action.spawn = [ 328 + "noctalia-shell" 329 + "ipc" 330 + "call" 331 + "launcher" 332 + "emoji" 333 + ]; 334 + hotkey-overlay.title = "Emoji"; 335 + }; 264 336 337 + # Audio media keys 338 + XF86AudioRaiseVolume = { 339 + action.spawn = [ 340 + "wpctl" 341 + "set-volume" 342 + "@DEFAULT_AUDIO_SINK@" 343 + "0.02+" 344 + ]; 345 + allow-when-locked = true; 346 + }; 347 + XF86AudioLowerVolume = { 348 + action.spawn = [ 349 + "wpctl" 350 + "set-volume" 351 + "@DEFAULT_AUDIO_SINK@" 352 + "0.02-" 353 + ]; 354 + allow-when-locked = true; 355 + }; 265 356 266 - # Other media keys, brightness: 267 - XF86MonBrightnessDown = {allow-when-locked=true; 268 - action.spawn=["brightnessctl" "set" "1%-"];}; 269 - XF86MonBrightnessUp = {allow-when-locked=true; 270 - action.spawn=["brightnessctl" "set" "+1%"];}; 271 - # Next/previous track keys: 272 - XF86AudioNext = {allow-when-locked=true; 273 - action.spawn=["playerctl" "next"];}; 274 - XF86AudioPrev = {allow-when-locked=true; 275 - action.spawn=["playerctl" "previous"];}; 276 - XF86AudioPlay = {allow-when-locked=true; 277 - action.spawn=["playerctl" "play-pause"];}; 357 + XF86AudioMute = { 358 + action.spawn = [ 359 + "wpctl" 360 + "set-mute" 361 + "@DEFAULT_AUDIO_SINK@" 362 + "toggle" 363 + ]; 364 + allow-when-locked = true; 365 + }; 366 + XF86AudioMicMute = { 367 + action.spawn = [ 368 + "wpctl" 369 + "set-mute" 370 + "@DEFAULT_AUDIO_SOURCE@" 371 + "toggle" 372 + ]; 373 + allow-when-locked = true; 374 + }; 278 375 279 - 280 - "Mod+O".action.toggle-overview = []; 281 - "Mod+Q".action.close-window = []; 376 + # Other media keys, brightness: 377 + XF86MonBrightnessDown = { 378 + allow-when-locked = true; 379 + action.spawn = [ 380 + "brightnessctl" 381 + "set" 382 + "1%-" 383 + ]; 384 + }; 385 + XF86MonBrightnessUp = { 386 + allow-when-locked = true; 387 + action.spawn = [ 388 + "brightnessctl" 389 + "set" 390 + "+1%" 391 + ]; 392 + }; 393 + # Next/previous track keys: 394 + XF86AudioNext = { 395 + allow-when-locked = true; 396 + action.spawn = [ 397 + "playerctl" 398 + "next" 399 + ]; 400 + }; 401 + XF86AudioPrev = { 402 + allow-when-locked = true; 403 + action.spawn = [ 404 + "playerctl" 405 + "previous" 406 + ]; 407 + }; 408 + XF86AudioPlay = { 409 + allow-when-locked = true; 410 + action.spawn = [ 411 + "playerctl" 412 + "play-pause" 413 + ]; 414 + }; 282 415 283 - "Mod+Left".action.focus-column-left = []; 284 - "Mod+Down".action.focus-window-or-workspace-down = []; 285 - "Mod+Up".action.focus-window-or-workspace-up = []; 286 - "Mod+Right".action.focus-column-right = []; 287 - "Mod+Shift+Left".action.move-column-left = [ ]; 288 - "Mod+Shift+Down".action.move-window-down-or-to-workspace-down = [ ]; 289 - "Mod+Shift+Up".action.move-window-up-or-to-workspace-up = [ ]; 290 - "Mod+Shift+Right".action.move-column-right = [ ]; 416 + "Mod+O".action.toggle-overview = [ ]; 417 + "Mod+Q".action.close-window = [ ]; 291 418 292 - "Mod+Home".action.focus-column-first = [ ]; 293 - "Mod+End".action.focus-column-last = [ ]; 294 - "Mod+Ctrl+Home".action.move-column-to-first = [ ]; 295 - "Mod+Ctrl+End".action.move-column-to-last = [ ]; 419 + "Mod+Left".action.focus-column-left = [ ]; 420 + "Mod+Down".action.focus-window-or-workspace-down = [ ]; 421 + "Mod+Up".action.focus-window-or-workspace-up = [ ]; 422 + "Mod+Right".action.focus-column-right = [ ]; 423 + "Mod+Shift+Left".action.move-column-left = [ ]; 424 + "Mod+Shift+Down".action.move-window-down-or-to-workspace-down = [ ]; 425 + "Mod+Shift+Up".action.move-window-up-or-to-workspace-up = [ ]; 426 + "Mod+Shift+Right".action.move-column-right = [ ]; 296 427 297 - "Mod+Ctrl+Left".action.focus-monitor-left = [ ]; 298 - "Mod+Ctrl+Down".action.focus-monitor-down = [ ]; 299 - "Mod+Ctrl+Up".action.focus-monitor-up = [ ]; 300 - "Mod+Ctrl+Right".action.focus-monitor-right = [ ]; 301 - "Mod+Ctrl+H".action.focus-monitor-left = [ ]; 302 - "Mod+Ctrl+J".action.focus-monitor-down = [ ]; 303 - "Mod+Ctrl+K".action.focus-monitor-up = [ ]; 304 - "Mod+Ctrl+L".action.focus-monitor-right = [ ]; 305 - "Mod+Shift+Ctrl+Left".action.move-column-to-monitor-left = [ ]; 306 - "Mod+Shift+Ctrl+Down".action.move-column-to-monitor-down = [ ]; 307 - "Mod+Shift+Ctrl+Up".action.move-column-to-monitor-up = [ ]; 308 - "Mod+Shift+Ctrl+Right".action.move-column-to-monitor-right = [ ]; 309 - "Mod+Shift+Ctrl+H".action.move-column-to-monitor-left = [ ]; 310 - "Mod+Shift+Ctrl+J".action.move-column-to-monitor-down = [ ]; 311 - "Mod+Shift+Ctrl+K".action.move-column-to-monitor-up = [ ]; 312 - "Mod+Shift+Ctrl+L".action.move-column-to-monitor-right = [ ]; 313 - "Mod+Page_Down".action.focus-workspace-down = [ ]; 314 - "Mod+Page_Up".action.focus-workspace-up = [ ]; 315 - "Mod+U".action.focus-workspace-down = [ ]; 316 - "Mod+I".action.focus-workspace-up = [ ]; 317 - "Mod+Ctrl+Page_Down".action.move-column-to-workspace-down = [ ]; 318 - "Mod+Ctrl+Page_Up".action.move-column-to-workspace-up = [ ]; 319 - "Mod+Ctrl+U".action.move-column-to-workspace-down = [ ]; 320 - "Mod+Ctrl+I".action.move-column-to-workspace-up = [ ]; 321 - "Mod+Shift+Page_Down".action.move-workspace-down = [ ]; 322 - "Mod+Shift+Page_Up".action.move-workspace-up = [ ]; 323 - "Mod+Shift+U".action.move-workspace-down = [ ]; 324 - "Mod+Shift+I".action.move-workspace-up = [ ]; 428 + "Mod+Home".action.focus-column-first = [ ]; 429 + "Mod+End".action.focus-column-last = [ ]; 430 + "Mod+Ctrl+Home".action.move-column-to-first = [ ]; 431 + "Mod+Ctrl+End".action.move-column-to-last = [ ]; 325 432 326 - "Mod+WheelScrollRight" = { action.focus-column-right = [ ]; cooldown-ms = 150; }; 327 - "Mod+WheelScrollLeft" = { action.focus-column-left = [ ]; cooldown-ms = 150; }; 328 - "Mod+Ctrl+WheelScrollDown" = { action.move-column-to-workspace-down = [ ]; cooldown-ms = 150; }; 329 - "Mod+Ctrl+WheelScrollUp" = { action.move-column-to-workspace-up = [ ]; cooldown-ms = 150; }; 330 - "Mod+WheelScrollDown" = { action.focus-window-or-workspace-down = [ ]; cooldown-ms = 150; }; 331 - "Mod+WheelScrollUp" = { action.focus-window-or-workspace-up = [ ]; cooldown-ms = 150; }; 332 - "Mod+Shift+WheelScrollDown".action.focus-column-right = [ ]; 333 - "Mod+Shift+WheelScrollUp".action.focus-column-left = [ ]; 334 - "Mod+Ctrl+WheelScrollRight".action.move-column-right = [ ]; 335 - "Mod+Ctrl+WheelScrollLeft".action.move-column-left = [ ]; 336 - "Mod+Ctrl+Shift+WheelScrollDown".action.move-column-right = [ ]; 337 - "Mod+Ctrl+Shift+WheelScrollUp".action.move-column-left = [ ]; 433 + "Mod+Ctrl+Left".action.focus-monitor-left = [ ]; 434 + "Mod+Ctrl+Down".action.focus-monitor-down = [ ]; 435 + "Mod+Ctrl+Up".action.focus-monitor-up = [ ]; 436 + "Mod+Ctrl+Right".action.focus-monitor-right = [ ]; 437 + "Mod+Ctrl+H".action.focus-monitor-left = [ ]; 438 + "Mod+Ctrl+J".action.focus-monitor-down = [ ]; 439 + "Mod+Ctrl+K".action.focus-monitor-up = [ ]; 440 + "Mod+Ctrl+L".action.focus-monitor-right = [ ]; 441 + "Mod+Shift+Ctrl+Left".action.move-column-to-monitor-left = [ ]; 442 + "Mod+Shift+Ctrl+Down".action.move-column-to-monitor-down = [ ]; 443 + "Mod+Shift+Ctrl+Up".action.move-column-to-monitor-up = [ ]; 444 + "Mod+Shift+Ctrl+Right".action.move-column-to-monitor-right = [ ]; 445 + "Mod+Shift+Ctrl+H".action.move-column-to-monitor-left = [ ]; 446 + "Mod+Shift+Ctrl+J".action.move-column-to-monitor-down = [ ]; 447 + "Mod+Shift+Ctrl+K".action.move-column-to-monitor-up = [ ]; 448 + "Mod+Shift+Ctrl+L".action.move-column-to-monitor-right = [ ]; 449 + "Mod+Page_Down".action.focus-workspace-down = [ ]; 450 + "Mod+Page_Up".action.focus-workspace-up = [ ]; 451 + "Mod+U".action.focus-workspace-down = [ ]; 452 + "Mod+I".action.focus-workspace-up = [ ]; 453 + "Mod+Ctrl+Page_Down".action.move-column-to-workspace-down = [ ]; 454 + "Mod+Ctrl+Page_Up".action.move-column-to-workspace-up = [ ]; 455 + "Mod+Ctrl+U".action.move-column-to-workspace-down = [ ]; 456 + "Mod+Ctrl+I".action.move-column-to-workspace-up = [ ]; 457 + "Mod+Shift+Page_Down".action.move-workspace-down = [ ]; 458 + "Mod+Shift+Page_Up".action.move-workspace-up = [ ]; 459 + "Mod+Shift+U".action.move-workspace-down = [ ]; 460 + "Mod+Shift+I".action.move-workspace-up = [ ]; 338 461 339 - "Mod+1".action.focus-workspace = 1; 340 - "Mod+2".action.focus-workspace = 2; 341 - "Mod+3".action.focus-workspace = 3; 342 - "Mod+4".action.focus-workspace = 4; 343 - "Mod+5".action.focus-workspace = 5; 344 - "Mod+6".action.focus-workspace = 6; 345 - "Mod+7".action.focus-workspace = 7; 346 - "Mod+8".action.focus-workspace = 8; 347 - "Mod+9".action.focus-workspace = 9; 348 - "Mod+Shift+1".action.move-column-to-workspace = 1; 349 - "Mod+Shift+2".action.move-column-to-workspace = 2; 350 - "Mod+Shift+3".action.move-column-to-workspace = 3; 351 - "Mod+Shift+4".action.move-column-to-workspace = 4; 352 - "Mod+Shift+5".action.move-column-to-workspace = 5; 353 - "Mod+Shift+6".action.move-column-to-workspace = 6; 354 - "Mod+Shift+7".action.move-column-to-workspace = 7; 355 - "Mod+Shift+8".action.move-column-to-workspace = 8; 356 - "Mod+Shift+9".action.move-column-to-workspace = 9; 462 + "Mod+WheelScrollRight" = { 463 + action.focus-column-right = [ ]; 464 + cooldown-ms = 150; 465 + }; 466 + "Mod+WheelScrollLeft" = { 467 + action.focus-column-left = [ ]; 468 + cooldown-ms = 150; 469 + }; 470 + "Mod+Ctrl+WheelScrollDown" = { 471 + action.move-column-to-workspace-down = [ ]; 472 + cooldown-ms = 150; 473 + }; 474 + "Mod+Ctrl+WheelScrollUp" = { 475 + action.move-column-to-workspace-up = [ ]; 476 + cooldown-ms = 150; 477 + }; 478 + "Mod+WheelScrollDown" = { 479 + action.focus-window-or-workspace-down = [ ]; 480 + cooldown-ms = 150; 481 + }; 482 + "Mod+WheelScrollUp" = { 483 + action.focus-window-or-workspace-up = [ ]; 484 + cooldown-ms = 150; 485 + }; 486 + "Mod+Shift+WheelScrollDown".action.focus-column-right = [ ]; 487 + "Mod+Shift+WheelScrollUp".action.focus-column-left = [ ]; 488 + "Mod+Ctrl+WheelScrollRight".action.move-column-right = [ ]; 489 + "Mod+Ctrl+WheelScrollLeft".action.move-column-left = [ ]; 490 + "Mod+Ctrl+Shift+WheelScrollDown".action.move-column-right = [ ]; 491 + "Mod+Ctrl+Shift+WheelScrollUp".action.move-column-left = [ ]; 357 492 358 - "Mod+BracketLeft".action.consume-or-expel-window-left = [ ]; 359 - "Mod+BracketRight".action.consume-or-expel-window-right = [ ]; 360 - "Mod+M".action.consume-window-into-column = [ ]; 361 - "Mod+Comma".action.expel-window-from-column = [ ]; 362 - "Mod+R".action.switch-preset-column-width = [ ]; 363 - "Mod+Shift+R".action.switch-preset-window-height = [ ]; 493 + "Mod+1".action.focus-workspace = 1; 494 + "Mod+2".action.focus-workspace = 2; 495 + "Mod+3".action.focus-workspace = 3; 496 + "Mod+4".action.focus-workspace = 4; 497 + "Mod+5".action.focus-workspace = 5; 498 + "Mod+6".action.focus-workspace = 6; 499 + "Mod+7".action.focus-workspace = 7; 500 + "Mod+8".action.focus-workspace = 8; 501 + "Mod+9".action.focus-workspace = 9; 502 + "Mod+Shift+1".action.move-column-to-workspace = 1; 503 + "Mod+Shift+2".action.move-column-to-workspace = 2; 504 + "Mod+Shift+3".action.move-column-to-workspace = 3; 505 + "Mod+Shift+4".action.move-column-to-workspace = 4; 506 + "Mod+Shift+5".action.move-column-to-workspace = 5; 507 + "Mod+Shift+6".action.move-column-to-workspace = 6; 508 + "Mod+Shift+7".action.move-column-to-workspace = 7; 509 + "Mod+Shift+8".action.move-column-to-workspace = 8; 510 + "Mod+Shift+9".action.move-column-to-workspace = 9; 364 511 365 - # Half 366 - "Mod+H".action.set-column-width = "50%"; 367 - # K: Dutch "kwart" (quarter), i.e. 25% 368 - "Mod+K".action.set-column-width = "25%"; 512 + "Mod+BracketLeft".action.consume-or-expel-window-left = [ ]; 513 + "Mod+BracketRight".action.consume-or-expel-window-right = [ ]; 514 + "Mod+M".action.consume-window-into-column = [ ]; 515 + "Mod+Comma".action.expel-window-from-column = [ ]; 516 + "Mod+R".action.switch-preset-column-width = [ ]; 517 + "Mod+Shift+R".action.switch-preset-window-height = [ ]; 369 518 370 - "Mod+Ctrl+R".action.reset-window-height = [ ]; 371 - "Mod+F".action.maximize-column = [ ]; 372 - "Alt+Return".action.fullscreen-window = [ ]; 519 + # Half 520 + "Mod+H".action.set-column-width = "50%"; 521 + # K: Dutch "kwart" (quarter), i.e. 25% 522 + "Mod+K".action.set-column-width = "25%"; 373 523 374 - # Expand the focused column to space not taken up by other fully visible columns. 375 - # Makes the column "fill the rest of the space". 376 - "Mod+Shift+F".action.expand-column-to-available-width = [ ]; 377 - "Mod+C".action.center-column = [ ]; 378 - # Center all fully visible columns on screen. 379 - "Mod+Ctrl+C".action.center-visible-columns = [ ]; 524 + "Mod+Ctrl+R".action.reset-window-height = [ ]; 525 + "Mod+F".action.maximize-column = [ ]; 526 + "Alt+Return".action.fullscreen-window = [ ]; 380 527 381 - "Mod+Minus".action.set-column-width = "-5%"; 382 - "Mod+Equal".action.set-column-width = "+5%"; 383 - "Mod+Shift+Minus".action.set-window-height = "-10%"; 384 - "Mod+Shift+Equal".action.set-window-height = "+10%"; 528 + # Expand the focused column to space not taken up by other fully visible columns. 529 + # Makes the column "fill the rest of the space". 530 + "Mod+Shift+F".action.expand-column-to-available-width = [ ]; 531 + "Mod+C".action.center-column = [ ]; 532 + # Center all fully visible columns on screen. 533 + "Mod+Ctrl+C".action.center-visible-columns = [ ]; 385 534 386 - "Mod+X".action.toggle-window-floating = [ ]; 387 - "Mod+Shift+X".action.switch-focus-between-floating-and-tiling = [ ]; 388 - "Mod+W".action.toggle-column-tabbed-display = [ ]; 535 + "Mod+Minus".action.set-column-width = "-5%"; 536 + "Mod+Equal".action.set-column-width = "+5%"; 537 + "Mod+Shift+Minus".action.set-window-height = "-10%"; 538 + "Mod+Shift+Equal".action.set-window-height = "+10%"; 389 539 390 - "Super+Shift+S".action.screenshot = [ ]; 391 - "Super+Ctrl+Shift+S".action.screenshot-screen = [ ]; 392 - "Super+Alt+Shift+S".action.screenshot-window = [ ]; 393 - "Print".action.screenshot = [ ]; 394 - "Ctrl+Print".action.screenshot-screen = [ ]; 395 - "Alt+Print".action.screenshot-window = [ ]; 540 + "Mod+X".action.toggle-window-floating = [ ]; 541 + "Mod+Shift+X".action.switch-focus-between-floating-and-tiling = [ ]; 542 + "Mod+W".action.toggle-column-tabbed-display = [ ]; 396 543 397 - "Mod+Escape" = { action.toggle-keyboard-shortcuts-inhibit = [ ]; allow-inhibiting = false; }; 544 + "Super+Shift+S".action.screenshot = [ ]; 545 + "Super+Ctrl+Shift+S".action.screenshot-screen = [ ]; 546 + "Super+Alt+Shift+S".action.screenshot-window = [ ]; 547 + "Print".action.screenshot = [ ]; 548 + "Ctrl+Print".action.screenshot-screen = [ ]; 549 + "Alt+Print".action.screenshot-window = [ ]; 398 550 399 - "Ctrl+Alt+Delete".action.spawn = "wlogout"; 400 - "Super+L" = { 401 - action.spawn = [ "sh" "-c" "niri msg action spawn -- hyprlock && niri msg action power-off-monitors" ]; 402 - hotkey-overlay.title = "Lock the system"; 403 - }; 551 + "Mod+Escape" = { 552 + action.toggle-keyboard-shortcuts-inhibit = [ ]; 553 + allow-inhibiting = false; 404 554 }; 405 555 406 - # --- Debug --- 407 - debug.honor-xdg-activation-with-invalid-serial = true; 556 + "Ctrl+Alt+Delete".action.spawn = "wlogout"; 557 + "Super+L" = { 558 + action.spawn = [ 559 + "sh" 560 + "-c" 561 + "niri msg action spawn -- hyprlock && niri msg action power-off-monitors" 562 + ]; 563 + hotkey-overlay.title = "Lock the system"; 564 + }; 408 565 }; 566 + 567 + # --- Debug --- 568 + debug.honor-xdg-activation-with-invalid-serial = true; 569 + }; 409 570 }; 410 571 programs.hyprlock = { 411 572 enable = true;