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; 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 = [ env = [
"HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_THEME = Bibata-Modern-Ice"
@ -42,7 +43,7 @@
bind = [ bind = [
# launch Apps # launch Apps
"$mod, TAB, exec, alacritty" "$mod,TAB, exec, alacritty"
"$mod, E, exec, nemo" "$mod, E, exec, nemo"
"$mod, S, exec, brave" "$mod, S, exec, brave"
"$mod, X, exec, keepassxc" "$mod, X, exec, keepassxc"
@ -77,11 +78,11 @@
"$mod, K, movefocus, u" "$mod, K, movefocus, u"
"$mod, J, movefocus, d" "$mod, J, movefocus, d"
# Window resizing X Y # Window resizing X Y
"CTRL+SHIFT, H, resizeactive, -60 0" "CTRL+SHIFT, H, resizeactive, -60 0"
"CTRL+SHIFT, L, resizeactive, 60 0" "CTRL+SHIFT, L, resizeactive, 60 0"
"CTRL+SHIFT, K, resizeactive, 0 -60" "CTRL+SHIFT, K, resizeactive, 0 -60"
"CTRL+SHIFT, J, resizeactive, 0 60" "CTRL+SHIFT, J, resizeactive, 0 60"
# Moving windows # Moving windows
"$mod SHIFT, H, swapwindow, l" "$mod SHIFT, H, swapwindow, l"
@ -112,13 +113,21 @@
"$mod+Shift, 8, movetoworkspace, 8" "$mod+Shift, 8, movetoworkspace, 8"
"$mod+Shift, 9, movetoworkspace, 9" "$mod+Shift, 9, movetoworkspace, 9"
"$mod+Shift, 0, movetoworkspace, 10" "$mod+Shift, 0, movetoworkspace, 10"
]; ];
bindm= [ bindm = [
"$mod, mouse:272, movewindow" "$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow" "$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 = { general = {
gaps_in = 5; gaps_in = 5;
gaps_out = 8; 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 virsh --connect qemu:///system start Windows
sleep 3
xfreerdp -grab-keyboard /v:192.168.122.93 /u:joy /p:1 /size:100% /d: /dynamic-resolution /gfx-h264:avc444 +gfx-progressive # Wait for 3 seconds to allow the VM to start up
sleep 3
# 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-calculator
gnome-disk-utility gnome-disk-utility
#random shit #random shit
brightnessctl
gnat14 gnat14
libgccjit libgccjit
zulu17 zulu17