custom-hypr - archive 2

This commit is contained in:
huyjaky
2024-08-11 16:04:56 +07:00
parent 4c0492936b
commit 0946183f4a
4 changed files with 42 additions and 5 deletions

View File

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

View File

@@ -4,6 +4,12 @@
monitor = DP-1, highres, 0x0, 1 monitor = DP-1, highres, 0x0, 1
monitor = HDMI-A-1, highres, 1920x0, 1 monitor = HDMI-A-1, highres, 1920x0, 1
decoration {
blur {
enabled = false
}
drop_shadow = false
}
input { input {
repeat_delay = 180 repeat_delay = 180
@@ -15,15 +21,15 @@ general {
# Gaps and border # Gaps and border
gaps_in = 4 gaps_in = 4
gaps_out = 4 gaps_out = 4
border_size = 4 border_size = 6
# Fallback colors # Fallback colors
col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) 45deg col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) rgb(24C6DC) rgb(93EDC7) 45deg
col.inactive_border = rgba(04404aaa) col.inactive_border = rgba(12131CFF)
# Functionality # Functionality
# resize_on_border = true # resize_on_border = true
layout = dwindle layout = master
} }
dwindle { dwindle {
@@ -35,6 +41,7 @@ dwindle {
misc { misc {
background_color = rgba(12131CFF) background_color = rgba(12131CFF)
vfr = true
} }
plugin { plugin {

View File

@@ -1,6 +1,20 @@
# You can put your preferred keybinds here # You can put your preferred keybinds here
# https://wiki.hyprland.org/Configuring/Binds/ # https://wiki.hyprland.org/Configuring/Binds/
unbind = Super, W
unbind = Super, T
# disbale side
unbind = Super, B
unbind = Super, M
unbind = Super, N
# monve workspace
unbind = Super, H
unbind = Super, J
unbind = Super, K
unbind = Super, L
bind = Alt, H, movefocus, l # [hidden] bind = Alt, H, movefocus, l # [hidden]
bind = Alt, L, movefocus, r # [hidden] bind = Alt, L, movefocus, r # [hidden]
bind = Alt, K, movefocus, u # [hidden] bind = Alt, K, movefocus, u # [hidden]
@@ -11,7 +25,20 @@ bind = Alt, O, killactive,
bind = Alt, F, fullscreen, 1 bind = Alt, F, fullscreen, 1
bind = Alt, Q, killactive, bind = Alt, Q, killactive,
bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets
bind = Alt, E, exec, ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);' # View color scheme and options bind = Alt, E, exec, ags run-js 'openColorScheme.value = true; Utils.timeout(5000, () => openColorScheme.value = false);' # View color scheme and options
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 = Super, T, exec, kitty
bind = Super, W, exec, brave
bind = Super, L, workspace, +1 # [hidden]
bind = Super, H, workspace, -1 # [hidden]
bindl= Super, J, exec, playerctl previous # Previous track
bindl= Super, P, 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
##! Window arrangement ##! Window arrangement
#/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction #/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction

View File

@@ -1,3 +1,5 @@
# You can put custom rules here # You can put custom rules here
# Window/layer rules: https://wiki.hyprland.org/Configuring/Window-Rules/ # Window/layer rules: https://wiki.hyprland.org/Configuring/Window-Rules/
# Workspace rules: https://wiki.hyprland.org/Configuring/Workspace-Rules/ # Workspace rules: https://wiki.hyprland.org/Configuring/Workspace-Rules/
#
windowrulev2 = bordercolor rgb(c21500) rgb(d53369) 45deg,fullscreen:1