summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautostart.sh1
-rw-r--r--hypr/hypridle.conf4
-rw-r--r--hypr/hyprland.conf40
-rw-r--r--niri/config.kdl6
-rwxr-xr-xnsxiv/exec/key-handler2
-rw-r--r--waybar/config5
-rw-r--r--xdg-desktop-portal/portals.conf2
7 files changed, 45 insertions, 15 deletions
diff --git a/autostart.sh b/autostart.sh
index 42eb092..7124a5e 100755
--- a/autostart.sh
+++ b/autostart.sh
@@ -18,6 +18,7 @@ killandrun () {
}
if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then
+ dinit &
notify-sound.sh off &
runifnot swayidle
killandrun hyprpaper
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
index 3a58aea..5494a33 100644
--- a/hypr/hypridle.conf
+++ b/hypr/hypridle.conf
@@ -13,8 +13,8 @@ listener {
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener {
timeout = 150 # 2.5min.
- on-timeout = brightnessctl -d led::kbd_backlight set 0 # turn off keyboard backlight.
- on-resume = brightnessctl -rd led::kbd_backlight # turn on keyboard backlight.
+ on-timeout = brightnessctl -d tpacpi::kbd_backlight set 0 # turn off keyboard backlight.
+ on-resume = brightnessctl -rd tpacpi::kbd_backlight # turn on keyboard backlight.
}
listener {
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 5a4151b..77b3d03 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -14,9 +14,9 @@ plugin = /var/cache/hyprpm/zachir/hyprsplit/hyprsplit.so
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = hyprpm reload -n
-exec-once = xdph
-exec-once = hyprpaper
-#exec-once = hypridle
+#exec-once = dinit
+#exec-once = xdph
+exec-once = dinitctl start hyprpaper.user
exec-once = waybar
exec-once = pypr
exec-once = hyprscratch init
@@ -26,9 +26,9 @@ exec-once = import-gsettings icon-theme 'Papirus-Dark'
exec-once = import-gsettings cursor-theme 'BreezeX-Black'
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources
-exec-once = com.github.wwmm.easyeffects
-exec-once = systemctl --user start dunst
-exec-once = systemctl --user start hypridle
+#exec-once = com.github.wwmm.easyeffects
+exec-once = dunst
+exec-once = hypridle
#exec-once = mpd
#}}}
@@ -210,6 +210,34 @@ plugin {
# Example windowrule v2
# windowrule = float, class:^(kitty)$, title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
+windowrule = fullscreen, class:^(Xephyr)$
+windowrule = float, title:^(LibreWolf - Choose User Profile)$
+windowrule = float, class:^(xdg-desktop-portal-gtk)
+windowrule = float, title:^(UNDERTALE)$
+windowrule = float, class:^(Tk)$
+windowrule = float, class:^(lxqt-policykit-agent)$
+windowrulev2 = stayfocused, title:^()$, class:^(steam)$
+windowrulev2 = minsize 1 1, title:^()$, class:^(steam)$
+windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrulev2 = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrulev2 = float, class:^(yabridge-host.exe.so)$, title:^(menu)$
+windowrulev2 = float, floating:0, title:^(menu*)
+windowrule = workspace 2, title:^(REAPER .*initializing.*)$
+windowrulev2 = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$
+windowrule = tile, class:^(WebApp-Qobuz[0-9]*)$
+windowrulev2 = float, title:^(menu)$
+windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
+#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Metronome and pre-roll settings)$
+#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
+#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$
+#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(\s*)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$
+#windowrulev2 = float, floating:0, title:^(menu)$
+#windowrulev2 = forceinput, title:^(menu)$
windowrulev2 = workspace special:easyeffects silent, class: ^(com\.github\.wwmm\.easyeffects)$
# Fix brave xray menus
windowrulev2 = xray 0, class: ^(\s*), title: ^(\s*)$
diff --git a/niri/config.kdl b/niri/config.kdl
index 16e8c11..07783fb 100644
--- a/niri/config.kdl
+++ b/niri/config.kdl
@@ -71,7 +71,7 @@ input {
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
-/-output "eDP-1" {
+output "eDP-1" {
// Uncomment this line to disable this output.
//off
@@ -272,8 +272,8 @@ layout {
// This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup "waybar"
-spawn-at-startup "hyprpaper"
-spawn-at-startup "hypridle"
+spawn-at-startup "dinitctl start hyprpaper"
+spawn-at-startup "dinitctl start hypridle"
spawn-at-startup "dunst"
spawn-at-startup "xwayland-satellite"
diff --git a/nsxiv/exec/key-handler b/nsxiv/exec/key-handler
index 53099e4..e653dd6 100755
--- a/nsxiv/exec/key-handler
+++ b/nsxiv/exec/key-handler
@@ -10,7 +10,7 @@ while read file; do
magick "$file" ~/Pictures/background.png
;;
esac
- t -r hyprpaper
+ dinitctl restart hyprpaper
;;
esac
done
diff --git a/waybar/config b/waybar/config
index ba85118..8596061 100644
--- a/waybar/config
+++ b/waybar/config
@@ -12,7 +12,7 @@
"modules-left":[ "hyprland/workspaces", "custom/launcher", "hyprland/window"],
"modules-center":[],
- "modules-right":[ "tray", "mpd", "idle_inhibitor", "wireplumber", "cpu", "memory", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "custom/power"],
+ "modules-right":[ "tray", "mpd", "idle_inhibitor", "wireplumber", "cpu", "memory", "battery", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "custom/power"],
// Modules configuration
@@ -160,7 +160,8 @@
"format": "{used}G "
},
"battery": {
- "bat": "BAT0",
+ //"bat": "BAT0",
+ "weighted-average": "true",
"interval": 60,
"state": {
"warning": 30,
diff --git a/xdg-desktop-portal/portals.conf b/xdg-desktop-portal/portals.conf
index b1a274e..bb06f0d 100644
--- a/xdg-desktop-portal/portals.conf
+++ b/xdg-desktop-portal/portals.conf
@@ -1,4 +1,4 @@
[preferred]
-default=hyprland
+default=gnome
org.freedesktop.impl.portal.FileChooser=gtk
org.freedesktop.impl.portal.Settings=darkman