added mobile control with automatic connection and kvm switching

This commit is contained in:
venus
2026-04-07 01:13:54 -05:00
parent 19103c0332
commit 7cf692a575
3 changed files with 34 additions and 18 deletions

View File

@@ -101,7 +101,9 @@ bind = $mainMod, G, exec, steam -forcedesktopscaling 0.5
bind = $mainMod, G, togglespecialworkspace, gaming
bind = $mainMod, N, togglespecialworkspace, obsidian
bind = $mainMod, N, exec, obsidian
bind = $mainMod, X, togglespecialworkspace, phantom
bind = $mainMod, X, togglespecialworkspace, phantom
# 7. Other Workspace tools
# 8. Move/resize windows with mainMod + LMB/RMB and dragging
@@ -135,6 +137,10 @@ bind = $mainMod, SPACE, exec, playerctl play-pause
bind = ALT_L, C, exec, $ipc plugin:clipper openPanel
bind = ,code:148, exec, kitty --class calc-term -o "confirm_os_window_close 0" /home/venus/.cargo/bin/mathypad
bind = SUPER, escape, exec, kitty --class btop -o "confirm_os_window_close 0" /usr/bin/btop
bind = $mainMod, I, exec, /home/venus/.config/scripts/connectPhone.sh
bind = $mainMod, I, exec, scrcpy --no-audio --no-video --keyboard=uhid --mouse=uhid
bind = $mainMod SHIFT, I, exec, /home/venus/.config/scripts/connectPhone.sh
bind = $mainMod SHIFT, I, exec, scrcpy --no-audio --keyboard=uhid --mouse=uhid
bind = CTRL,SHIFT ESCAPE, exec, btop++
bind = $mainMod, T, exec, notify-send "$(/home/venus/.config/hypr/scripts/getIp.sh)"

View File

@@ -4,6 +4,14 @@
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
windowrule{
name = scrcpy
match:class = scrcpy
border_size = 5
float = true
dim_around = true
move = 5 40
}
windowrule{
name = compiler-window
match:tag = compiler
@@ -14,27 +22,27 @@ windowrule{
}
# put vesktop in a special workspace
windowrule{
name = discord
match:class = vesktop
workspace = special:discord
}
windowrule{
name = obsidian
match:class = obsidian
workspace = special:obsidian
}
# windowrule{
# name = discord
# match:class = vesktop
# workspace = special:discord
# }
# windowrule{
# name = obsidian
# match:class = obsidian
# workspace = special:obsidian
# }
windowrule{
name = gaming
match:class = steam
workspace = special:gaming
}
windowrule{
name = thunderbird
match:class = org.mozilla.Thunderbird
workspace = special:email
}
# windowrule{
# name = thunderbird
# match:class = org.mozilla.Thunderbird
# workspace = special:email
# }
windowrule {
# Ignore maximize requests from all apps. You'll probably like this.