Parcourir la source

updated installer and i3config for `light` bin

Hans Martin il y a 2 ans
Parent
commit
ce970d5f47
2 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. 2 2
      .config/i3/config
  2. 4 1
      install.sh

+ 2 - 2
.config/i3/config

@@ -70,8 +70,8 @@ set_from_resource $base0F color14 #ff5370
 # -----[ Bindings ]----- #
 
 # Brightness Keys
-bindsym XF86MonBrightnessUp exec light -A 10
-bindsym XF86MonBrightnessDown exec light -U 10
+bindsym XF86MonBrightnessUp exec light -A 15
+bindsym XF86MonBrightnessDown exec light -U 15
 
 # Audio Keys - Volume and Mute
 bindsym $mod+plus		exec --no-startup-id amixer -D pulse sset Master 5%+

+ 4 - 1
install.sh

@@ -7,7 +7,7 @@ read yesno
 if [[ "$yesno" == "y" ]]; then
     echo "[*] Installing most popular tools"
     # most important tools that are _always_ needed
-    sudo pacman -Sy fzf fd neovim ripgrep nmap hexyl ctags git podman ueberzug duf exa i3blocks udiskie alacritty rofi firefox python-pip vifm zathura zathura-pdf-mupdf sxiv feh xclip flameshot manjaro-pipewire pavucontrol rofimoji noto-font noto-fonts-emoji noto-fonts-extra
+    sudo pacman -Sy fzf fd neovim ripgrep nmap hexyl ctags git podman ueberzug duf exa i3blocks udiskie alacritty rofi firefox python-pip vifm zathura zathura-pdf-mupdf sxiv feh xclip flameshot manjaro-pipewire pavucontrol rofimoji noto-font noto-fonts-emoji noto-fonts-extra light
 fi
 
 
@@ -102,5 +102,8 @@ rm -rf $HOME/Videos
 rm -rf $HOME/Desktop
 
 
+# setting suid on `light` for background lighting via function keys
+sudo chmod u+s $(which light)
+
 echo "[INFO] Switch the default downloads folder to 'downloads' in Firefox!"
 echo "[+] Done :)"