diff options
-rw-r--r-- | .config/x11/xinitrc | 21 | ||||
-rw-r--r-- | .config/x11/xresources | 4 | ||||
-rwxr-xr-x | .local/bin/dmlog | 8 | ||||
-rwxr-xr-x | .local/bin/scr2 | 10 | ||||
-rwxr-xr-x | .local/bin/scr3 | 6 |
5 files changed, 13 insertions, 36 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 8d033d2..fafae24 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,14 @@ 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 +69,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/.config/x11/xresources b/.config/x11/xresources index 6db99f1..ef2cae9 100644 --- a/.config/x11/xresources +++ b/.config/x11/xresources @@ -5,10 +5,10 @@ Xft.rgba: rgb Xft.autohint: false Xft.hintstyle: hintslight Xft.lcdfilter: lcddefault -Xcursor.theme: Adwaita +Xcursor.theme: "Simp1e-Gruvbox-Dark" Xcursor.size: 18 Nsxiv.window.background: #1d2021 Nsxiv.window.foreground: #ebdbb2 -Nsxiv.bar.font: UbuntuMono Nerd Font-11 +Nsxiv.bar.font: BlexMono Nerd Font-11 Vncviewer.grabKeyboard: true Vncviewer.FullScreen: 1 diff --git a/.local/bin/dmlog b/.local/bin/dmlog index 6256be8..600e4d4 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -64,12 +64,8 @@ sub action "-fail-color", "0xcc241d"); } else { - if (HOSTNAME eq 'po-rbo') { - exec(SLOCK_PATH); - } - else { - exec(XSCREENSAVER_PATH, '-lock'); - } + exec(SLOCK_PATH); + # exec(XSCREENSAVER_PATH, '-lock'); } } elsif ($var eq ${+LIST}[1]) { diff --git a/.local/bin/scr2 b/.local/bin/scr2 index b0e7063..c8e230f 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 --rate 60 --pos 1920x0 --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 --rate 60 --pos 2560x0 --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 |