fix: redirect lose-focus output to /dev/null

This commit is contained in:
matt1432 2023-06-07 15:27:51 -04:00
parent 8050bf14af
commit a4d4c15a91
4 changed files with 9 additions and 6 deletions

View file

@ -15,6 +15,7 @@ Places Icons Static Size=22
[KPropertiesDialog]
1920x1200 screen: Height=567
1920x1200 screen: Width=604
1920x1200 screen: Window-Maximized=true
[MainWindow]
MenuBar=Disabled

View file

@ -18,8 +18,8 @@ exec-once = bash -c "sleep 7; galaxybudsclient /StartMinimized"
exec-once = eww daemon
exec-once = eww open tablet-toggle
exec-once = input-emulator start touch --x-max 1920 --y-max 1200 --slots 4
exec = $HOME/.config/lisgd/config
#exec-once = sudo input-emulator start touch --x-max 1920 --y-max 1200 --slots 4
#exec = $HOME/.config/lisgd/config
exec-once = libinput-gestures-setup start
exec-once = dbus-update-activation-environment --all
@ -28,7 +28,7 @@ exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = $menu
exec-once = swww init
exec-once = swww img "$HOME/Pictures/BG/bonzai.jpg"
exec-once = $scripts/lose-focus.sh # make command output to /dev/null
exec-once = $scripts/lose-focus.sh
exec-once = waybar
exec-once = mako
@ -38,6 +38,8 @@ exec-once = wl-paste --watch cliphist store
# OSD window
exec-once = swayosd
# Change HandleLidSwitch to lock in logind.conf
exec-once = swayidle -w lock $HOME/.config/gtklock/scripts/lock.sh
# Source a file (multi-file configs)

View file

@ -2,7 +2,7 @@
while true
do
while killall -0 blueman-manager
while killall -0 blueman-manager > /dev/null 2>&1
do
if [[ $(bluetoothctl show | grep Powered | grep yes) ]]; then
if [[ $(hyprctl activewindow | grep blueman-manager) == "" && $(hyprctl clients | grep blueman-manager) != "" ]]; then

View file

@ -7,8 +7,8 @@ function gestures {
lisgd -d /dev/input/by-path/platform-AMDI0010\:00-event -o 0 -t 125 -r 25 -m 3200 \
-g "1,UD,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false'" \
-g "1,DU,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true'" \
-g "3,RL,N,*,R,$HOME/.config/hypr/scripts/gestures.sh next touch" \
-g "3,LR,N,*,R,$HOME/.config/hypr/scripts/gestures.sh prev touch"
-g "3,RL,N,*,R,$HOME/.config/hypr/scripts/gestures.sh next" \
-g "3,LR,N,*,R,$HOME/.config/hypr/scripts/gestures.sh prev"
}