summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cargo/config.toml2
-rw-r--r--.config/fish/config.fish1
-rw-r--r--.config/niri/config.kdl23
3 files changed, 21 insertions, 5 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index ee1d391..8e5dc4e 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,2 +1,2 @@
[build]
-rustc-wrapper = "/usr/bin/sccache"
+# rustc-wrapper = "/usr/bin/sccache"
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 3209c48..8814666 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -19,5 +19,6 @@ if status is-interactive
alias bios="systemctl reboot --firmware-setup"
+ alias hx="helix"
alias stow="stow -t ~"
end
diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl
index 1b1287c..87228a4 100644
--- a/.config/niri/config.kdl
+++ b/.config/niri/config.kdl
@@ -5,6 +5,12 @@
prefer-no-csd
+gestures {
+ hot-corners {
+ off
+ }
+}
+
// Input device configuration.
// Find the full list of options on the wiki:
// https://yalter.github.io/niri/Configuration:-Input
@@ -272,7 +278,7 @@ layout {
// See the binds section below for more spawn examples.
// This line starts waybar, a commonly used bar for Wayland compositors.
-spawn-at-startup "ashell"
+spawn-at-startup "noctalia"
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
@@ -331,6 +337,13 @@ window-rule {
open-floating true
}
+window-rule {
+ match app-id=r#"io.github.ungoogled_software.ungoogled_chromium"#
+ match app-id=r#"helium"#
+ match app-id=r#"obsidian"#
+ scroll-factor 0.25
+}
+
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
@@ -367,9 +380,9 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: foot" { spawn "foot"; }
- Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
- // Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
-
+ // Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
+ // Mod+D hotkey-overlay-title="Open Noctalia Launcher" { spawn-sh "qs -c noctalia-shell ipc call launcher toggle"; } // Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
+ Mod+Space hotkey-overlay-title="Open Launcher" { spawn-sh "noctalia msg panel-toggle launcher"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
// For example, this is a standard bind to toggle the screen reader (orca).
@@ -633,3 +646,5 @@ recent-windows {
cursor {
xcursor-size 36
}
+
+include "noctalia.kdl"