hyprland: don't enable the package in home-manager

This commit is contained in:
Alexandre Cavalheiro 2024-08-10 17:20:17 -03:00
parent c9db3bfeae
commit 0dd5d766fe
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -1,276 +1,276 @@
{ {
wayland.windowManager.hyprland = { xdg.configFile."hypr/hyprland.conf".text = # hyprlang
enable = true; ''
# Catppuccin Macchiato - https://github.com/catppuccin/hyprland
$rosewaterAlpha = rgb(f4dbd6)
$flamingoAlpha = rgb(f0c6c6)
$pinkAlpha = rgb(f5bde6)
$mauveAlpha = rgb(c6a0f6)
$redAlpha = rgb(ed8796)
$maroonAlpha = rgb(ee99a0)
$peachAlpha = rgb(f5a97f)
$yellowAlpha = rgb(eed49f)
$greenAlpha = rgb(a6da95)
$tealAlpha = rgb(8bd5ca)
$skyAlpha = rgb(91d7e3)
$sapphireAlpha = rgb(7dc4e4)
$blueAlpha = rgb(8aadf4)
$lavenderAlpha = rgb(b7bdf8)
extraConfig = # hyprlang $textAlpha = rgb(cad3f5)
'' $subtext1Alpha = rgb(b8c0e0)
# Catppuccin Macchiato - https://github.com/catppuccin/hyprland $subtext0Alpha = rgb(a5adcb)
$rosewaterAlpha = rgb(f4dbd6)
$flamingoAlpha = rgb(f0c6c6)
$pinkAlpha = rgb(f5bde6)
$mauveAlpha = rgb(c6a0f6)
$redAlpha = rgb(ed8796)
$maroonAlpha = rgb(ee99a0)
$peachAlpha = rgb(f5a97f)
$yellowAlpha = rgb(eed49f)
$greenAlpha = rgb(a6da95)
$tealAlpha = rgb(8bd5ca)
$skyAlpha = rgb(91d7e3)
$sapphireAlpha = rgb(7dc4e4)
$blueAlpha = rgb(8aadf4)
$lavenderAlpha = rgb(b7bdf8)
$textAlpha = rgb(cad3f5) $overlay2Alpha = rgb(939ab7)
$subtext1Alpha = rgb(b8c0e0) $overlay1Alpha = rgb(8087a2)
$subtext0Alpha = rgb(a5adcb) $overlay0Alpha = rgb(6e738d)
$overlay2Alpha = rgb(939ab7) $surface2Alpha = rgb(5b6078)
$overlay1Alpha = rgb(8087a2) $surface1Alpha = rgb(494d64)
$overlay0Alpha = rgb(6e738d) $surface0Alpha = rgb(363a4f)
$surface2Alpha = rgb(5b6078) $baseAlpha = rgb(24273a)
$surface1Alpha = rgb(494d64) $mantleAlpha = rgb(1e2030)
$surface0Alpha = rgb(363a4f) $crustAlpha = rgb(181926)
$baseAlpha = rgb(24273a) $rosewater = 0xfff5e0dc
$mantleAlpha = rgb(1e2030) $flamingo = 0xfff2cdcd
$crustAlpha = rgb(181926) $pink = 0xfff5c2e7
$mauve = 0xffcba6f7
$red = 0xfff38ba8
$maroon = 0xffeba0ac
$peach = 0xfffab387
$yellow = 0xfff9e2af
$green = 0xffa6e3a1
$teal = 0xff94e2d5
$sky = 0xff89dceb
$sapphire = 0xff74c7ec
$blue = 0xff89b4fa
$lavender = 0xffb4befe
$rosewater = 0xfff5e0dc $text = 0xffcdd6f4
$flamingo = 0xfff2cdcd $subtext1 = 0xffbac2de
$pink = 0xfff5c2e7 $subtext0 = 0xffa6adc8
$mauve = 0xffcba6f7
$red = 0xfff38ba8
$maroon = 0xffeba0ac
$peach = 0xfffab387
$yellow = 0xfff9e2af
$green = 0xffa6e3a1
$teal = 0xff94e2d5
$sky = 0xff89dceb
$sapphire = 0xff74c7ec
$blue = 0xff89b4fa
$lavender = 0xffb4befe
$text = 0xffcdd6f4 $overlay2 = 0xff9399b2
$subtext1 = 0xffbac2de $overlay1 = 0xff7f849c
$subtext0 = 0xffa6adc8 $overlay0 = 0xff6c7086
$overlay2 = 0xff9399b2 $surface2 = 0xff585b70
$overlay1 = 0xff7f849c $surface1 = 0xff45475a
$overlay0 = 0xff6c7086 $surface0 = 0xff313244
$surface2 = 0xff585b70 $base = 0xff1e1e2e
$surface1 = 0xff45475a $mantle = 0xff181825
$surface0 = 0xff313244 $crust = 0xff11111b
$base = 0xff1e1e2e #
$mantle = 0xff181825 # Please note not all available settings / options are set here.
$crust = 0xff11111b # For a full list, see the wiki
#
# autogenerated = 0 # remove this line to remove the warning
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
autogenerated = 0 # remove this line to remove the warning # See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-3, 1920x1080@75, 2560x0, 1
monitor = DP-2, 2560x1440@165, 0x0, 1
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = DP-3, 1920x1080@75, 2560x0, 1, bitdepth, 10
monitor = DP-2, 2560x1440@165, 0x0, 1, bitdepth, 10
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # Inject home-manager session variables
exec-once = /etc/profiles/per-user/wizardlink/etc/profile.d/hm-session-vars.sh
# Inject home-manager session variables # Execute your favorite apps at launch
exec-once = /etc/profiles/per-user/wizardlink/etc/profile.d/hm-session-vars.sh exec-once = ~/.local/share/scripts/hyprland/start_services.sh
# Execute your favorite apps at launch # Set cursor size.
exec-once = ~/.local/share/scripts/hyprland/start_services.sh env = HYPRCURSOR_SIZE, 36
env = XCURSOR_SIZE, 36
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input { input {
kb_layout = us,br,jp kb_layout = us,br,jp
kb_variant = ,,kana86 kb_variant = ,,kana86
kb_model = kb_model =
kb_options = grp:alts_toggle kb_options = grp:alts_toggle
kb_rules = kb_rules =
follow_mouse = 1 follow_mouse = 1
float_switch_override_focus = 1 float_switch_override_focus = 1
accel_profile = flat accel_profile = flat
force_no_accel = true force_no_accel = true
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
tablet { tablet {
output = DP-2 output = DP-2
} }
} }
general { general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 6 gaps_in = 6
gaps_out = 18 gaps_out = 18
border_size = 2 border_size = 2
col.active_border = $base $surface0 $green 45deg col.active_border = $base $surface0 $green 45deg
col.inactive_border = $base $surface0 $blue 45deg col.inactive_border = $base $surface0 $blue 45deg
layout = dwindle layout = dwindle
} }
decoration { decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 8 rounding = 8
# FIXME: Check these deprecations. # FIXME: Check these deprecations.
#blur = yes #blur = yes
#blur_size = 3 #blur_size = 3
#blur_passes = 1 #blur_passes = 1
#blur_new_optimizations = on #blur_new_optimizations = on
drop_shadow = yes drop_shadow = yes
shadow_range = 4 shadow_range = 4
shadow_render_power = 3 shadow_render_power = 3
col.shadow = $crust col.shadow = $crust
} }
animations { animations {
enabled = yes enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80% animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default animation = border, 1, 10, default
animation = borderangle, 1, 8, default animation = borderangle, 1, 8, default
animation = fade, 1, 7, default animation = fade, 1, 7, default
animation = workspaces, 1, 6, default animation = workspaces, 1, 6, default
} }
dwindle { dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this preserve_split = yes # you probably want this
} }
master { master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_status = slave new_status = slave
} }
gestures { gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off workspace_swipe = off
} }
# Example windowrule v1 # Example windowrule v1
# windowrule = float, ^(kitty)$ # windowrule = float, ^(kitty)$
# Example windowrule v2 # Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# Bind workspaces to specific monitors # Bind workspaces to specific monitors
workspace = 1, monitor:DP-2 workspace = 1, monitor:DP-2
workspace = 2, monitor:DP-3 workspace = 2, monitor:DP-3
workspace = 3, monitor:DP-2 workspace = 3, monitor:DP-2
workspace = 4, monitor:DP-3 workspace = 4, monitor:DP-3
workspace = 5, monitor:DP-2 workspace = 5, monitor:DP-2
workspace = 6, monitor:DP-3 workspace = 6, monitor:DP-3
workspace = 7, monitor:DP-2 workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-3 workspace = 8, monitor:DP-3
workspace = 9, monitor:DP-2 workspace = 9, monitor:DP-2
workspace = 0, monitor:DP-3 workspace = 0, monitor:DP-3
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod CTRL, F, fakefullscreen bind = $mainMod CTRL, F, fullscreenstate, -1 2
bind = $mainMod CTRL, L, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mainMod CTRL, L, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod CTRL, P, exec, ~/.local/share/scripts/hyprland/screenshot_area.sh bind = $mainMod CTRL, P, exec, ~/.local/share/scripts/hyprland/screenshot_area.sh
bind = $mainMod CTRL, V, pin bind = $mainMod CTRL, V, pin
bind = $mainMod SHIFT, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 1
bind = $mainMod SHIFT, P, exec, ~/.local/share/scripts/hyprland/screenshot.sh bind = $mainMod SHIFT, P, exec, ~/.local/share/scripts/hyprland/screenshot.sh
bind = $mainMod, C, killactive bind = $mainMod, C, killactive
bind = $mainMod, E, exec, thunar bind = $mainMod, E, exec, thunar
bind = $mainMod, F, fullscreen bind = $mainMod, F, fullscreen
bind = $mainMod, M, exit bind = $mainMod, M, exit
bind = $mainMod, O, togglesplit # dwindle bind = $mainMod, O, togglesplit # dwindle
bind = $mainMod, P, pseudo # dwindle bind = $mainMod, P, pseudo # dwindle
bind = $mainMod, Q, exec, alacritty bind = $mainMod, Q, exec, alacritty
bind = $mainMod, R, exec, rofi -show drun bind = $mainMod, R, exec, rofi -show drun
bind = $mainMod, V, togglefloating bind = $mainMod, V, togglefloating
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, H, movefocus, l bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d bind = $mainMod, J, movefocus, d
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4 bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 8, workspace, 8
#bind = $mainMod, 9, workspace, 9 #bind = $mainMod, 9, workspace, 9
#bind = $mainMod, 0, workspace, 10 #bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9] # Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Scroll through existing workspaces with mainMod + scroll # Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1 bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, L, movewindow, r
bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, J, movewindow, d bind = $mainMod SHIFT, J, movewindow, d
bind = $mainMod ALT, H, resizeactive, -5% 0 bind = $mainMod ALT, H, resizeactive, -5% 0
bind = $mainMod ALT, L, resizeactive, 5% 0 bind = $mainMod ALT, L, resizeactive, 5% 0
bind = $mainMod ALT, K, resizeactive, 0 -5% bind = $mainMod ALT, K, resizeactive, 0 -5%
bind = $mainMod ALT, J, resizeactive, 0 5% bind = $mainMod ALT, J, resizeactive, 0 5%
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
# Volume changes # Volume changes
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+ binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+
binde = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%- binde = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%-
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# Passthrough binds # Passthrough binds
bind = SHIFT CTRL, F12, pass, ^(com.obsproject.Studio)$ bind = SHIFT CTRL, F12, pass, ^(com.obsproject.Studio)$
# Window rules for xwaylandvideobridge # Window rules for xwaylandvideobridge
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
# Rules for windowkill # Rules for windowkill
windowrule = noborder, ^(steam_app_2726450)$ windowrule = noborder, ^(steam_app_2726450)$
windowrule = pin, ^(steam_app_2726450)$ windowrule = pin, ^(steam_app_2726450)$
windowrule = opacity 0.9, ^(steam_app_2726450)$ windowrule = opacity 0.9, ^(steam_app_2726450)$
''; '';
};
} }