Compare commits

...

2 commits

Author SHA1 Message Date
joygnu f22668c3a2 binds for laptop 2024-07-12 00:09:53 +02:00
joygnu b8b34ac282 vm for laptop 2024-07-11 22:38:18 +02:00
3 changed files with 40 additions and 9 deletions

View file

@ -23,7 +23,8 @@
preserve_split = true;
};
monitor = "DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10";
monitor = "eDP-1,2560x1440@165.00Hz,0x0,1.2,bitdepth,10";
env = [
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
@ -42,7 +43,7 @@
bind = [
# launch Apps
"$mod, TAB, exec, alacritty"
"$mod,TAB, exec, alacritty"
"$mod, E, exec, nemo"
"$mod, S, exec, brave"
"$mod, X, exec, keepassxc"
@ -112,13 +113,21 @@
"$mod+Shift, 8, movetoworkspace, 8"
"$mod+Shift, 9, movetoworkspace, 9"
"$mod+Shift, 0, movetoworkspace, 10"
];
bindm= [
bindm = [
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
];
bindl = [
", XF86MonBrightnessUp, exec, brightnessctl set +10%"
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
", XF86AudioRaiseVolume, exec, amixer set Master 5%+"
", XF86AudioLowerVolume, exec, amixer set Master 5%-"
];
general = {
gaps_in = 5;
gaps_out = 8;

View file

@ -1,3 +1,24 @@
#!/bin/bash
# Start the virtual machine named "Windows" using virsh
virsh --connect qemu:///system start Windows
# Wait for 3 seconds to allow the VM to start up
sleep 3
xfreerdp -grab-keyboard /v:192.168.122.93 /u:joy /p:1 /size:100% /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive
# Get the hostname of the current machine
hostname=$(hostname)
# Set the IP address based on the hostname
if [ "$hostname" == "desktop" ]; then
ip="192.168.122.93"
elif [ "$hostname" == "laptop" ]; then
ip="192.168.122.29"
else
echo "Unknown hostname: $hostname"
exit 1
fi
# Start an RDP session to the VM using xfreerdp
xfreerdp -grab-keyboard /v:$ip /u:joy /p:1 /size:100% /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive

View file

@ -41,6 +41,7 @@
gnome-calculator
gnome-disk-utility
#random shit
brightnessctl
gnat14
libgccjit
zulu17