custom-hypr - modifier form

This commit is contained in:
huyjaky
2024-10-22 08:41:42 +07:00
parent 39467b1bbe
commit 3655aef8e9
61 changed files with 4559 additions and 158 deletions

4
.config/hyprV1/env.conf Normal file
View File

@@ -0,0 +1,4 @@
# You can put extra environment variables here
# https://wiki.hyprland.org/Configuring/Environment-variables/
#

View File

@@ -0,0 +1,4 @@
# You can make apps auto-start here
# Relevant Hyprland wiki section: https://wiki.hyprland.org/Configuring/Keywords/#executing
#
exec-once = corectrl

View File

@@ -0,0 +1,77 @@
# Put general config stuff here
# Here's a list of every variable: https://wiki.hyprland.org/Configuring/Variables/
monitor = DP-1, highres, 0x0, 1
monitor = HDMI-A-1, highres, 1920x0, 1
decoration {
blur {
enabled = false
}
drop_shadow = false
}
input {
kb_layout = us
kb_variant = ,qwerty
# kb_options = grp:alt_shift_toggle
kb_options = grp:win_space_toggle
repeat_delay = 155
repeat_rate = 55
}
general {
# Gaps and border
gaps_in = 4
gaps_out = 4
border_size = 6
# Fallback colors
col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) rgb(24C6DC) rgb(93EDC7) 45deg
col.inactive_border = rgba(12131CFF)
# Functionality
# resize_on_border = true
layout = master
}
dwindle {
preserve_split = true # you probably want this
#no_gaps_when_only = true
smart_resizing = false
}
misc {
background_color = rgba(12131CFF)
vfr = true
}
plugin {
hyprbars {
# Honestly idk if it works like css, but well, why not
bar_text_font = VictorMono NF SemiBold Italic
bar_text_size = 18
bar_height = 30
bar_padding = 10
bar_button_padding = 15
bar_precedence_over_border = false
bar_part_of_window = false
bar_color = rgba(12131CFF)
col.text = rgba(E2E1EFFF)
# example buttons (R -> L)
# hyprbars-button = color, size, on-click
hyprbars-button = rgba(12131CFF), 25, 󰖭, hyprctl dispatch killactive
hyprbars-button = rgba(12131CFF), 25,  , hyprctl
hyprbars-button = rgba(12131CFF), 25, , hyprctl
hyprbars-button = rgba(12131CFF), 25, , hyprctl
hyprbars-button = rgba(12131CFF), 25, , hyprctl
hyprbars-button = rgba(12131CFF), 25, , hyprctl
hyprbars-button = rgba(12131CFF), 25, , hyprctl
hyprbars-button = rgba(12131CFF), 25, , hyprctl
}
}

View File

@@ -0,0 +1,66 @@
# You can put your preferred keybinds here
# https://wiki.hyprland.org/Configuring/Binds/
unbind = Super, W
unbind = Super, T
unbind = Alt, E
# disbale side
unbind = Super, B
unbind = Super, M
unbind = Super, N
unbind = Super, E
# monve workspace
unbind = Super, H
unbind = Super, J
unbind = Super, K
unbind = Super, L
# move windown
bind = Alt, H, fullscreenstate, 0 # [hidden]
bind = Alt, H, movefocus, l # [hidden]
bind = Alt, L, fullscreenstate, 0 # [hidden]
bind = Alt, L, movefocus, r # [hidden]
bind = Alt, K, fullscreenstate, 0 # [hidden]
bind = Alt, K, movefocus, u # [hidden]
bind = Alt, J, fullscreenstate, 0 # [hidden]
bind = Alt, J, movefocus, d # [hidden]
##! Window arrangement
#/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction
bind = Ctrl+Alt, H, fullscreenstate, 0 # [hidden]
bind = Ctrl+Alt, H, movewindow, l # [hidden]
bind = Ctrl+Alt, L, fullscreenstate, 0 # [hidden]
bind = Ctrl+Alt, L, movewindow, r # [hidden]
bind = Ctrl+Alt, K, movewindow, u # [hidden]
bind = Ctrl+Alt, J, movewindow, d # [hidden]
bind = Ctrl+Alt, M, exec, pavucontrol # Launch pavucontrol (volume mixer)
bind = Alt, Q, killactive,
bind = Alt, F, fullscreen, 1
bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets
bind = Alt, E, exec, nautilus --new-window # Launch Nautilus (file manager)
bind = Alt, M, exec, ags run-js 'openMusicControls.value = (!mpris.getPlayer() ? false : !openMusicControls.value);' # Toggle music controls
bind = Alt, N, exec, ags -t 'sideright' # Toggle right sidebar
bind = Alt, T, exec, kitty
bind = Alt, B, exec, brave
bind = Alt, O, exec, obsidian --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
bind = Alt, V, exec, vesktop --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
# bind = Ctrl+Super+Shift, Right, movetoworkspace, +1 # [hidden]
bind = Shift+Alt, L, focusmonitor, 1
bind = Shift+Alt, H, focusmonitor, 0
bindl= Super, H, exec, playerctl previous # Previous track
bindl= Super, L, exec, playerctl play-pause # Play/pause media
bindl= Super, K, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"` # Next track

View File

@@ -0,0 +1,9 @@
# You can put custom rules here
# Window/layer rules: https://wiki.hyprland.org/Configuring/Window-Rules/
# Workspace rules: https://wiki.hyprland.org/Configuring/Workspace-Rules/
#
windowrulev2 = bordercolor rgb(c21500) rgb(d53369) rgb(F2994A) rgb(F2C94C) 45deg,fullscreen:1
# windowrulev2 = nofocus, ^(Ibus-ui-gtk3)$
# windowrulev2 = nofocus, ^(Ibus-ui-gtk5)$
# windowrulev2 = nofocus, ^(Ibus-ui-gtk4)$
# windowrulev2=nofocus,ibus-ui