From a0c3ce9bb3eb93ebd49ea0fa1788e1201afc9cf8 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Mon, 7 Oct 2024 21:48:47 +0200 Subject: [PATCH] Updating scripts --- update.sh | 21 ++++++++------------- wezterm.lua | 9 ++++----- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/update.sh b/update.sh index 6e520d3..2090d80 100755 --- a/update.sh +++ b/update.sh @@ -242,18 +242,6 @@ if [ $DESKTOP == "yes" ]; then printf -- '\033[33m Installing DrawIo\n\033[37m' flatpak install -y flathub com.jgraph.drawio.desktop - printf -- '\033[33m Installing StreamController\n\033[37m' - flatpak install -y flathub com.core447.StreamController - sudo sh -c "echo -e 'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"0060\", TAG+=\"uaccess\"\\n'\ -'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"0063\", TAG+=\"uaccess\"\\n'\ -'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"006c\", TAG+=\"uaccess\"\\n'\ -'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"006d\", TAG+=\"uaccess\"\\n'\ -'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"0080\", TAG+=\"uaccess\"\\n'\ -'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"0084\", TAG+=\"uaccess\"\\n'\ -'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", ATTRS{idProduct}==\"008f\", TAG+=\"uaccess\"\\n'\ -'KERNEL==\"uinput\", SUBSYSTEM==\"misc\", OPTIONS+=\"static_node=uinput\", TAG+=\"uaccess\", GROUP=\"input\", MODE=\"0660\"' > /etc/udev/rules.d/60-streamdeck.rules" - sudo udevadm trigger - # Install gnome-shell-extension-manager printf -- '\033[33m Installing gnome-shell-extension-manager\n\033[37m' sudo nala install -y gnome-shell-extension-manager @@ -261,7 +249,7 @@ if [ $DESKTOP == "yes" ]; then # Install remmina printf -- '\033[33m Installing remmina\n\033[37m' sudo nala install -y remmina - + # Install NerdFonts printf -- '\033[33m Installing NerdFonts\n\033[37m' mkdir -p /home/$USER/.local/share/fonts @@ -300,6 +288,13 @@ if [ $DESKTOP == "yes" ]; then sudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-7.0.0.vbox-extpack --accept-license=33d7284dc4a0ece381196fda3cfe2ed0e1e8e7ed7f27b9a9ebc4ee22e24bd23c sudo usermod -a -G vboxusers $USER fi + + if [ $VER == "24.04" ]; then + # Install helvum + printf -- '\033[33m Installing helvum\n\033[37m' + sudo nala install -y helvum + fi + fi # Symlink nvim config diff --git a/wezterm.lua b/wezterm.lua index 1fb2df5..ec30e68 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -2,15 +2,14 @@ local wezterm = require 'wezterm' local mux = wezterm.mux -wezterm.on("gui-startup", function(cmd) - local tab, pane, window = mux.spawn_window(cmd or {}) - window:gui_window():maximize() -end) +-- wezterm.on("gui-startup", function(cmd) +-- local tab, pane, window = mux.spawn_window(cmd or {}) +-- window:gui_window():maximize() +-- end) local config = {} config.enable_tab_bar = false -config.window_decorations = "RESIZE" config.colors = { -- The default text color