/
This commit is contained in:
parent
9d7d3a9fac
commit
7531611cf5
3 changed files with 10 additions and 8 deletions
|
@ -255,8 +255,10 @@ dim_inactive_colors.urgent #900000FF
|
||||||
# Floating windows
|
# Floating windows
|
||||||
for_window [app_id="org.gnome.Calculator"] floating enable
|
for_window [app_id="org.gnome.Calculator"] floating enable
|
||||||
for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] 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="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
|
# You can "split" the current object of your focus with
|
||||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
|
|
@ -32,5 +32,5 @@ elif [[ $SIDE == "prev" ]]; then
|
||||||
elif [[ $SIDE == "next" ]]; then
|
elif [[ $SIDE == "next" ]]; then
|
||||||
swaymsg workspace $[$current_workspace + 1]
|
swaymsg workspace $[$current_workspace + 1]
|
||||||
fi
|
fi
|
||||||
sleep 0.5
|
sleep 0.2
|
||||||
sudo input-emulator touch tap 1280 720
|
sudo input-emulator touch tap 1280 720
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
appid="$1"
|
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
while killall -0 blueman-manager
|
while killall -0 blueman-manager
|
||||||
do
|
do
|
||||||
|
if [[ $(bluetoothctl show | grep Powered | grep yes) ]]; then
|
||||||
if [[ $(swaymsg -t get_tree | grep -B 39 blueman | grep "focused.: false") != "" ]]; then
|
if [[ $(swaymsg -t get_tree | grep -B 39 blueman | grep "focused.: false") != "" ]]; then
|
||||||
killall blueman-manager
|
killall blueman-manager
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue