summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautostart.sh1
-rw-r--r--hypr/hypridle.conf4
-rw-r--r--hypr/hyprland.conf31
-rw-r--r--lf/lfrc1
-rw-r--r--niri/config.kdl6
-rwxr-xr-xnsxiv/exec/key-handler2
-rw-r--r--sh/functions1
-rw-r--r--waybar/config5
8 files changed, 36 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 e2c8f64..e483049 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -2,7 +2,7 @@
#{{{ Monitor config
#monitor = DP-2, 1920x1080@75, 0x0, 1
#monitor = HDMI-A-1, 1920x1080@75, 1920x0, 1
-#monitor = eDP-1, 1920x1080@60, 0x0, 1
+monitor = eDP-1, 1920x1080@60, 0x0, 1
monitor = , preferred, auto, 1
#}}}
@@ -17,9 +17,9 @@ monitor = , preferred, auto, 1
# 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
@@ -29,9 +29,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 = xwayland-satellite :1
exec-once = bl-save
#exec-once = mpd
@@ -216,6 +216,23 @@ plugin {
# Example windowrule v2
# windowrule = float, class:^(kitty)$, title:^(kitty)$
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
+windowrule = fullscreen on, match:class ^(Xephyr)$
+windowrule = float on, match:title ^(LibreWolf - Choose User Profile)$
+windowrule = float on, match:class ^(xdg-desktop-portal-gtk)
+windowrule = float on, match:title ^(UNDERTALE)$
+windowrule = float on, match:class ^(Tk)$
+windowrule = float on, match:class ^(lxqt-policykit-agent)$
+windowrulev2 = stayfocused on, match:title ^()$, match:class ^(steam)$
+windowrulev2 = minsize 1 1, match:title ^()$, match:class ^(steam)$
+windowrulev2 = stayfocused on, match:title ^(menu)$, match:class ^(yabridge-host.exe.so)$
+windowrulev2 = minsize 1 1, match:title ^(menu)$, match:class ^(yabridge-host.exe.so)$
+windowrulev2 = float on, match:class ^(yabridge-host.exe.so)$, match:title ^(menu)$
+windowrulev2 = float on, match:floating 0, match:title ^(menu*)
+windowrule = workspace 2, match:title ^(REAPER .*initializing.*)$
+windowrulev2 = tile on, match:class ^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$
+windowrule = tile on, match:class ^(WebApp-Qobuz[0-9]*)$
+windowrulev2 = float on, match:title ^(menu)$
+windowrulev2 = move cursor -50% -50%, match:class ^(yabridge-host.exe.so)$, match:title ^(menu)$
windowrulev2 = workspace special:easyeffects silent, match: class ^(com\.github\.wwmm\.easyeffects)$
# Fix brave xray menus
windowrulev2 = xray 0, match:class ^(\s*), match:title ^(\s*)$
diff --git a/lf/lfrc b/lf/lfrc
index bc18f79..a4fca2f 100644
--- a/lf/lfrc
+++ b/lf/lfrc
@@ -391,3 +391,4 @@ map gyb cd "~/.cache/yay"
map gyc cd "~/.config/yay"
map gzs cd "~/.config/zsh"
map gzx cd "~/Documents/zachir.xyz"
+map gdr cd "~/Documents/work"
diff --git a/niri/config.kdl b/niri/config.kdl
index 8fa7330..4ef45bd 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/sh/functions b/sh/functions
index e7270bc..7d4cb32 100644
--- a/sh/functions
+++ b/sh/functions
@@ -191,6 +191,7 @@ zx - $XDG_DOCUMENTS_DIR/zachir.xyz
"yc") cd "$XDG_CONFIG_HOME/yay" ;;
"zs") cd "$XDG_CONFIG_HOME/zsh" ;;
"zx") cd "$XDG_DOCUMENTS_DIR/zachir.xyz" ;;
+"dr") cd "$XDG_DOCUMENTS_DIR/work" ;;
# STOPPATHS
*) echo "\"$1\" is not a known location" ;;
esac
diff --git a/waybar/config b/waybar/config
index da85cd3..6f89f64 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
@@ -162,7 +162,8 @@
"format": "{used}G "
},
"battery": {
- "bat": "BAT0",
+ //"bat": "BAT0",
+ "weighted-average": "true",
"interval": 60,
"state": {
"warning": 30,