This commit is contained in:
matt1432 2023-05-29 13:55:08 -04:00
parent 9d7d3a9fac
commit 7531611cf5
3 changed files with 10 additions and 8 deletions

View file

@ -255,8 +255,10 @@ dim_inactive_colors.urgent #900000FF
# Floating windows
for_window [app_id="org.gnome.Calculator"] floating enable
for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable
for_window [title="Open File"] floating enable, resize set width 1231 px height 950
for_window [title="Open Folder"] floating enable, resize set width 1231 px height 950
for_window [app_id="nm-tray"] floating enable, sticky enable, move position cursor, move down 35
for_window [app_id="blueman-manager"] floating enable, sticky enable, resize set width 200 px height 581px, move position cursor, move down 35
for_window [app_id="blueman-manager"] floating enable, sticky enable, resize set width 200 px height 581px, move position cursor, move down 30
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits

View file

@ -32,5 +32,5 @@ elif [[ $SIDE == "prev" ]]; then
elif [[ $SIDE == "next" ]]; then
swaymsg workspace $[$current_workspace + 1]
fi
sleep 0.5
sleep 0.2
sudo input-emulator touch tap 1280 720

View file

@ -1,16 +1,16 @@
#!/bin/bash
appid="$1"
while true
do
while killall -0 blueman-manager
do
if [[ $(swaymsg -t get_tree | grep -B 39 blueman | grep "focused.: false") != "" ]]; then
killall blueman-manager
break
if [[ $(bluetoothctl show | grep Powered | grep yes) ]]; then
if [[ $(swaymsg -t get_tree | grep -B 39 blueman | grep "focused.: false") != "" ]]; then
killall blueman-manager
break
fi
sleep 0.1
fi
sleep 0.1
done
sleep 0.1
done