Updates
This commit is contained in:
parent
2eb576c949
commit
37c255c7bf
|
@ -12,3 +12,4 @@ gtk-enable-input-feedback-sounds=1
|
||||||
gtk-xft-antialias=1
|
gtk-xft-antialias=1
|
||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
gtk-xft-hintstyle="hintfull"
|
gtk-xft-hintstyle="hintfull"
|
||||||
|
gtk-application-prefer-dark-theme=true
|
||||||
|
|
|
@ -5,3 +5,4 @@
|
||||||
env = WLR_NO_HARDWARE_CURSORS, 1
|
env = WLR_NO_HARDWARE_CURSORS, 1
|
||||||
env = WLR_RENDERER_ALLOW_SOFTWARE, 1
|
env = WLR_RENDERER_ALLOW_SOFTWARE, 1
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
|
env = GTK_THEME,Adwaita:dark
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
gnome_schema="org.gnome.desktop.interface"
|
gnome_schema="org.gnome.desktop.interface"
|
||||||
|
|
||||||
gsettings set "$gnome_schema" gtk-theme "Breeze-Dark"
|
gsettings set "$gnome_schema" gtk-theme "Breeze-Dark"
|
||||||
gsettings set "$gnome_schema" icon-theme "kora"
|
gsettings set "$gnome_schema" icon-theme "kora"
|
||||||
gsettings set "$gnome_schema" cursor-theme "Bibata-Modern-Ice"
|
gsettings set "$gnome_schema" cursor-theme "Bibata-Modern-Ice"
|
||||||
gsettings set "$gnome_schema" font-name "Cantarell 11"
|
gsettings set "$gnome_schema" font-name "Cantarell 11"
|
||||||
|
gsettings set "$gnome_schema" color-scheme "prefer-dark"
|
||||||
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
|
||||||
|
|
|
@ -15,19 +15,21 @@ if [ -f ~/private/win11-credentials.sh ]; then
|
||||||
else
|
else
|
||||||
win11user="USER"
|
win11user="USER"
|
||||||
win11pass="PASS"
|
win11pass="PASS"
|
||||||
|
vmip="192.168.122.44"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
tmp=$(virsh --connect qemu:///system list | grep " win11 " | awk '{ print $3}')
|
tmp=$(virsh --connect qemu:///system list | grep " win11 " | awk '{ print $3}')
|
||||||
|
|
||||||
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
|
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
|
||||||
then
|
then
|
||||||
virsh --connect qemu:///system start win11
|
virsh --connect qemu:///system start win11
|
||||||
echo "Virtual Machine win11 is starting... Waiting 45s for booting up."
|
echo "Virtual Machine win11 is starting... Waiting 45s for booting up."
|
||||||
notify-send "Virtual Machine win11 is starting..." "Waiting 45s for booting up."
|
notify-send "Virtual Machine win11 is starting..." "Waiting 30s for booting up."
|
||||||
sleep 45
|
sleep 30
|
||||||
else
|
else
|
||||||
notify-send "Virtual Machine win11 is already running." "Launching xfreerdp now!"
|
notify-send "Virtual Machine win11 is already running." "Launching xfreerdp now!"
|
||||||
echo "Starting xfreerdp now..."
|
echo "Starting xfreerdp now..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xfreerdp -grab-keyboard /v:192.168.122.44 /size:100% /cert-ignore /u:$win11user /p:$win11pass /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
|
xfreerdp -grab-keyboard /v:$vmip /size:100% /cert-ignore /u:$win11user /p:$win11pass /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
// Windows VM
|
// Windows VM
|
||||||
"custom/windowsvm": {
|
"custom/windowsvm": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "~/private/launchvm.sh",
|
"on-click": "~/dotfiles/scripts/launchvm.sh",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user