hyprland: sync

This commit is contained in:
end-4 2024-01-26 21:39:50 +07:00
parent e0b5f17f39
commit c2826d9eb3
4 changed files with 25 additions and 24 deletions

View file

@ -1,26 +1,26 @@
$SLURP_COMMAND="$(slurp -d -c f8daeeBB -b 55405044 -s 00000000)" $SLURP_COMMAND="$(slurp -d -c eedcf5BB -b 4f425644 -s 00000000)"
general { general {
col.active_border = rgba(551251FF) col.active_border = rgba(471868FF)
col.inactive_border = rgba(554050CC) col.inactive_border = rgba(4f4256CC)
} }
plugin { plugin {
droidbars { # This is my hyprbars mod that broke :( droidbars { # This is my hyprbars mod that broke :(
# example config # example config
bar_height = 30 bar_height = 30
background_color = rgba(120F11FF) background_color = rgba(111012FF)
# background_color_active = rgba(4e444bFF) # Not added yet # background_color_active = rgba(4b454dFF) # Not added yet
text_color = rgba(f8daeeFF) text_color = rgba(eedcf5FF)
font_family = Rubik, Geist, AR One Sans, Reddit Sans, Inter, Roboto, Ubuntu, Noto Sans, sans-serif font_family = Rubik, Geist, AR One Sans, Reddit Sans, Inter, Roboto, Ubuntu, Noto Sans, sans-serif
button_font_fmily = JetBrainsMono NF button_font_fmily = JetBrainsMono NF
# example buttons (R -> L) # example buttons (R -> L)
# droidbars-button = [0]isLeft(0/1), [1]color, [2]color2, [3]width, [4]height, [5]icon, [6]buttonType, [7]on-click # droidbars-button = [0]isLeft(0/1), [1]color, [2]color2, [3]width, [4]height, [5]icon, [6]buttonType, [7]on-click
droidbars-button = 0, rgba(f8daeeFF), rgba(ffabf1FF), 42, 16, 󰖭, normal, hyprctl dispatch killactive droidbars-button = 0, rgba(eedcf5FF), rgba(e4b5ffFF), 42, 16, 󰖭, normal, hyprctl dispatch killactive
droidbars-button = 0, rgba(f8daeeFF), rgba(ffabf1FF), 42, 16, , normal, hyprctl dispatch fullscreen 1 droidbars-button = 0, rgba(eedcf5FF), rgba(e4b5ffFF), 42, 16, , normal, hyprctl dispatch fullscreen 1
droidbars-button = 1, rgba(f8daeeFF), rgba(ffabf1FF), 16, 16,‎󰐃, pin, hyprctl dispatch pin droidbars-button = 1, rgba(eedcf5FF), rgba(e4b5ffFF), 16, 16,‎󰐃, pin, hyprctl dispatch pin
droidbars-button = 1, rgba(f8daeeFF), rgba(ffabf1FF), 16, 16,󰗘, float, hyprctl dispatch togglefloating droidbars-button = 1, rgba(eedcf5FF), rgba(e4b5ffFF), 16, 16,󰗘, float, hyprctl dispatch togglefloating
} }
hyprbars { hyprbars {
# Honestly idk if it works like css, but well, why not # Honestly idk if it works like css, but well, why not
@ -31,14 +31,14 @@ plugin {
bar_precedence_over_border = true bar_precedence_over_border = true
bar_part_of_window = true bar_part_of_window = true
bar_color = rgb(120F11) bar_color = rgb(111012)
col.text = rgb(eae0e4) col.text = rgb(e7e0e5)
# example buttons (R -> L) # example buttons (R -> L)
# hyprbars-button = color, size, on-click # hyprbars-button = color, size, on-click
hyprbars-button = rgb(eae0e4), 13, 󰖭, hyprctl dispatch killactive hyprbars-button = rgb(e7e0e5), 13, 󰖭, hyprctl dispatch killactive
hyprbars-button = rgb(eae0e4), 13, 󰖯, hyprctl dispatch fullscreen 1 hyprbars-button = rgb(e7e0e5), 13, 󰖯, hyprctl dispatch fullscreen 1
hyprbars-button = rgb(eae0e4), 13, 󰖰, hyprctl dispatch movetoworkspacesilent special hyprbars-button = rgb(e7e0e5), 13, 󰖰, hyprctl dispatch movetoworkspacesilent special
} }
} }

View file

@ -17,8 +17,8 @@ source=~/.config/hypr/execs.conf
input { input {
# Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut # Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
#kb_layout = us,vn kb_layout = us
#kb_options = grp:win_space_toggle # kb_options = grp:win_space_toggle
numlock_by_default = true numlock_by_default = true
repeat_delay = 250 repeat_delay = 250
repeat_rate = 35 repeat_rate = 35
@ -30,7 +30,8 @@ input {
scroll_factor = 0.5 scroll_factor = 0.5
} }
# special_fallthrough = true special_fallthrough = true
follow_mouse = 1
} }
binds { binds {
@ -90,7 +91,7 @@ decoration {
contrast = 1 contrast = 1
} }
# Shadow # Shadow
drop_shadow = true drop_shadow = false
shadow_ignore_window = true shadow_ignore_window = true
shadow_range = 20 shadow_range = 20
shadow_offset = 0 2 shadow_offset = 0 2
@ -136,11 +137,11 @@ animations {
misc { misc {
vfr = 1 vfr = 1
vrr = 1 vrr = 1
#layers_hog_mouse_focus = true # layers_hog_mouse_focus = true
focus_on_activate = true focus_on_activate = true
animate_manual_resizes = false animate_manual_resizes = false
animate_mouse_windowdragging = false animate_mouse_windowdragging = false
enable_swallow = true enable_swallow = false
swallow_regex = (foot|kitty|allacritty|Alacritty) swallow_regex = (foot|kitty|allacritty|Alacritty)
disable_hyprland_logo = true disable_hyprland_logo = true

View file

@ -2,7 +2,7 @@
# Volume # Volume
bindl = ,XF86AudioMute, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0% bindl = ,XF86AudioMute, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%
bindl = Super+Shift,M, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0% bindl = Super+Shift,M, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
# Brightness # Brightness
@ -19,7 +19,7 @@ bind = Super, T, exec, foot --override shell=fish
bind = Super, E, exec, nautilus --new-window bind = Super, E, exec, nautilus --new-window
bind = SuperAlt, E, exec, thunar bind = SuperAlt, E, exec, thunar
bind = Super, W, exec, firefox bind = Super, W, exec, firefox
bind = Control+Super, W, exec, thorium-browser --ignore-gpu-blocklist --ozone-platform-hint=wayland --gtk-version=4 --ignore-gpu-blocklist --enable-features=TouchpadOverscrollHistoryNavigation bind = Control+Super, W, exec, thorium-browser --ozone-platform-hint=wayland --gtk-version=4 --ignore-gpu-blocklist --enable-features=TouchpadOverscrollHistoryNavigation
bind = Control+Super+Alt, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --ozone-platform-hint=wayland --gtk-version=4 --ignore-gpu-blocklist --enable-features=TouchpadOverscrollHistoryNavigation bind = Control+Super+Alt, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --ozone-platform-hint=wayland --gtk-version=4 --ignore-gpu-blocklist --enable-features=TouchpadOverscrollHistoryNavigation
bind = Super, X, exec, gnome-text-editor --new-window bind = Super, X, exec, gnome-text-editor --new-window
bind = Super+Shift, W, exec, wps bind = Super+Shift, W, exec, wps

View file

@ -6,7 +6,7 @@ windowrule = float, ^(steam)$
windowrule = float, ^(guifetch)$ # FlafyDev/guifetch windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
windowrule = pin, ^(showmethekey-gtk)$ windowrule = pin, ^(showmethekey-gtk)$
windowrulev2 = tile,class:(wpsoffice) windowrulev2 = tile,class:(wpsoffice)
# Dialogs # Dialogs
windowrule=float,title:^(Open File)(.*)$ windowrule=float,title:^(Open File)(.*)$