aboutsummaryrefslogtreecommitdiff
path: root/wallust/templates
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2025-03-24 08:42:44 +0100
committereric.marin <maarin.eric@gmail.com>2025-09-07 21:19:28 +0200
commit5798601f2527b6535fbafba7e22de4dd53954718 (patch)
treef045e8af54d09e7c19186c29d20ee0a28f2743d3 /wallust/templates
parent04d957a4d276c6c18570d6d658b17bed36f3190b (diff)
downloaddotfiles-5798601f2527b6535fbafba7e22de4dd53954718.tar.gz
dotfiles-5798601f2527b6535fbafba7e22de4dd53954718.zip
update
Diffstat (limited to 'wallust/templates')
-rw-r--r--wallust/templates/niri51
-rw-r--r--wallust/templates/rofi-applauncher48
-rw-r--r--wallust/templates/rofi-powermenu46
-rw-r--r--wallust/templates/rofi-wallpapermenu41
-rw-r--r--wallust/templates/waybar15
5 files changed, 183 insertions, 18 deletions
diff --git a/wallust/templates/niri b/wallust/templates/niri
index 76d045a..efbc8f3 100644
--- a/wallust/templates/niri
+++ b/wallust/templates/niri
@@ -1,19 +1,28 @@
+prefer-no-csd
+screenshot-path "~/Pictures/Screenshots/%Y%m%d-%H%M%S.png"
+
environment {
QT_QPA_PLATFORM "wayland"
DISPLAY ":0"
}
+
hotkey-overlay {
skip-at-startup
}
+
cursor {
// xcursor-theme "breeze_cursors"
// xcursor-size 48
// hide-when-typing
- hide-after-inactive-ms 5000
+ // hide-after-inactive-ms 5000
+}
+
+gestures {
+ hot-corners {
+ off
+ }
}
-prefer-no-csd
-screenshot-path null
input {
keyboard {
@@ -61,6 +70,7 @@ layout {
gaps 5
center-focused-column "on-overflow"
// empty-workspace-above-first
+ background-color "transparent"
preset-column-widths {
proportion 0.33333
@@ -94,10 +104,21 @@ layout {
}
}
+overview {
+ workspace-shadow {
+ off
+ }
+}
+
animations {
// off
}
+layer-rule {
+ match namespace="^swww-daemon$"
+ place-within-backdrop true
+}
+
window-rule {
match app-id=r#"^org\.wezfurlong\.wezterm$"#
default-column-width {}
@@ -116,17 +137,17 @@ window-rule {
}
switch-events {
- lid-close { spawn "niri" "msg" "action" "power-off-monitors"; }
lid-open { spawn "niri" "msg" "action" "power-on-monitors"; }
}
binds {
Mod+Backslash { show-hotkey-overlay; }
- Mod+Return hotkey-overlay-title="Spawn Terminal" { spawn "foot"; }
- Mod+Space hotkey-overlay-title="Spawn Applauncher" { spawn "fuzzel"; }
- Mod+Escape hotkey-overlay-title="Spawn Powermenu" { spawn "~/.config/scripts/powermenu"; }
- Mod+W repeat=false hotkey-overlay-title="Random Wallpaper" { spawn "~/.config/scripts/set_random" "/home/eric.marin/Pictures/Backgrounds/"; }
+ Mod+Return hotkey-overlay-title="Spawn Terminal" { spawn "foot"; }
+ Mod+Space hotkey-overlay-title="Spawn Applauncher" { spawn "rofi" "-show" "drun" "-theme" "~/.config/rofi/applauncher.rasi"; }
+ Mod+Escape hotkey-overlay-title="Spawn Powermenu" { spawn "~/.config/scripts/powermenu"; }
+ Mod+W hotkey-overlay-title="Spawn Wallpapermenu" { spawn "~/.config/scripts/wallpapermenu"; }
+ // Mod+W repeat=false hotkey-overlay-title="Random Wallpaper" { spawn "~/.config/scripts/set_random" "/home/eric.marin/Pictures/Backgrounds/"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "pamixer" "-i" "5"; }
XF86AudioLowerVolume allow-when-locked=true { spawn "pamixer" "-d" "5"; }
@@ -200,20 +221,22 @@ binds {
Mod+Shift+F { fullscreen-window; }
Mod+C { center-column; }
- Mod+Minus { set-column-width "-10%"; }
- Mod+Plus { set-column-width "+10%"; }
+ Mod+Minus { set-column-width "-1%"; }
+ Mod+Plus { set-column-width "+1%"; }
- Mod+Shift+Minus { set-window-height "-10%"; }
- Mod+Shift+Plus { set-window-height "+10%"; }
+ Mod+Shift+Minus { set-window-height "-1%"; }
+ Mod+Shift+Plus { set-window-height "+1%"; }
Print { screenshot; }
Ctrl+Print { screenshot-screen; }
Alt+Print { screenshot-window; }
- Mod+V { toggle-window-floating; }
- Mod+Shift+V { switch-focus-between-floating-and-tiling; }
+ Mod+Ctrl+V { toggle-window-floating; }
+ Mod+V { switch-focus-between-floating-and-tiling; }
Mod+T { toggle-column-tabbed-display; }
+ Mod+Z { toggle-overview; }
+
Mod+Shift+E { quit; }
}
diff --git a/wallust/templates/rofi-applauncher b/wallust/templates/rofi-applauncher
new file mode 100644
index 0000000..9c51cca
--- /dev/null
+++ b/wallust/templates/rofi-applauncher
@@ -0,0 +1,48 @@
+@theme "/dev/null"
+
+configuration {
+ drun-display-format: "{name}";
+ show-icons: true;
+ icon-theme: "Papirus";
+ terminal: "foot -o pad=0x0";
+ matching: "fuzzy";
+}
+
+* {
+ background-color: {{background}};
+ color: {{foreground}};
+}
+
+window {
+ location: north west;
+ anchor: center;
+ width: 589;
+ y-offset: -22;
+ x-offset: 260;
+ padding: 3 0 3 5;
+}
+
+mainbox {
+ orientation: horizontal;
+}
+
+inputbar {
+ children: [ prompt, entry ];
+ spacing: 5;
+}
+prompt {
+ font: "Hack Nerd Font Mono 10";
+}
+entry {
+ font: "Hack Nerd Font 10";
+ placeholder: "...";
+ width: 50;
+}
+
+listview {
+ spacing: 10;
+ layout: horizontal;
+}
+element-text {
+ font: "Hack Nerd Font 10";
+}
diff --git a/wallust/templates/rofi-powermenu b/wallust/templates/rofi-powermenu
new file mode 100644
index 0000000..9a06eb8
--- /dev/null
+++ b/wallust/templates/rofi-powermenu
@@ -0,0 +1,46 @@
+@theme "/dev/null"
+
+configuration {
+ show-icons: false;
+}
+
+* {
+ background-color: {{background}};
+}
+
+window {
+ children: [ horibox ];
+ border: 1;
+ border-color: {{color1}};
+ padding: 5;
+ width: 416px;
+}
+
+horibox {
+ orientation: horizontal;
+ children: [ listview ];
+}
+
+listview {
+ layout: horizontal;
+ spacing: 5;
+ lines: 6;
+}
+
+element {
+ text-color: {{foreground}};
+ background-color: {{color0}};
+ padding: 15;
+}
+
+element-text {
+ font: "Symbols Nerd Font Mono 25";
+ text-color: inherit;
+ background-color: inherit;
+ vertical-align: 0.5;
+}
+
+element selected{
+ text-color: inherit;
+ background-color: {{color4}};
+}
diff --git a/wallust/templates/rofi-wallpapermenu b/wallust/templates/rofi-wallpapermenu
new file mode 100644
index 0000000..9c8a495
--- /dev/null
+++ b/wallust/templates/rofi-wallpapermenu
@@ -0,0 +1,41 @@
+@theme "/dev/null"
+
+* {
+ background-color: {{background}};
+}
+
+window {
+ children: [ horibox ];
+ border: 1;
+ border-color: {{color1}};
+ padding: 5;
+ width: 797;
+}
+
+horibox {
+ orientation: horizontal;
+ children: [ listview ];
+}
+
+listview {
+ layout: horizontal;
+ spacing: 5;
+ children: [element-icon];
+}
+
+element {
+ border-color: {{color0}};
+ border: 1;
+ children: [element-icon];
+}
+
+element-icon {
+ expand: true;
+ size: 33%;
+ squared: false;
+}
+
+element selected{
+ text-color: inherit;
+ border-color: {{color4}};
+}
diff --git a/wallust/templates/waybar b/wallust/templates/waybar
index b5ac739..7b3fb02 100644
--- a/wallust/templates/waybar
+++ b/wallust/templates/waybar
@@ -11,7 +11,7 @@ window#waybar {
padding: 1px;
}
-#clock,#network,#bluetooth,#backlight,#pulseaudio,
+#clock,#network,#bluetooth,#backlight,#pulseaudio, #idle_inhibitor,
#battery,#disk,#temperature,#memory,#cpu {
padding-left: 3px;
padding-right: 3px;
@@ -19,14 +19,14 @@ window#waybar {
border-style: solid;
border-width: 1px;
}
-#network,#bluetooth,#backlight,#pulseaudio {
+#network,#bluetooth,#backlight,#pulseaudio, #idle_inhibitor {
border-left-width: 0px;
}
#disk,#temperature,#memory,#cpu {
border-right-width: 0px;
}
-#clock {
+#clock, #idle_inhibitor {
background: {{color6}};
}
#network {
@@ -69,7 +69,7 @@ tooltip label {
color: {{foreground}};
}
-#bluetooth.off, #pulseaudio.muted, #network.disconnected, #battery.warning {
+#bluetooth.off, #pulseaudio.muted, #network.disconnected, #battery.warning, #idle_inhibitor.deactivated {
background: {{color0}};
}
#bluetooth.off {
@@ -84,3 +84,10 @@ tooltip label {
#battery.warning {
color: {{color6}};
}
+#battery.charging {
+ background: {{color6}};
+ color: {{foreground}};
+}
+#idle_inhibitor.deactivated {
+ color: {{color6}}
+}