Updated scripts
This commit is contained in:
parent
9f4bfe4fd0
commit
a47d7d011d
@ -1,8 +1,8 @@
|
|||||||
################
|
################
|
||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
# monitor=,1920x1200,auto,auto
|
monitor=,2560x1440,auto,1
|
||||||
monitor=desc:Lenovo Group Limited P24h-10 0x01010101,2560x1440,auto,1
|
#monitor=desc:Lenovo Group Limited P24h-10 0x01010101,2560x1440,auto,1
|
||||||
|
|
||||||
# xwayland {
|
# xwayland {
|
||||||
# force_zero_scaling = true
|
# force_zero_scaling = true
|
||||||
@ -180,6 +180,10 @@ bind = $mainMod, DEL, exit,
|
|||||||
bind = $mainMod CTRL, W, exec, $browser
|
bind = $mainMod CTRL, W, exec, $browser
|
||||||
bind = $mainMod, G, exec, $moonlight
|
bind = $mainMod, G, exec, $moonlight
|
||||||
|
|
||||||
|
# Set monitor resolution
|
||||||
|
bind = $mainMod, R, exec, hyprctl keyword monitor ",1920x1200,auto,1"
|
||||||
|
bind = $mainMod CTRL, R, exec, hyprctl keyword monitor ",2560x1440,auto,1"
|
||||||
|
|
||||||
# Special workspace (scratchpad)
|
# Special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, scratchpad
|
bind = $mainMod, S, togglespecialworkspace, scratchpad
|
||||||
bind = $mainMod, B, togglespecialworkspace, btop
|
bind = $mainMod, B, togglespecialworkspace, btop
|
||||||
@ -187,6 +191,7 @@ bind = $mainMod, D, togglespecialworkspace, discord
|
|||||||
bind = $mainMod, W, togglespecialworkspace, web
|
bind = $mainMod, W, togglespecialworkspace, web
|
||||||
bind = $mainMod, F, togglespecialworkspace, fzfmenu
|
bind = $mainMod, F, togglespecialworkspace, fzfmenu
|
||||||
bind = $mainMod, P, togglespecialworkspace, prusaslicer
|
bind = $mainMod, P, togglespecialworkspace, prusaslicer
|
||||||
|
bind = $mainMod, V, togglespecialworkspace, mixer
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
@ -298,6 +303,9 @@ windowrulev2 = float, title:^(volume control)$
|
|||||||
windowrulev2 = dimaround, title:^(Volume Control)$
|
windowrulev2 = dimaround, title:^(Volume Control)$
|
||||||
windowrulev2 = float, title:^(Helvum - Pipewire Patchbay)$
|
windowrulev2 = float, title:^(Helvum - Pipewire Patchbay)$
|
||||||
windowrulev2 = dimaround, title:^(Helvum - Pipewire Patchbay)$
|
windowrulev2 = dimaround, title:^(Helvum - Pipewire Patchbay)$
|
||||||
|
windowrulev2 = float, onworkspace:special:mixer
|
||||||
|
windowrulev2 = size 80% 80%, onworkspace:special:mixer
|
||||||
|
workspace = special:mixer, on-created-empty:pavucontrol
|
||||||
|
|
||||||
# Web on worlspace 2
|
# Web on worlspace 2
|
||||||
|
|
||||||
|
|||||||
@ -154,7 +154,7 @@ wget https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhe
|
|||||||
wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64
|
wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64
|
||||||
wget https://www.virtualhere.com/sites/default/files/usbclient/vhuit64
|
wget https://www.virtualhere.com/sites/default/files/usbclient/vhuit64
|
||||||
chmod +x ./vhclientx86_64
|
chmod +x ./vhclientx86_64
|
||||||
chmod +x ./vhclientx86_64
|
chmod +x ./vhuit64
|
||||||
sudo mv ./vhclientx86_64 /usr/sbin
|
sudo mv ./vhclientx86_64 /usr/sbin
|
||||||
sudo mv ./vhuit64 /usr/sbin
|
sudo mv ./vhuit64 /usr/sbin
|
||||||
echo "$USER ALL=(ALL:ALL) NOPASSWD: /usr/sbin/vhclientx86_64" | sudo tee /etc/sudoers.d/$USER+vhclientx86_64
|
echo "$USER ALL=(ALL:ALL) NOPASSWD: /usr/sbin/vhclientx86_64" | sudo tee /etc/sudoers.d/$USER+vhclientx86_64
|
||||||
@ -368,14 +368,14 @@ yay --noconfirm --needed -S sunshine
|
|||||||
echo 'KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/60-sunshine.rules
|
echo 'KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/60-sunshine.rules
|
||||||
mkdir -p ~/.config/systemd/user
|
mkdir -p ~/.config/systemd/user
|
||||||
cp -f ~/code_server/config/systemd/user/sunshine.service ~/.config/systemd/user/sunshine.service
|
cp -f ~/code_server/config/systemd/user/sunshine.service ~/.config/systemd/user/sunshine.service
|
||||||
if [ "$KERNEL" == "$(uname -r)" ]; then
|
# if [ "$KERNEL" == "$(uname -r)" ]; then
|
||||||
sudo udevadm control --reload-rules
|
sudo udevadm control --reload-rules
|
||||||
sudo udevadm trigger
|
sudo udevadm trigger
|
||||||
sudo modprobe uinput
|
# sudo modprobe uinput
|
||||||
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
|
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
systemctl --user start sunshine
|
systemctl --user start sunshine
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Symlink update script
|
# Symlink update script
|
||||||
printf -- '\033[33m Symlinking update wrapper\n\033[37m'
|
printf -- '\033[33m Symlinking update wrapper\n\033[37m'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user