Skip to content

Instantly share code, notes, and snippets.

@Delusoire
Last active March 30, 2023 18:00
Show Gist options
  • Select an option

  • Save Delusoire/9eddb254eba1292976461e8dba41ed1d to your computer and use it in GitHub Desktop.

Select an option

Save Delusoire/9eddb254eba1292976461e8dba41ed1d to your computer and use it in GitHub Desktop.

Revisions

  1. Delusoire revised this gist Mar 30, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@
    ### qbittorrent element-desktop

    # Entertainment
    ### steam prismlauncher-git xmcl-launcher-bin gdlauncher-bin ferium-bin lutris
    ### steam prismlauncher-git xmcl-launcher-bin ferium-bin lutris

    # Virtualization
    ### virt-manager
  2. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@
    # Desktop
    ### xdg-user-dirs
    ### gdm hyprland-bin
    ### polybar python-pywal rofi
    ### polybar python-pywal wofi

    # Terminal
    ### kitty fish
  3. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@
    ### testdisk glances bpytop

    # Browsers
    ### vivaldi
    ### microsoft-edge-dev-bin

    # Content Creation
    ### kdenlive obs-studio audacity gimp inkscape
  4. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@

    # Desktop
    ### xdg-user-dirs
    ### gdm hyprland
    ### gdm hyprland-bin
    ### polybar python-pywal rofi

    # Terminal
  5. Delusoire revised this gist Mar 29, 2023. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -110,7 +110,6 @@ rustup update stable && rustup self upgrade-data
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
    paru -S --noconfirm --needed jdk8-openjdk extra-cmake-modules # polymc dep
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -

    # post-install config
  6. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@
    ### qbittorrent element-desktop

    # Entertainment
    ### steam prismlauncher-git x-minecraft-launcher gdlauncher-bin ferium-bin lutris
    ### steam prismlauncher-git xmcl-launcher-bin gdlauncher-bin ferium-bin lutris

    # Virtualization
    ### virt-manager
  7. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@
    ### qbittorrent element-desktop

    # Entertainment
    ### steam prismlauncher-git gdlauncher-bin ferium-bin lutris
    ### steam prismlauncher-git x-minecraft-launcher gdlauncher-bin ferium-bin lutris

    # Virtualization
    ### virt-manager
  8. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@
    ### qbittorrent element-desktop

    # Entertainment
    ### steam lutris
    ### steam prismlauncher-git gdlauncher-bin ferium-bin lutris

    # Virtualization
    ### virt-manager
  9. Delusoire revised this gist Mar 29, 2023. 2 changed files with 2 additions and 2 deletions.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -111,7 +111,7 @@ rustup default stable
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
    paru -S --noconfirm --needed jdk8-openjdk extra-cmake-modules # polymc dep
    paru -S --noconfirm --needed jdk8-openjdk
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -

    # post-install config
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -71,7 +71,7 @@
    ### qbittorrent element-desktop

    # Entertainment
    ### steam polymc-cracked-git lutris
    ### steam lutris

    # Virtualization
    ### virt-manager
  10. Delusoire revised this gist Mar 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@

    # Desktop
    ### xdg-user-dirs
    ### sway qtile hyprland
    ### gdm hyprland
    ### polybar python-pywal rofi

    # Terminal
  11. Delusoire revised this gist Mar 26, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,7 @@

    # Desktop
    ### xdg-user-dirs
    ### sway qtile hyprland
    ### polybar python-pywal rofi

    # Terminal
    @@ -33,7 +34,6 @@
    # Scripts
    ### yt-dlp translate-shell
    ### wmname xsel inotify-tools trash-cli jq
    ### xorg-xinput xorg-xwininfo xdo xdotool
    ### cmatrix fortune-mod

    # Documents & Media
    @@ -52,7 +52,7 @@
    ### kdenlive obs-studio audacity gimp inkscape

    # Health
    ### redshift
    ### gammastep

    # Programming languages
    ### rustup julia jdk-openjdk
  12. Delusoire revised this gist Mar 26, 2023. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,6 @@
    #!/usr/bin/env sh
    # Multilib drivers


    # Audio
    ### easyeffects realtime-privileges qjackctl
    #pro-audio
    @@ -107,7 +106,7 @@ uncmt ParallelDownloads /etc/pacman.conf
    # install paru
    sudo pacman -S --noconfirm --needed git rustup
    git clone https://aur.archlinux.org/paru.git
    rustup default stable
    rustup update stable && rustup self upgrade-data
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
  13. Delusoire revised this gist Mar 26, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env sh
    # Multilib drivers
    ### lib32-mesa lib32-vulkan-intel


    # Audio
    ### easyeffects realtime-privileges qjackctl
  14. Delusoire revised this gist Mar 25, 2023. 1 changed file with 121 additions and 0 deletions.
    121 changes: 121 additions & 0 deletions pkgs-wayland
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,121 @@
    #!/usr/bin/env sh
    # Multilib drivers
    ### lib32-mesa lib32-vulkan-intel

    # Audio
    ### easyeffects realtime-privileges qjackctl
    #pro-audio

    # Performance deamons
    ### irqbalance
    ### cpulimit
    ### gamemode lib32-gamemode
    ### cpupower
    ### ananicy-git

    # Desktop
    ### xdg-user-dirs
    ### polybar python-pywal rofi

    # Terminal
    ### kitty fish

    # Cli tools
    ### duf rsync tealdeer dunst
    ### ripgrep exa bat starship fd procs skim dust hyperfine

    # Security
    ### proxychains openvpn openvpn-update-resolv-conf-git

    # Utility
    ### reflector cpulimit p7zip b3sum man-db
    #syncthing

    # Scripts
    ### yt-dlp translate-shell
    ### wmname xsel inotify-tools trash-cli jq
    ### xorg-xinput xorg-xwininfo xdo xdotool
    ### cmatrix fortune-mod

    # Documents & Media
    ### mpv sxiv okular foliate libreoffice-fresh

    # Applications
    ### screenkey nitrogen flameshot gucharmap

    # Maintainance
    ### testdisk glances bpytop

    # Browsers
    ### vivaldi

    # Content Creation
    ### kdenlive obs-studio audacity gimp inkscape

    # Health
    ### redshift

    # Programming languages
    ### rustup julia jdk-openjdk

    # Reverse Engineering
    ### recaf ghidra

    # Editors
    ### neovim neovim-plug visual-studio-code-bin
    ### gnome-keyring

    # Programming
    ### gitkraken jetbrains-toolbox ngrok

    # Communication
    ### qbittorrent element-desktop

    # Entertainment
    ### steam polymc-cracked-git lutris

    # Virtualization
    ### virt-manager

    # Fonts
    ### ttf-font-awesome ttf-font-nerd noto-fonts

    # Themes
    ### qt6ct kvantum kvantum-theme-materia

    :; # bash part
    :; sudo pacman -S --noconfirm --needed fish
    :; chsh -s /bin/fish
    :; sed -i "1c#!/usr/bin/env fish" "$0"
    :; sed -i -r "/^:;/d" "$0"
    :; exec "$0"
    :; # perhaps fish + here-doc would be wiser?

    # sudo loop
    fish -c 'while true; sudo -v; sleep 60; end' &

    function uncmt
    set pattern (string escape --style=regex -- $argv[1])
    set -e argv[1]
    sudo sed -i -r "s/^\s*#\s*($pattern)/\1/" $argv
    end

    # pacman optimizations
    uncmt Color /etc/pacman.conf
    uncmt ParallelDownloads /etc/pacman.conf

    # install paru
    sudo pacman -S --noconfirm --needed git rustup
    git clone https://aur.archlinux.org/paru.git
    rustup default stable
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
    paru -S --noconfirm --needed jdk8-openjdk extra-cmake-modules # polymc dep
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -

    # post-install config
    sudo usermod -a -G realtime $USER
    uncmt governor /etc/default/cpupower
    sudo systemctl enable cpupower
    gsettings set org.gnome.desktop.interface toolkit-accessibility true
  15. Delusoire revised this gist Mar 25, 2023. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    #!/usr/bin/env sh
    # x server & pipewire
    # Multilib drivers
    ### lib32-mesa lib32-vulkan-intel

  16. Delusoire revised this gist Aug 30, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -57,7 +57,7 @@
    ### redshift

    # Programming languages
    ### rustup julia jdk-openjdk jdk8-openjdk
    ### rustup julia jdk-openjdk

    # Reverse Engineering
    ### recaf ghidra
    @@ -112,7 +112,7 @@ rustup default stable
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
    paru -S --noconfirm --needed extra-cmake-modules # polymc dep
    paru -S --noconfirm --needed jdk8-openjdk extra-cmake-modules # polymc dep
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -

    # post-install config
  17. Delusoire revised this gist Aug 30, 2022. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -16,19 +16,20 @@

    # Desktop
    ### xdg-user-dirs
    ### bspwm sxhkd picom-ibhagwan-git polybar python-pywal rofi tldr dunst
    ### bspwm sxhkd picom-ibhagwan-git polybar python-pywal rofi

    # Terminal
    ### kitty fish

    # Rust replacements
    # Cli tools
    ### duf rsync tealdeer dunst
    ### ripgrep exa bat starship fd procs skim dust hyperfine

    # Security
    ### proxychains openvpn openvpn-update-resolv-conf-git

    # Utility
    ### rsync reflector cpulimit p7zip b3sum man-db
    ### reflector cpulimit p7zip b3sum man-db
    #syncthing

    # Scripts
  18. Delusoire revised this gist Aug 22, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env sh

    # Drivers
    # x server & pipewire
    # Multilib drivers
    ### lib32-mesa lib32-vulkan-intel

    # Audio
  19. Delusoire revised this gist Aug 22, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -56,7 +56,7 @@
    ### redshift

    # Programming languages
    ### rustup julia jre8-openjdk jdk-openjdk
    ### rustup julia jdk-openjdk jdk8-openjdk

    # Reverse Engineering
    ### recaf ghidra
  20. Delusoire revised this gist Aug 22, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -72,7 +72,6 @@
    ### qbittorrent element-desktop

    # Entertainment
    ### extra-cmake-modules
    ### steam polymc-cracked-git lutris

    # Virtualization
    @@ -112,6 +111,7 @@ rustup default stable
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
    paru -S --noconfirm --needed extra-cmake-modules # polymc dep
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -

    # post-install config
  21. Delusoire revised this gist Aug 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -109,7 +109,7 @@ uncmt ParallelDownloads /etc/pacman.conf
    sudo pacman -S --noconfirm --needed git rustup
    git clone https://aur.archlinux.org/paru.git
    rustup default stable
    cd paru && makepkg -si && cd .. && rm -rf paru
    cd paru && makepkg -si --noconfirm && cd .. && rm -rf paru

    # install pkgs
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -
  22. Delusoire revised this gist Aug 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -118,4 +118,4 @@ sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' |
    sudo usermod -a -G realtime $USER
    uncmt governor /etc/default/cpupower
    sudo systemctl enable cpupower
    gsettings get org.gnome.desktop.interface toolkit-accessibility
    gsettings set org.gnome.desktop.interface toolkit-accessibility true
  23. Delusoire revised this gist Aug 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -112,7 +112,7 @@ rustup default stable
    cd paru && makepkg -si && cd .. && rm -rf paru

    # install pkgs
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | sudo paru -S --noconfirm --needed -
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | paru -S --noconfirm --needed -

    # post-install config
    sudo usermod -a -G realtime $USER
  24. Delusoire revised this gist Aug 21, 2022. 1 changed file with 2 additions and 7 deletions.
    9 changes: 2 additions & 7 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -92,13 +92,8 @@
    :; exec "$0"
    :; # perhaps fish + here-doc would be wiser?

    function sudoloop
    while true
    sudo -v
    sleep 60
    end
    end
    sudoloop &
    # sudo loop
    fish -c 'while true; sudo -v; sleep 60; end' &

    function uncmt
    set pattern (string escape --style=regex -- $argv[1])
  25. Delusoire revised this gist Aug 21, 2022. 1 changed file with 9 additions and 3 deletions.
    12 changes: 9 additions & 3 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,4 @@
    #!/usr/bin/env sh
    # sudo loop
    watch -n 60 sudo -v >&- &

    # Drivers
    ### lib32-mesa lib32-vulkan-intel
    @@ -89,11 +87,19 @@ watch -n 60 sudo -v >&- &
    :; # bash part
    :; sudo pacman -S --noconfirm --needed fish
    :; chsh -s /bin/fish
    :; sed -i "1c#/usr/bin/env fish" "$0"
    :; sed -i "1c#!/usr/bin/env fish" "$0"
    :; sed -i -r "/^:;/d" "$0"
    :; exec "$0"
    :; # perhaps fish + here-doc would be wiser?

    function sudoloop
    while true
    sudo -v
    sleep 60
    end
    end
    sudoloop &

    function uncmt
    set pattern (string escape --style=regex -- $argv[1])
    set -e argv[1]
  26. Delusoire revised this gist Aug 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env sh
    # sudo loop
    watch -n 60 sudo -v >/dev/null &
    watch -n 60 sudo -v >&- &

    # Drivers
    ### lib32-mesa lib32-vulkan-intel
  27. Delusoire revised this gist Aug 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env sh
    # sudo loop
    sudo -v && watch -n 60 sudo -v >/dev/null &
    watch -n 60 sudo -v >/dev/null &

    # Drivers
    ### lib32-mesa lib32-vulkan-intel
  28. Delusoire revised this gist Aug 21, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pkgs
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env sh
    # sudo loop
    watch -n 60 sudo -v &
    sudo -v && watch -n 60 sudo -v >/dev/null &

    # Drivers
    ### lib32-mesa lib32-vulkan-intel
  29. Delusoire revised this gist Aug 21, 2022. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -87,7 +87,7 @@ watch -n 60 sudo -v &
    ### qt6ct kvantum kvantum-theme-materia

    :; # bash part
    :; sudo pacman -S --needed fish
    :; sudo pacman -S --noconfirm --needed fish
    :; chsh -s /bin/fish
    :; sed -i "1c#/usr/bin/env fish" "$0"
    :; sed -i -r "/^:;/d" "$0"
    @@ -105,13 +105,13 @@ uncmt Color /etc/pacman.conf
    uncmt ParallelDownloads /etc/pacman.conf

    # install paru
    sudo pacman -S --needed git rustup
    sudo pacman -S --noconfirm --needed git rustup
    git clone https://aur.archlinux.org/paru.git
    rustup default stable
    cd paru && makepkg -si && cd .. && rm -rf paru

    # install pkgs
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | sudo paru -S --needed -
    sed -n 's/#\{3\}\s*\(.*\)/\1/p' "$(status -f)" | sed 's/ /\n/g' | sed '/^$/d' | sudo paru -S --noconfirm --needed -

    # post-install config
    sudo usermod -a -G realtime $USER
  30. Delusoire revised this gist Aug 21, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions pkgs
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,7 @@
    #!/usr/bin/env sh
    # sudo loop
    watch -n 60 sudo -v &

    # Drivers
    ### lib32-mesa lib32-vulkan-intel