diff --git a/application-files/imv.desktop b/application-files/imv.desktop new file mode 100644 index 0000000..6672481 --- /dev/null +++ b/application-files/imv.desktop @@ -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 diff --git a/application-files/signal-wayland.desktop b/application-files/signal-wayland.desktop new file mode 100644 index 0000000..9246977 --- /dev/null +++ b/application-files/signal-wayland.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Signal (Wayland) +Exec=signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland +Icon=signal-desktop diff --git a/hypr/conf.d/input.conf b/hypr/conf.d/input.conf index 4982dd2..f635ea4 100644 --- a/hypr/conf.d/input.conf +++ b/hypr/conf.d/input.conf @@ -16,6 +16,7 @@ input { touchpad { natural_scroll = true + scroll_factor = 0.5 } } diff --git a/hypr/conf.d/theme.conf b/hypr/conf.d/theme.conf index 0f771e2..666c8cc 100644 --- a/hypr/conf.d/theme.conf +++ b/hypr/conf.d/theme.conf @@ -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] +} diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 931209d..c1f57e6 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -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 ### ################### diff --git a/install.bash b/install.bash index 5c18324..dffba14 100644 --- a/install.bash +++ b/install.bash @@ -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