From 9901378eab52c06fafc10e07aa90e45610f4df0d Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sat, 10 May 2025 09:52:08 +0200 Subject: [PATCH] Updates scripts --- config/hypr/hyprland_LABBOX.conf | 2 +- config/waybar/config | 24 +++++++++++++++++++++++- update_arch.sh | 1 + 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/config/hypr/hyprland_LABBOX.conf b/config/hypr/hyprland_LABBOX.conf index 34becfe..b8ec726 100644 --- a/config/hypr/hyprland_LABBOX.conf +++ b/config/hypr/hyprland_LABBOX.conf @@ -3,4 +3,4 @@ monitor=HDMI-A-1,preffered,auto-left,1,transform,3 workspace=1,monitor:eDP-1 workspace=2,monitor:HDMI-A-1 exec-once = [workspace 1] picoscope -exec-once = [workspace 2] hyprctl "layoutmsg, preselect d" && python3 ~/spm6103.py && sleep 2 && brave && sleep 2 && nrf-connect +exec-once = [workspace 2] python3 ./spm6103.py && sleep 2 && brave && sleep 2 && nrf-connect diff --git a/config/waybar/config b/config/waybar/config index 78bbc0c..5ac0ee0 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -27,6 +27,7 @@ ], "modules-right": [ "tray", + "gamemode", "custom/separator", "wireplumber", "custom/separator", @@ -54,7 +55,28 @@ "interval": "once", "tooltip": false }, - + + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "  ", + "deactivated": "  " + } + }, + + "gamemode": { + "format": "{glyph}", + "format-alt": "{glyph} {count}", + "glyph": "", + "hide-not-running": true, + "use-icon": true, + "icon-name": "input-gaming-symbolic", + "icon-spacing": 4, + "icon-size": 20, + "tooltip": true, + "tooltip-format": "Games running: {count}" + }, + "wireplumber": { "format": "VOL:{volume:03}%", "format-muted": "VOL:---%", diff --git a/update_arch.sh b/update_arch.sh index 5b9a4e6..9b51645 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -365,6 +365,7 @@ if [ "${ROLES[GAME]}" == "yes" ]; then sudo pacman -S --noconfirm --needed wine-staging sudo pacman -S --noconfirm --needed winetricks wine-mono wine-gecko qt5-tools sudo pacman -S --noconfirm --needed steam + sudo pacman -S --noconfirm --needed gamemode gamescope yay --noconfirm -S --needed --aur protonup-qt protontricks yay --noconfirm -S --needed --aur lug-helper yay --noconfirm -S --needed --aur opentrack-git