diff options
author | Joe <rbo@gmx.us> | 2025-09-10 21:10:29 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2025-09-10 21:10:29 +0200 |
commit | 6f47ce2173ec08bf010df407f1a784076cd01cdd (patch) | |
tree | 41fda9694fa80ec1a37ffb4d39a925d28c441846 | |
parent | up (diff) | |
download | dotfiles-bsd-6f47ce2173ec08bf010df407f1a784076cd01cdd.tar.gz dotfiles-bsd-6f47ce2173ec08bf010df407f1a784076cd01cdd.tar.bz2 dotfiles-bsd-6f47ce2173ec08bf010df407f1a784076cd01cdd.tar.xz dotfiles-bsd-6f47ce2173ec08bf010df407f1a784076cd01cdd.tar.zst dotfiles-bsd-6f47ce2173ec08bf010df407f1a784076cd01cdd.zip |
up
Diffstat (limited to '')
-rw-r--r-- | .config/x11/xinitrc | 22 | ||||
-rwxr-xr-x | .local/bin/scr2 | 10 | ||||
-rwxr-xr-x | .local/bin/scr3 | 6 |
3 files changed, 9 insertions, 29 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index e39e37f..18ec7b6 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -4,7 +4,6 @@ case $(hostname -s) in mother) icon=" " mpd="mpd" - xscr="xscreensaver --no-splash" sleep="sleep 1" ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1" host="mother" @@ -13,7 +12,6 @@ case $(hostname -s) in po-rbo) icon=" " mpd="mpd" - xscr="xscreensaver" sleep="sleep 0.1" ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1" host="po-rbo" @@ -22,7 +20,6 @@ case $(hostname -s) in mars) icon=" " mpd="musicpd" - xscr="xscreensaver --no-splash" sleep="gsleep 1" ping="ping -c1 -t1 9.9.9.9 >/dev/null 2>&1" host="mars" @@ -52,26 +49,13 @@ dunst_shit() { } start_apps() { - # [ $host = "po-rbo" ] && /home/r_bousset/.local/bin/pipe CM_SELECTIONS=clipboard startif clipmenud startif copyq startif nextcloud - QT_SCALE_FACTOR=1.35 startif rclone-browser - # startif nixGL teams-for-linux - # startif thunderbird - # startif firefox -} + [ $host = "po-rbo" ] && QT_SCALE_FACTOR=1.35 startif rclone-browser export LANG='en_US.UTF-8' [ $host = "mother" ] && "$HOME"/.local/bin/scr2 -# [ $host = "mother" ] && xrandr \ -# --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \ -# --output DP-0 --off \ -# --output DP-1 --off \ -# --output DP-2 --off \ -# --output DP-3 --off \ -# --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \ -# --output DP-5 --off [ $host = "po-rbo" ] && xrandr \ --output eDP-1 --mode 1920x1200 --pos 0x0 --rotate normal \ --output HDMI-1 --primary --mode 2560x1440 --pos 1920x0 --rotate normal \ @@ -84,10 +68,6 @@ dunst_shit pgrep $mpd >/dev/null || $mpd >/dev/null 2>&1 xset s off xset -dpms -# startif $xscr -# doas rc-service wireguard start && -# notify-send -u normal 'wireguard' 'WireGuard started' -# $sleep pkill wireplumber pkill pipewire-pulse pkill pipewire diff --git a/.local/bin/scr2 b/.local/bin/scr2 index b0e7063..afc61ae 100755 --- a/.local/bin/scr2 +++ b/.local/bin/scr2 @@ -1,20 +1,20 @@ #!/bin/sh -if [ $1 == "low" ]; then +if [ "$1" = "low" ]; then xrandr \ - --output HDMI-0 --mode 1920x1080 --pos 1920x0 --rotate normal \ + --output HDMI-0 --off \ --output DP-0 --off \ --output DP-1 --off \ - --output DP-2 --off \ + --output DP-2 --mode 1920x1080 --pos 1920x0 --rate 60 --rotate normal \ --output DP-3 --off \ --output DP-4 --primary --mode 1920x1080 --rate 180 --pos 0x0 --rotate normal \ --output DP-5 --off else xrandr \ - --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \ + --output HDMI-0 --off \ --output DP-0 --off \ --output DP-1 --off \ - --output DP-2 --off \ + --output DP-2 --mode 2560x1440 --pos 2560x0 --rate 60 --rotate normal \ --output DP-3 --off \ --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \ --output DP-5 --off diff --git a/.local/bin/scr3 b/.local/bin/scr3 index a035fb0..81b7f86 100755 --- a/.local/bin/scr3 +++ b/.local/bin/scr3 @@ -1,12 +1,12 @@ #!/bin/sh xrandr \ - --output HDMI-0 --mode 1920x1080 --pos 4260x0 --rotate normal \ + --output HDMI-0 --mode 1920x1080 --rate 50 --pos 0x0 --rotate normal \ --output DP-0 --off \ --output DP-1 --off \ - --output DP-2 --mode 1680x1050 --pos 0x0 --rotate normal \ + --output DP-2 --mode 2560x1440 --rate 60 --pos 4480x0 --rotate normal \ --output DP-3 --off \ - --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 1680x0 --rotate normal \ + --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 1920x0 --rotate normal \ --output DP-5 --off |