From 39602b7edc7222213bce762080d8f46352167434 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 3 Sep 2024 12:28:22 +0200 Subject: [PATCH] chore: updates --- ansible/roles/web/templates/app.j2 | 2 +- config/ags/options.ts | 2 +- config/aria2/aria2.conf | 2 +- config/fastfetch/config.jsonc | 2 +- config/fish/completions/bun.fish | 3 ++- config/fish/functions/clean.fish | 6 +++++ config/hypr/hyprland.conf | 9 +++---- config/hypr/scripts/quake | 36 ++++++++++++++-------------- pacman.txt | 38 ++++++++++++++---------------- 9 files changed, 53 insertions(+), 47 deletions(-) diff --git a/ansible/roles/web/templates/app.j2 b/ansible/roles/web/templates/app.j2 index f0a2f5ba..138ae6de 100644 --- a/ansible/roles/web/templates/app.j2 +++ b/ansible/roles/web/templates/app.j2 @@ -4,5 +4,5 @@ Version=1.0 Terminal=false Type=Application Name={{item.name}} -Exec=/bin/microsoft-edge-beta --app="{{item.url}}" +Exec=/bin/brave-beta --app="{{item.url}}" Icon={% if item.icon is defined %}{{item.icon}}{% else %}{{item.name | lower | regex_replace(' ', '-')}}{% endif %} diff --git a/config/ags/options.ts b/config/ags/options.ts index 0de3a41a..ec314401 100644 --- a/config/ags/options.ts +++ b/config/ags/options.ts @@ -156,7 +156,7 @@ const options = mkOptions(OPTIONS, { iconSize: opt(62), max: opt(6), favorites: opt([ - ["microsoft-edge-beta", "wezterm", "org.gnome.Nautilus", "org.gnome.Calendar", "spotify"], + ["brave-beta", "wezterm", "org.gnome.Nautilus", "org.gnome.Calendar", "spotify"], ]), }, }, diff --git a/config/aria2/aria2.conf b/config/aria2/aria2.conf index 45ee67cf..76d5e8b7 100644 --- a/config/aria2/aria2.conf +++ b/config/aria2/aria2.conf @@ -36,7 +36,7 @@ split=5 # Single task upload speed limit, default:0 #max-upload-limit=0 # Disable IPv6 by default:false -disable-ipv6=true +# disable-ipv6=true ## Progress saving related## diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc index c4cb65a3..a1d62150 100644 --- a/config/fastfetch/config.jsonc +++ b/config/fastfetch/config.jsonc @@ -17,7 +17,7 @@ }, "display": { "separator": "", - "keyWidth": 15, + "key": { "width": 15 }, }, "modules": [ { diff --git a/config/fish/completions/bun.fish b/config/fish/completions/bun.fish index 3cb9366b..a5c51aef 100644 --- a/config/fish/completions/bun.fish +++ b/config/fish/completions/bun.fish @@ -179,6 +179,7 @@ complete -c bun -n "__fish_use_subcommand" -a "remove" -d "Remove a dependency f complete -c bun -n "__fish_use_subcommand" -a "add" -d "Add a dependency to package.json" -f complete -c bun -n "__fish_use_subcommand" -a "init" -d "Initialize a Bun project in this directory" -f complete -c bun -n "__fish_use_subcommand" -a "link" -d "Register or link a local npm package" -f -complete -c bun -n "__fish_use_subcommand" -a "link" -d "Unregister a local npm package" -f +complete -c bun -n "__fish_use_subcommand" -a "unlink" -d "Unregister a local npm package" -f complete -c bun -n "__fish_use_subcommand" -a "pm" -d "Additional package management utilities" -f complete -c bun -n "__fish_use_subcommand" -a "x" -d "Execute a package binary, installing if needed" -f +complete -c bun -n "__fish_use_subcommand" -a "outdated" -d "Display the latest versions of outdated dependencies" -f diff --git a/config/fish/functions/clean.fish b/config/fish/functions/clean.fish index c71a3f54..8668ba92 100644 --- a/config/fish/functions/clean.fish +++ b/config/fish/functions/clean.fish @@ -1,6 +1,12 @@ function clean sudo paccache -rk1 sudo paccache -ruk0 + paru -Scca --noconfirm + cargo cache -a + yarn cache clean + pnpm store prune + pip cache purge + start snapper-cleanup.service sudo systemctl status snapper-cleanup.service duf end diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 8e7f0b74..b11fbc1b 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -44,8 +44,8 @@ exec-once = ags exec-once = easyeffects --gapplication-service exec-once = hypridle exec-once = hyprpaper -exec-once = microsoft-edge-beta -exec-once = safeeyes -e +exec-once = sleep 3; brave-beta +exec-once = sleep 5; safeeyes -e exec-once = wl-clip-persist --clipboard regular exec-once = wl-paste --watch cliphist store exec-once = xhost si:localuser:root @@ -66,6 +66,7 @@ windowrule = fullscreen, wlogout windowrule = float, title:wlogout windowrule = fullscreen, title:wlogout windowrulev2 = float,class:quake +windowrulev2 = fullscreen,class:RetroArch windowrulev2 = center,class:quake windowrulev2 = dimaround,class:quake windowrulev2 = noanim,class:quake @@ -77,8 +78,8 @@ windowrulev2 = noanim, class:^(ueberzug.*)$ windowrulev2 = noborder, class:^(ueberzug.*)$ windowrulev2 = noshadow, class:^(ueberzug.*)$ # Fix Edge preview windows -windowrulev2 = float,class:^$,title:^$ -windowrulev2 = noinitialfocus,class:^$,title:^$ +#windowrulev2 = float,class:^$,title:^$ +#windowrulev2 = noinitialfocus,class:^$,title:^$ ### Keybindings ### diff --git a/config/hypr/scripts/quake b/config/hypr/scripts/quake index ebd66b1c..8374033b 100755 --- a/config/hypr/scripts/quake +++ b/config/hypr/scripts/quake @@ -14,29 +14,29 @@ TERM_CMD="wezterm --config window_background_opacity=0.9 start --class quake" echo "WORKSPACE: $WORKSPACE" if [ -z "$WORKSPACE" ]; then - echo "start" - # hyprctl dispatch -- exec "[float;size 1600 1000;center] $TERM_CMD" - hyprctl dispatch -- exec "$TERM_CMD" + echo "start" + # hyprctl dispatch -- exec "[float;size 1600 1000;center] $TERM_CMD" + hyprctl dispatch -- exec "$TERM_CMD" elif [ "$WORKSPACE" == "special:quake" ]; then - echo "show" + echo "show" - # Store the current active window address - hyprctl activewindow | head -n1 | cut -f2 -d ' ' >/tmp/hypr-quake-address + # Store the current active window address + hyprctl activewindow | head -n1 | cut -f2 -d ' ' >/tmp/hypr-quake-address - # If the current active window is fullscreen, unfullscreen it - hyprctl activewindow | rg "fullscreen: 1" && hyprctl dispatch fullscreen + # If the current active window is fullscreen, unfullscreen it + hyprctl activewindow | rg "fullscreen: 1" && hyprctl dispatch fullscreenstate 0 0 - # Move the quake window to the current workspace, focus it, and bring it to the top - hyprctl dispatch movetoworkspacesilent "+0,^(quake)\$" - hyprctl dispatch focuswindow "^(quake)\$" - hyprctl dispatch bringactivetotop + # Move the quake window to the current workspace, focus it, and bring it to the top + hyprctl dispatch movetoworkspacesilent "+0,^(quake)\$" + hyprctl dispatch focuswindow "^(quake)\$" + hyprctl dispatch bringactivetotop else - echo "hide" + echo "hide" - # Move the quake window to the special workspace - hyprctl dispatch movetoworkspacesilent "special:quake,^(quake)\$" + # Move the quake window to the special workspace + hyprctl dispatch movetoworkspacesilent "special:quake,^(quake)\$" - # Focus the previously active window and bring it to the top - hyprctl dispatch focuswindow "address:0x$(cat /tmp/hypr-quake-address)" - hyprctl dispatch bringactivetotop + # Focus the previously active window and bring it to the top + hyprctl dispatch focuswindow "address:0x$(cat /tmp/hypr-quake-address)" + hyprctl dispatch bringactivetotop fi diff --git a/pacman.txt b/pacman.txt index 2c1ac21d..6f5bf81f 100644 --- a/pacman.txt +++ b/pacman.txt @@ -4,7 +4,6 @@ act adobe-source-han-sans-cn-fonts adobe-source-han-sans-jp-fonts adobe-source-han-sans-kr-fonts -adw-gtk3 adwaita-icon-theme aerc alacritty @@ -49,20 +48,17 @@ btrfs-assistant btrfs-progs bun-bin caddy -calcure calf cantarell-fonts catch2 -catppuccin-gtk-theme-latte cava -chafa-git +chafa chkservice chromium circumflex-bin clang cliphist clipman -contour cool-retro-term cowfortune cowsay @@ -97,6 +93,7 @@ efibootmgr efitools egl-wayland element-desktop +emulationstation-de eog erdtree esptool @@ -107,7 +104,7 @@ exfatprogs eza f2fs-tools fakeroot -fastfetch-git +fastfetch fd ffmpegthumbnailer file @@ -130,7 +127,6 @@ fswatch fwupd gammastep gawk -gbar-git gcc gdm gdm-settings @@ -191,7 +187,6 @@ hdparm helix helixbinhx hexer -hexxy-git hexyl himalaya howdy-beta-git @@ -205,11 +200,11 @@ hwinfo hyperfine hypridle hyprland -hyprlock-git +hyprlock hyprpaper hyprpicker hyprshade-git -hyprutils-git +hyprutils imv inetutils intel-gpu-tools @@ -225,6 +220,7 @@ java-openjfx-bin jekyll jfsutils jq +julia just kakoune kernel-install-for-dracut @@ -250,7 +246,7 @@ libva-utils libwnck3 linux linux-apfs-rw-dkms-git -linux-enable-ir-emitter-git +linux-enable-ir-emitter linux-firmware linux-headers linux-lts @@ -281,8 +277,6 @@ mdadm mdcat meld mesa-utils -microsoft-edge-beta-bin -microsoft-edge-dev-bin mise-bin mission-center mitogen @@ -315,10 +309,8 @@ networkmanager-openconnect networkmanager-openvpn nfs-utils nilfs-utils -nitch nmap nodejs-lts-hydrogen -notion-app noto-fonts noto-fonts-emoji nss-mdns @@ -326,12 +318,13 @@ ntfs-3g ntp numbat-bin nushell -nwg-dock-hyprland-bin nwg-look nwg-panel +obsidian omnisharp-roslyn-bin onefetch ookla-speedtest-bin +opencl-nvidia otf-cascadia-code ov-bin p7zip @@ -371,7 +364,8 @@ python python-capng python-croniter python-defusedxml -python-dlib-git +python-dlib +python-html2text python-msgpack python-openslide python-packaging @@ -379,6 +373,7 @@ python-pipx python-poetry python-pyqt5 python-reportlab +python-tinytuya qt5-wayland qt6-wayland ranger @@ -387,9 +382,12 @@ rebuild-detector recyclarr reflector reiserfsprogs +retroarch +retroarch-assets-glui +retroarch-assets-ozone +retroarch-assets-xmb ripgrep rizin -rofi-lbonn-wayland-git rofimoji rsync rtkit @@ -400,7 +398,7 @@ rustup rz-cutter s-nail s-tui -safeeyes-git +safeeyes scrounge-ntfs seahorse sed @@ -430,6 +428,7 @@ sway-audio-idle-inhibit-git swayidle swaylock-effects-git sysfsutils +sysstat system-config-printer systemd-sysvcompat tealdeer @@ -474,7 +473,6 @@ virt-manager visual-studio-code-bin viu vlc -warpd-git watchexec waybar wayshot