add .desktop files for signal and imv. Fix minor issues with blur

signal force wayland. imv make default app
This commit is contained in:
Alexander Bell 2025-05-13 03:39:13 +02:00
parent ab8517071e
commit 943b4819d7
6 changed files with 40 additions and 22 deletions

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=imv
Exec=imv -f %U
Type=Application
MimeType=image/png;image/jpeg;image/gif;image/bmp;image/webp;
Terminal=false

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Signal (Wayland)
Exec=signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland
Icon=signal-desktop

View File

@ -16,6 +16,7 @@ input {
touchpad {
natural_scroll = true
scroll_factor = 0.5
}
}

View File

@ -30,8 +30,8 @@ decoration {
rounding_power = 5
# Change transparency of focused and unfocused windows
active_opacity = 1
inactive_opacity = 1
active_opacity = 0.8
inactive_opacity = 0.8
shadow {
enabled = true
@ -42,9 +42,9 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = false
size = 10
passes = 1
enabled = true
size = 15
passes = 2
vibrancy = 0.1696
}
@ -80,4 +80,18 @@ animations {
animation = workspacesOut, 1, 1.94, almostLinear, fade
}
# "Smart gaps" / "No gaps when only"
windowrules {
# Make browser not blur and have no gap
windowrule = noblur, class:$browser
windowrule = opaque, class:$browser
# Make app tooltip and small windows opaque
windowrule = opaque, class=GtkMenu
windowrule = opaque, instance=gtk-tooltip
# Smart gaps
workspace = w[tv1], gapsout:6, gapsin:0
workspace = f[1], gapsout:6, gapsin:0
windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
windowrule = bordersize 0, floating:0, onworkspace:f[1]
}

View File

@ -53,18 +53,6 @@ windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Make browser not blur and have no gap
windowrule = noblur, class:$browser
#windowrule = opacity 1, class:$browser
# Smart gaps
workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
windowrule = rounding 0, floating:0, onworkspace:w[tv1]
windowrule = bordersize 0, floating:0, onworkspace:f[1]
windowrule = rounding 0, floating:0, onworkspace:f[1]
###################
### OTHER STUFF ###
###################

View File

@ -2,9 +2,13 @@
# Run as root
ln -s hypr ../.config/hypr
ln -s fastfetch ../.config/fastfetch
ln -s mimeapps.list ../.config/mimeapps.list
ln -s hypr ~/.config/hypr
ln -s fastfetch ~/.config/fastfetch
ln -s mimeapps.list ~/.config/mimeapps.list
# Move application .desktop files
# Desktop files are used to create recognizable applications or force apps to use wayland
mv application-files/* ~/.local/share/applications/
# Hyperland stuff
pacman -S uwsm hyprland xdg-desktop-portal-hyprland
@ -13,4 +17,4 @@ pacman -S uwsm hyprland xdg-desktop-portal-hyprland
pacman -S waybar dunst libnotify wofi pipewire brightnessctl man-db man-pages
# Other software
pacman -S btop neovim nano grim slurp dust fastfetch feh wl-clipboard
pacman -S btop neovim nano grim slurp dust fastfetch imv wl-clipboard