From 5319373a1fc0b28d12a71d35f96aec54b225586c Mon Sep 17 00:00:00 2001 From: Abdulmujeeb Raji Date: Thu, 18 May 2023 19:41:31 +0100 Subject: [PATCH] Change browser to Firefox Whoever's maintaining Chromium needs to pattern up. Shit made me use fsck 10 times in a row --- .config/HybridBar/config.json | 25 +++++++++---------------- .config/hypr/hyprland.conf | 5 ++++- install.sh | 2 +- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.config/HybridBar/config.json b/.config/HybridBar/config.json index 9f954ff..9b1e610 100644 --- a/.config/HybridBar/config.json +++ b/.config/HybridBar/config.json @@ -35,21 +35,6 @@ "tooltip": "Epoch Time: ", "tooltip_command": "date +%s" }, - "right-button_wifi": { - "text": "󰖩 ", - "command": "kitty nmtui", - "tooltip": "Click to edit WiFi" - }, - "right-label_wifiname": { - "text": "", - "command": "nmcli -t -f active,ssid dev wifi | grep -E '^yes' | cut -d\\: -f2", - "tooltip": "Hostname: ", - "tooltip_command": "%hostname%" - }, - "right-spacing_wifitobat": { - "spacing_start": 0, - "spacing_end": 20 - }, "right-label_bat": { "text": ": ", "command": "acpi -b | head -n 1 | awk '{print $4}' | sed 's/,//'", @@ -74,7 +59,15 @@ "text": "/", "command": "%total_mem%" }, - "right-spacing_memtovolume": { + "right-spacing_memtobrightness": { + "spacing_start": 0, + "spacing_end": 20 + }, + "right-label_brightness": { + "text": "󰃠 ", + "command": "pkexec /usr/bin/brillo" + }, + "right-spacing_brightnesstovolume": { "spacing_start": 0, "spacing_end": 20 }, diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 73a2a07..9d53ae9 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -90,7 +90,7 @@ gestures { $mainMod = SUPER bind = $mainMod, Return, exec, kitty -bind = $mainMod, B, exec, chromium +bind = $mainMod, B, exec, firefox bind = $mainMod, G, exec, steam bind = $mainMod, D, exec, webcord-git bind = $mainMod, F, exec, kitty joshuto @@ -112,6 +112,9 @@ bind = , XF86AudioRaiseVolume, exec, pamixer -i 10 bind = , XF86AudioLowerVolume, exec, pamixer -d 10 bind = , XF86AudioMute, exec, pamixer -t +bind = , XF86MonBrightnessUp, exec, brillo -A 5 +bind = , XF86MonBrightnessDown, exec, brillo -U 5 + bind = $mainMod, L, exec, wlogout # Move focus with mainMod + arrow keys diff --git a/install.sh b/install.sh index 37b91be..a921611 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ which paru || (git clone https://aur.archlinux.org/paru.git && cd paru && makepk paru -Syu helix kitty qt6ct nwg-look-bin pamixer pavucontrol wlogout bashtop acpi \ xdg-desktop-portal-hyprland-git polkit-kde-agent qt6-wayland ttf-dejavu ttf-dejavu-nerd \ hyprland hybrid-bar wofi hyprpaper grim slurp cliphist udiskie swaylock swayidle libappindicator-gtk3 \ - webcord-git-screenshare chromium steam wine gamescope wl-clipboard fzf zoxide joshuto sxiv + webcord-git-screenshare firefox steam wine gamescope wl-clipboard fzf zoxide joshuto sxiv brillo noto-fonts-emoji sudo usermod -aG seat $USER sudo echo $USER >> /etc/shutdown.allow