summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/mimeapps.list1
-rw-r--r--.config/x11/xinitrc4
-rwxr-xr-x.local/bin/scr28
3 files changed, 7 insertions, 6 deletions
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
index 1fb8154..8f2eaa4 100644
--- a/.config/mimeapps.list
+++ b/.config/mimeapps.list
@@ -14,6 +14,7 @@ application/pdf=org.pwmt.zathura.desktop
image/png=nsxiv-joe.desktop
image/jpeg=nsxiv-joe.desktop
image/gif=nsxiv-joe.desktop
+image/webp=nsxiv-joe.desktop
audio/mpeg=mpv.desktop
audio/flac=mpv.desktop
audio/wav=mpv.desktop
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 45af76c..5e0efb3 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -29,7 +29,7 @@ esac
$ping && git --git-dir="$HOME"/docs/dotfiles-bsd --work-tree="$HOME" pull
startif() {
- pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
+ pidof "$(basename "$1")" >/dev/null || $@ >/dev/null 2>&1 &
}
dunst_shit() {
@@ -46,9 +46,9 @@ dunst_shit() {
start_apps() {
CM_SELECTIONS=clipboard startif clipmenud
- startif ckb-next --background
startif copyq
startif nextcloud
+ startif ckb-next --background
# [ $host = "po-rbo" ] && QT_SCALE_FACTOR=1.35 startif rclone-browser
}
diff --git a/.local/bin/scr2 b/.local/bin/scr2
index c8e230f..6656e89 100755
--- a/.local/bin/scr2
+++ b/.local/bin/scr2
@@ -5,18 +5,18 @@ if [ "$1" = "low" ]; then
--output HDMI-0 --off \
--output DP-0 --off \
--output DP-1 --off \
- --output DP-2 --mode 1920x1080 --rate 60 --pos 1920x0 --rotate normal \
+ --output DP-2 --mode 1920x1080 --rate 144 --pos 1920x0 --rotate normal \
--output DP-3 --off \
- --output DP-4 --primary --mode 1920x1080 --rate 180 --pos 0x0 --rotate normal \
+ --output DP-4 --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal --primary \
--output DP-5 --off
else
xrandr \
--output HDMI-0 --off \
--output DP-0 --off \
--output DP-1 --off \
- --output DP-2 --mode 2560x1440 --rate 60 --pos 2560x0 --rotate normal \
+ --output DP-2 --mode 2560x1440 --rate 144 --pos 2560x0 --rotate normal \
--output DP-3 --off \
- --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \
+ --output DP-4 --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal --primary \
--output DP-5 --off
fi