Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Sep 3, 2024
1 parent 13b8ed8 commit 39602b7
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 47 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/web/templates/app.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
2 changes: 1 addition & 1 deletion config/ags/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
]),
},
},
Expand Down
2 changes: 1 addition & 1 deletion config/aria2/aria2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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##

Expand Down
2 changes: 1 addition & 1 deletion config/fastfetch/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"display": {
"separator": "",
"keyWidth": 15,
"key": { "width": 15 },
},
"modules": [
{
Expand Down
3 changes: 2 additions & 1 deletion config/fish/completions/bun.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions config/fish/functions/clean.fish
Original file line number Diff line number Diff line change
@@ -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
9 changes: 5 additions & 4 deletions config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 ###
Expand Down
36 changes: 18 additions & 18 deletions config/hypr/scripts/quake
Original file line number Diff line number Diff line change
Expand Up @@ -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
38 changes: 18 additions & 20 deletions pacman.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -97,6 +93,7 @@ efibootmgr
efitools
egl-wayland
element-desktop
emulationstation-de
eog
erdtree
esptool
Expand All @@ -107,7 +104,7 @@ exfatprogs
eza
f2fs-tools
fakeroot
fastfetch-git
fastfetch
fd
ffmpegthumbnailer
file
Expand All @@ -130,7 +127,6 @@ fswatch
fwupd
gammastep
gawk
gbar-git
gcc
gdm
gdm-settings
Expand Down Expand Up @@ -191,7 +187,6 @@ hdparm
helix
helixbinhx
hexer
hexxy-git
hexyl
himalaya
howdy-beta-git
Expand All @@ -205,11 +200,11 @@ hwinfo
hyperfine
hypridle
hyprland
hyprlock-git
hyprlock
hyprpaper
hyprpicker
hyprshade-git
hyprutils-git
hyprutils
imv
inetutils
intel-gpu-tools
Expand All @@ -225,6 +220,7 @@ java-openjfx-bin
jekyll
jfsutils
jq
julia
just
kakoune
kernel-install-for-dracut
Expand All @@ -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
Expand Down Expand Up @@ -281,8 +277,6 @@ mdadm
mdcat
meld
mesa-utils
microsoft-edge-beta-bin
microsoft-edge-dev-bin
mise-bin
mission-center
mitogen
Expand Down Expand Up @@ -315,23 +309,22 @@ networkmanager-openconnect
networkmanager-openvpn
nfs-utils
nilfs-utils
nitch
nmap
nodejs-lts-hydrogen
notion-app
noto-fonts
noto-fonts-emoji
nss-mdns
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
Expand Down Expand Up @@ -371,14 +364,16 @@ python
python-capng
python-croniter
python-defusedxml
python-dlib-git
python-dlib
python-html2text
python-msgpack
python-openslide
python-packaging
python-pipx
python-poetry
python-pyqt5
python-reportlab
python-tinytuya
qt5-wayland
qt6-wayland
ranger
Expand All @@ -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
Expand All @@ -400,7 +398,7 @@ rustup
rz-cutter
s-nail
s-tui
safeeyes-git
safeeyes
scrounge-ntfs
seahorse
sed
Expand Down Expand Up @@ -430,6 +428,7 @@ sway-audio-idle-inhibit-git
swayidle
swaylock-effects-git
sysfsutils
sysstat
system-config-printer
systemd-sysvcompat
tealdeer
Expand Down Expand Up @@ -474,7 +473,6 @@ virt-manager
visual-studio-code-bin
viu
vlc
warpd-git
watchexec
waybar
wayshot
Expand Down

0 comments on commit 39602b7

Please sign in to comment.