hyprland 0.5.1 update

This commit is contained in:
mal0
2026-01-04 21:03:17 -05:00
parent 3bdebf987d
commit a1edbad696
3 changed files with 38 additions and 36 deletions
+25 -29
View File
@@ -1,6 +1,4 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1920x1080@60,0x0,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = waybar & nm-applet & dunst & hyprpaper & hypridle
@@ -14,8 +12,13 @@ $apps = ~/.config/rofi/apps/apps.sh
$powermenu = ~/.config/rofi/rofipowermenu/powermenu.sh
$screenshot =grim -g "$(slurp)" $HOME/screenshots/$(date +'%Y-%m-%d-%H%M%S').png
# Some default env vars.
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
#theme
exec-once= gsettings set org.gnome.desktop.interface gtk-theme "catppuccin-mocha-blue-standard+default" # for GTK3 apps
exec-once= gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
exec-once= gsettings set org.gnome.desktop.interface icon-theme 'candy-icons'
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
#mice
env = HYPRCURSONR_SIZE,24
env = HYPRCURSONR_THEME=Adwaita
@@ -43,22 +46,18 @@ input {
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 4
gaps_out = 12
gaps_in = 3
gaps_out = 11
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
blur {
enabled = true
@@ -66,7 +65,7 @@ decoration {
passes = 1
}
}
layerrule = blur,waybar
layerrule = blur on, match:namespace waybar
animations {
enabled = yes
@@ -100,15 +99,12 @@ device {
sensitivity = -0.5
}
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = stayfocused, title:^(.*Rofi.*)$
windowrulev2 = forcergbx, class:^(soffice)$, floating:1
windowrulev2 = forcergbx, class:^(.*)$, floating:1 # disable treansparency in floating
windowrule = suppress_event maximize, match:class .* # You'll probably like this.
windowrule = stay_focused on, match:title ^(.*Rofi.*)$
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, R, exec, $terminal
bind = $mainMod, T, exec, alacritty
bind = $mainMod, W, exec, firefox
@@ -178,19 +174,19 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
# My windows #
##############
windowrulev2 = workspace 1,class:^(kitty)$
windowrulev2 = workspace 1,class:^(alacritty)$
windowrulev2 = workspace 2,class:^(org.mozilla.firefox)$
windowrulev2 = workspace 3,class:^(nemo)$
windowrulev2 = workspace 7,class:^(org.mozilla.thunderbird)$
windowrulev2 = workspace 5,class:^(org.gnome.Evince)$
windowrulev2 = workspace 5,class:^(discord)$
windowrulev2 = workspace 4,title:^(VSCodium)$
windowrulev2 = workspace 4,title:^(RStudio)$
windowrulev2 = workspace 4,class:^(jetbrains-idea-ce)$
windowrulev2 = workspace 8,class:^(obsidian)$
windowrulev2 = workspace 8,title:^(Jellyfin Media Player)$
windowrulev2 = workspace 9,class:^(Virt-manager)$
windowrule = workspace 1, match:class ^(kitty)$
windowrule = workspace 1, match:class ^(alacritty)$
windowrule = workspace 2, match:class ^(org.mozilla.firefox)$
windowrule = workspace 3, match:class ^(nemo)$
windowrule = workspace 7, match:class ^(org.mozilla.thunderbird)$
windowrule = workspace 5, match:class ^(org.gnome.Evince)$
windowrule = workspace 5, match:class ^(discord)$
windowrule = workspace 4, match:title ^(VSCodium)$
windowrule = workspace 4, match:title ^(RStudio)$
windowrule = workspace 4, match:class ^(jetbrains-idea-ce)$
windowrule = workspace 8, match:class ^(obsidian)$
windowrule = workspace 8, match:title ^(Jellyfin Media Player)$
windowrule = workspace 9, match:class ^(Virt-manager)$
# Example special workspace (scratchpad)
+6 -3
View File
@@ -1,7 +1,10 @@
preload= /home/mal0/photos/wallhaven-85poqj.jpg
wallpaper = eDP-1,/home/mal0/photos/wallhaven-85poqj.jpg
#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used
wallpaper {
monitor = eDP-1
path = /home/mal0/photos/wallhaven-85poqj.jpg
fit_mode = cover
}
#enable splash text rendering over the wallpaper
splash = false
+8 -5
View File
@@ -1,8 +1,11 @@
#!/bin/bash
if [[ -z $(pgrep gnome-calendar) ]]; then
gnome-calendar
else
pkill gnome-calendar
if hyprctl clients | grep -q "chrome-calendar.google.com__calendar_u_0_r-Profile_1"; then
# Get the PID and kill it
pid=$(hyprctl clients | grep -A 20 "chrome-calendar.google.com__calendar_u_0_r-Profile_1" | grep "pid:" | awk '{print $2}')
if [[ -n $pid ]]; then
kill $pid
fi
else
chromium-browser --profile-directory="Profile 1" --app=https://calendar.google.com/calendar/u/0/r &
fi