Add Looking Glass Support

This commit is contained in:
Stephan Raabe 2023-03-02 15:28:25 +01:00
parent 8a799fc241
commit 5fbf089582
4 changed files with 8 additions and 1 deletions

View File

@ -38,7 +38,8 @@ alias gr='python ~/dotfiles/scripts/growthrate.py'
alias chat='python ~/mychatgpt/mychatgpt.py'
# VIRTUAL MACHINE
alias vm='~/dotfiles/scripts/launchvm.sh'
# alias vm='~/dotfiles/scripts/launchvm.sh'
alias vm='~/dotfiles/scripts/looking-glass.sh'
alias vmstart='virsh --connect qemu:///system start win11'
alias vmstop='virsh --connect qemu:///system destroy win11'

View File

@ -131,6 +131,7 @@ keys = [
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
Key([mod], "r", lazy.spawn("rofi -show drun -icon-theme 'Papirus' -show-icons"), desc="Launch Rofi"),
Key([mod], "b", lazy.spawn(browser), desc="Launch Chromium"),
Key([mod], "v", lazy.spawn("/home/raabe/dotfiles/scripts/looking-glass.sh"), desc="Start Looking Glass Client"),
# --------------------------------------------------------
# Scratchpads

5
scripts/looking-glass.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
virsh --connect qemu:///system start win11
looking-glass-client &
exit