From 0946183f4ab598006ba633135eaf43a414bb5a6e Mon Sep 17 00:00:00 2001 From: huyjaky Date: Sun, 11 Aug 2024 16:04:56 +0700 Subject: [PATCH] custom-hypr - archive 2 --- env.conf | 1 + general.conf | 15 +++++++++++---- keybinds.conf | 29 ++++++++++++++++++++++++++++- rules.conf | 2 ++ 4 files changed, 42 insertions(+), 5 deletions(-) diff --git a/env.conf b/env.conf index 000517f..3a1d830 100644 --- a/env.conf +++ b/env.conf @@ -1,3 +1,4 @@ # You can put extra environment variables here # https://wiki.hyprland.org/Configuring/Environment-variables/ # + diff --git a/general.conf b/general.conf index ff63cd4..3f06c00 100644 --- a/general.conf +++ b/general.conf @@ -4,6 +4,12 @@ monitor = DP-1, highres, 0x0, 1 monitor = HDMI-A-1, highres, 1920x0, 1 +decoration { + blur { + enabled = false + } + drop_shadow = false +} input { repeat_delay = 180 @@ -15,15 +21,15 @@ general { # Gaps and border gaps_in = 4 gaps_out = 4 - border_size = 4 + border_size = 6 # Fallback colors - col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) 45deg - col.inactive_border = rgba(04404aaa) + 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 = dwindle + layout = master } dwindle { @@ -35,6 +41,7 @@ dwindle { misc { background_color = rgba(12131CFF) + vfr = true } plugin { diff --git a/keybinds.conf b/keybinds.conf index 9640df0..ca1e11b 100644 --- a/keybinds.conf +++ b/keybinds.conf @@ -1,6 +1,20 @@ # You can put your preferred keybinds here # 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, L, movefocus, r # [hidden] bind = Alt, K, movefocus, u # [hidden] @@ -11,7 +25,20 @@ bind = Alt, O, killactive, bind = Alt, F, fullscreen, 1 bind = Alt, Q, killactive, 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 #/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction diff --git a/rules.conf b/rules.conf index 159de09..269bffa 100644 --- a/rules.conf +++ b/rules.conf @@ -1,3 +1,5 @@ # 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) 45deg,fullscreen:1