mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
feat: update hyprland, helix, bootloader and other configs
Changelog: - autostart: remove hypridle from autostart script - helix: add copilot LSP for Rust, JS/TS variants - hyprland: - Refactor window rules with regex patterns - Update brightness controls for intel_backlight - Adjust pyprland scratchpad configurations - bootloader: - Add i915 kernel modules - Disable initrd verbose logging - greetd: update tuigreet command to use uwsm - hyprland: enable hyprlock, hypridle services - linux-kernel: add security hardening params - ollama: add new LLM models (gemma3, deepcoder) - utils: add sqlx-cli and kitty - kitty: add config - virtualisation: - Add lima, nerdctl - vpn: - Enable mullvad VPN - Add mullvad and tor browsers - stylus-themes: update to latest
This commit is contained in:
@@ -164,24 +164,31 @@ device {
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
windowrule = opaque, brave
|
||||
windowrule = float, imv
|
||||
windowrule = opaque, imv
|
||||
windowrule = float, title:(Media viewer)
|
||||
windowrule = opaque, title:(Media viewer)
|
||||
windowrule = opaque, title:(YouTube Music)
|
||||
windowrule = opaque, title:(qutebrowser)
|
||||
windowrule = opaque, title:(Slack)
|
||||
windowrule = opaque, telegram
|
||||
windowrule = float, mpv
|
||||
windowrule = opaque, mpv
|
||||
windowrule = opaque, swappy
|
||||
windowrule = center 1, swappy
|
||||
windowrule = stayfocused, swappy
|
||||
# windowrule = size 50% 50%, mpv
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrule = float, title:.*mpv$
|
||||
windowrule = opaque, title:.*mpv$
|
||||
windowrule = size 50% 50%, title:.*mpv$
|
||||
windowrule = float, content:video
|
||||
windowrule = opaque, content:video
|
||||
windowrule = size 50% 50%, content:video
|
||||
|
||||
windowrule = float, title:.*imv.*
|
||||
windowrule = opaque, title:.*imv.*
|
||||
windowrule = size 70% 70%, title:.*imv.*
|
||||
windowrule = float, content:photo
|
||||
windowrule = opaque, content:photo
|
||||
windowrule = size 70% 70%, content:photo
|
||||
|
||||
windowrule = float, title:.*\.pdf$
|
||||
windowrule = opaque, title:.*\.pdf$
|
||||
windowrule = maximize, title:.*\.pdf$
|
||||
|
||||
windowrule = opaque, title:.*YouTube - Brave$
|
||||
|
||||
windowrule = opaque, title:swappy
|
||||
windowrule = center 1, title:swappy
|
||||
windowrule = stayfocused, title:swappy
|
||||
|
||||
windowrule = opaque, title:^TelegramDesktop$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
@@ -236,11 +243,11 @@ submap=reset
|
||||
|
||||
# Scrachpads
|
||||
bind = $mainMod CTRL, T, exec, pypr toggle term
|
||||
$dropterm = ^(wezterm_dropdown)$
|
||||
$dropterm = title:^wezterm_dropdown$
|
||||
windowrule = float, $dropterm
|
||||
|
||||
bind = $mainMod CTRL, V, exec, pypr toggle volume
|
||||
$volume_sidemenu = ^(pavucontrol)$
|
||||
$volume_sidemenu = title:^Volume Control$
|
||||
windowrule = float, $volume_sidemenu
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
@@ -294,8 +301,8 @@ bind = , XF86AudioLowerVolume, exec, volumectl -u down
|
||||
bind = , XF86AudioMute, exec, volumectl toggle-mute
|
||||
bind = , XF86AudioMicMute, exec, volumectl -m toggle-mute
|
||||
|
||||
bind = , XF86MonBrightnessUp, exec, lightctl up
|
||||
bind = , XF86MonBrightnessDown, exec, lightctl down
|
||||
bind = , XF86MonBrightnessUp, exec, lightctl -D intel_backlight up
|
||||
bind = , XF86MonBrightnessDown, exec, lightctl -D intel_backlight down
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
|
Reference in New Issue
Block a user