This commit is contained in:
2025-10-04 20:52:51 +01:00
parent 4af68046ea
commit c8d0b25409
8 changed files with 58 additions and 27 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ env=HYPRCURSOR_SIZE,24
env=XDG_CURRENT_DESKTOP,Hyprland
env=XDG_SESSION_TYPE,wayland
env=XDG_SESSION_DESKTOP,Hyprland
env=QT_QPA_PLATFORM,Hyprland
env=QT_QPA_PLATFORM,wayland
env=XCURSOR_THEME,Bibata-Modern-Ice
env=XCURSOR_SIZE,24
+1 -1
View File
@@ -1,7 +1,7 @@
background {
blur_passes=2
blur_size=8
path=$HOME/pictures/.wallpapers/green-forest.png
path=$HOME/pictures/.wallpapers/frieren-flowers.jpg
}
general {
+17 -11
View File
@@ -6,20 +6,26 @@ longitude="-6.2"
# Startup
function execs() {
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river && systemctl --user restart xdg-desktop-portal xdg-desktop-portal-wlr
host=$1
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river && systemctl --user restart xdg-desktop-portal xdg-desktop-portal-wlr &
rivertile -view-padding 1 -outer-padding 2 &
swaync &
# quickshell &
waybar &
hypridle &
emacs --daemon &
wl-clipboard-history -t &
wl-paste -p --watch wl-copy -p '' &
wlsunset -l "$longitude" -L "$latitude" &
swww-daemon &
hyprlock &
fcitx5 -d &
if [ $host == "lmdesktop" ]; then
# TODO: find alternative screenlocker/idle manager
quickshell &
elif [ $host == "darp8" ]; then
waybar &
hypridle &
hyprlock &
fi
}
# Monitors
@@ -28,7 +34,7 @@ function monitors() {
if [ $host == "lmdesktop" ]
then
wlr-randr --output DP-1 --mode 2560x1440@143.973007Hz --pos 0,0 --scale 1
wlr-randr --output DP-1 --mode 2560x1440@143.973007Hz --pos 0,0 --scale 1 &&
wlr-randr --output HDMI-A-1 --mode 1920x1080@60Hz --pos 2560,180 --scale 1
elif [ $host == "darp8" ]
then
@@ -170,11 +176,11 @@ function colors() {
for arg in "$@"; do declare $arg='1'; done
# Run Sections
monitors $HOSTNAME
layout
binds
colors
inputs
binds
layout
monitors $HOSTNAME
# Don't run execs on reload
if ! [ -v no_execs ]; then execs ; fi