Updated scipts

This commit is contained in:
Christoffer Martinsson 2025-07-08 16:38:50 +02:00
parent 6bea9dc550
commit 89710b85e5
5 changed files with 13 additions and 5 deletions

View File

@ -183,11 +183,7 @@ bind = $mainMod CTRL, R, exec, hyprctl keyword monitor ",preffered,auto,1"
# Special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, scratchpad
bind = $mainMod, B, togglespecialworkspace, btop
bind = $mainMod, D, togglespecialworkspace, discord
bind = $mainMod, W, togglespecialworkspace, web
bind = $mainMod, V, togglespecialworkspace, mixer
bind = $mainMod, A, togglespecialworkspace, ranger
bind = $mainMod, T, togglespecialworkspace, timer
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l

View File

@ -1,2 +1,6 @@
exec-once = /home/cm/linuxbox/set-xr18-2ch.sh
exec-once = [workspace 1] $nvim
bind = $mainMod, D, togglespecialworkspace, discord
bind = $mainMod, W, togglespecialworkspace, web
bind = $mainMod, A, togglespecialworkspace, ranger
bind = $mainMod, T, togglespecialworkspace, timer

View File

@ -11,6 +11,10 @@ exec-once = $browser
exec-once = nrfconnect --args --open-downloadable-app "pc-nrfconnect-ppk" --source "official"
exec-once = blueman-applet
bind = $mainMod, W, togglespecialworkspace, web
bind = $mainMod, A, togglespecialworkspace, ranger
bind = $mainMod, T, togglespecialworkspace, timer
windowrulev2 = float, initialTitle:^(SPM6103)$
windowrulev2 = size 1080 200, initialTitle:^(SPM6103)$
windowrulev2 = move 0 25, initialTitle:^(SPM6103)$

View File

@ -2,3 +2,7 @@ exec-once = blueman-applet
exec-once = systemctl --user start hypridle
env = GBM_BACKEND, nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME, nvidia
bind = $mainMod, D, togglespecialworkspace, discord
bind = $mainMod, W, togglespecialworkspace, web
bind = $mainMod, A, togglespecialworkspace, ranger
bind = $mainMod, T, togglespecialworkspace, timer

View File

@ -118,7 +118,7 @@ if [ "${ROLES[NVIDIA_GPU]}" == "yes" ] || [ "${ROLES[NVIDIA_1080_GPU]}" == "yes"
fi
if [ "${ROLES[NVIDIA_GPU]}" == "yes" ]; then
sudo pacman --noconfirm --needed -S nvidia-open-dkms
sudo pacman --noconfirm --needed -S nvidia-dkms
elif [ "${ROLES[NVIDIA_1080_GPU]}" == "yes" ]; then
sudo pacman --noconfirm --needed -S nvidia-dkms
fi