This commit is contained in:
2026-05-09 18:35:47 -04:00
parent 57240fc4d5
commit 4d67ecea82
5 changed files with 41 additions and 22 deletions

View File

@@ -44,7 +44,7 @@ workspace = 10, name:X
# Set programs that you use
$terminal = kitty
$fileManager = nemo
$menu = fuzzel
$menu = rofi -show drun
#################
@@ -74,15 +74,15 @@ $menu = fuzzel
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec = sleep 2 && hyprpm reload
exec = hyprpm reload
exec-once = systemctl --user restart hyprpolkitagent.service
exec = hyprpaper
exec-once = waybar
exec-once = waytrogen --restore
exec = pkill waybar; waybar
exec-once = nm-applet
exec = killall -9 hyprsunset && hyprsunset
exec-once = hyprsunset
exec-once = blueman-applet
exec-once = kdeconnect-indicator
exec-once = bash -c "source ~/.local/bin/riceman 2" # Sets system colorscheme to "4" (nord)
#exec-once = bash -c "source ~/.local/bin/riceman 1" # Sets system colorscheme to "4" (nord)
exec = setxkbmap us
exec = eww open dashboard
@@ -178,6 +178,10 @@ animations {
animation = workspacesOut, 1, 1.94, almostLinear, fade
}
general {
layout = dwindle
}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
@@ -189,6 +193,13 @@ animations {
# windowrule = rounding 0, floating:0, onworkspace:f[1]
#windowrule = plugin:hyprbars:bar_color rgba(2c2c2c55), floating:1
#windowrule = plugin:hyprbars:bar_color rgba(000000ff), fullscreen:1
windowrule = float on, match:class ^(xdg-desktop-portal-gtk)$
windowrule = center on, match:class ^(xdg-desktop-portal-gtk)$
windowrule = size 900 600, match:class ^(xdg-desktop-portal-gtk)$
windowrule = float on, match:class ^(io.github.alainm23.planify)$
windowrule = center on, match:class ^(io.github.alainm23.planify)$
windowrule = size 900 600, match:class ^(io.github.alainm23.planify)$
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
@@ -207,7 +218,6 @@ misc {
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
#############
### INPUT ###
#############
@@ -244,6 +254,10 @@ device {
sensitivity = -0.5
}
xwayland {
force_zero_scaling = false
}
###################
### KEYBINDINGS ###
###################
@@ -265,7 +279,7 @@ bind = $mainMod, Return, exec, $terminal
bind = $mainMod, L, exec, flatpak run io.gitlab.librewolf-community
bind = $mainMod, Q, killactive,
bind = SUPER_SHIFT, E, exec, nwg-bar
bind = $mainMod, F, fullscreen, 1
bind = $mainMod, F, fullscreen
bind = $mainMod SHIFT, Space, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, O, exec, flatpak run md.obsidian.Obsidian
@@ -289,16 +303,16 @@ bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
# Move windows
bind = $mainMod SHIFT, up, movewindow, u
@@ -345,7 +359,7 @@ submap = reset
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1

View File

@@ -1 +1 @@
/home/lw/.config/hypr/monitors_laptop.conf
monitors_school.conf

3
monitors_school.conf Normal file
View File

@@ -0,0 +1,3 @@
# Generated by nwg-displays on 2026-03-20 at 09:38:04. Do not edit manually.
monitor=eDP-1,2880x1920@120.0,0x0,1.67

View File

@@ -1,9 +1,11 @@
#!/bin/sh
if [ "$1" = "d" ]; then
ln -svf ~/.config/hypr/monitors_desktop.conf ~/.config/hypr/monitors.conf
ln -svf ~/.config/hypr/monitors_desktop.conf ~/.config/hypr/monitors.conf
elif [ "$1" = "l" ]; then
ln -svf ~/.config/hypr/monitors_laptop.conf ~/.config/hypr/monitors.conf
ln -svf ~/.config/hypr/monitors_laptop.conf ~/.config/hypr/monitors.conf
elif [ "$1" = "a" ]; then
ln -svf ~/.config/hypr/monitors_school.conf ~/.config/hypr/monitors.conf
fi
hyprctl reload

0
workspaces.conf Normal file
View File