From 6f1fdf80a8e15b1f4fd4d6821e55151e8d82cbf2 Mon Sep 17 00:00:00 2001 From: hkc Date: Mon, 29 Jul 2024 23:20:23 +0300 Subject: [PATCH] Updated some scripts --- dot_config/i3/executable_autostart.sh | 11 ++--------- private_dot_local/bin/executable_setupwallpaper | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/dot_config/i3/executable_autostart.sh b/dot_config/i3/executable_autostart.sh index dbcf829..2486cec 100644 --- a/dot_config/i3/executable_autostart.sh +++ b/dot_config/i3/executable_autostart.sh @@ -7,23 +7,16 @@ xrdb -load "$XDG_CONFIG_HOME/X11/xresources" # (nitrogen --restore || true) & disown; xset r rate 250 25; -touchpad_dev_name=$(xinput | grep -oP '(SynPS/2 Synaptics TouchPad|Synaptics TM2722-001)'); -xinput set-prop "${touchpad_dev_name}" 'libinput Natural Scrolling Enabled' 1; -xinput set-prop "${touchpad_dev_name}" 'libinput Tapping Enabled' 1; xcompmgr & disown; nm-applet & disown; lxqt-policykit-agent & disown; (xfce4-clipman || true) & disown; xfce4-power-manager & disown; -syncthingtray & disown; +syncthingtray-qt6 & disown; blueman-applet & disown; killall oneko; conky & disown; -#oneko -bg '#1a1a1a' -fg '#bfbfbf' -tofocus -sakura & disown; - -##either one or another. never both at the same time. -#setxkbmap -model pc104 -layout us,ru -option grp:caps_toggle -option compose:ralt; -# ibus-daemon -drxR; +oneko -bg '#1a1a1a' -fg '#bfbfbf' -tofocus -sakura & disown; [ -f "${HOME}/.config/xkb.conf" ] \ && xkbcomp "${HOME}/.config/xkb.conf" :0 2>/dev/null; diff --git a/private_dot_local/bin/executable_setupwallpaper b/private_dot_local/bin/executable_setupwallpaper index f0fbb1f..df072c4 100644 --- a/private_dot_local/bin/executable_setupwallpaper +++ b/private_dot_local/bin/executable_setupwallpaper @@ -46,7 +46,7 @@ if [ ${bat_health} -le 50 ]; then fi -convert "$source_image" \ +magick "$source_image" \ -font "Unifont" \ -pointsize 16 \ -draw "gravity North \