summaryrefslogtreecommitdiff
path: root/.config/hypr/config.d
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/config.d')
-rw-r--r--.config/hypr/config.d/keybinds.conf18
-rw-r--r--.config/hypr/config.d/theme.conf92
-rw-r--r--.config/hypr/config.d/workspaces.conf31
3 files changed, 90 insertions, 51 deletions
diff --git a/.config/hypr/config.d/keybinds.conf b/.config/hypr/config.d/keybinds.conf
index 815f7d2..bbb1af6 100644
--- a/.config/hypr/config.d/keybinds.conf
+++ b/.config/hypr/config.d/keybinds.conf
@@ -1,30 +1,30 @@
+bind = $mod SHIFT, SPACE, togglefloating
bind = $mod, Return, exec, $term
bind = $mod, W, exec, $browser
-bind = $mod SHIFT, SPACE, togglefloating
bind = $mod, D, exec, $menu
bind = $mod, J, togglesplit
-bind = $mod SHIFT, C, togglegroup
bind = $mod, F, fullscreen
-bind = $mod SHIFT, B, exec, killall waybar && waybar --config ~/.config/waybar/config.hypr
-bind = $mod SHIFT, Q, killactive
+
bind = $mod, L, exec, hyprlock
bind = $mod SHIFT, L, exec, killall Hyprland
-bind = $mod, TAB, changegroupactive
+
+bind = $mod SHIFT, Q, killactive
+bind = $mod, F5, exec, killall waybar && waybar --config ~/.config/waybar/config.hypr --style ~/.config/waybar/style.hypr.css
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde =, XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
binde =, XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
-binde =, XF86MonBrightnessDown, exec, brightnessctl set 5%-
-binde =, XF86MonBrightnessUp, exec, brightnessctl set 5%+
-
binde =, XF86AudioPlay, exec, playerctl play-pause
binde =, XF86AudioNext, exec, playerctl next
binde =, XF86AudioPrev, exec, playerctl previous
+binde =, XF86MonBrightnessDown, exec, brightnessctl set 5%-
+binde =, XF86MonBrightnessUp, exec, brightnessctl set 5%+
+
bind = $mod SHIFT, s, exec, grim -g "$(slurp)" - | wl-copy -t image/png && notify-send -t 3000 "Hyprland" "Screenshot copied to clipboard"
bind = , Print, exec, grim - | wl-copy -t iamge/png && notify-send -t 3000 "Hyprland" "Full screen copied to clipboard"
-bind = , Shift Print, exec, slurp -p | grim -g - - | convert - txt:- | tail -n 1 | awk '{print $3}' | wl-copy
+bind = SHIFT, Print, exec, slurp -p | grim -g - - | convert - txt:- | tail -n 1 | awk '{print $3}' | wl-copy
diff --git a/.config/hypr/config.d/theme.conf b/.config/hypr/config.d/theme.conf
index ff284b2..0de56bd 100644
--- a/.config/hypr/config.d/theme.conf
+++ b/.config/hypr/config.d/theme.conf
@@ -1,55 +1,82 @@
general {
- gaps_in = 6
+ gaps_in = 5
gaps_out = 10
- border_size = $border
- col.active_border = 0xffaaaaaa
- col.inactive_border = 0xff777777
- layout = dwindle
+ layout = hy3
+
resize_on_border = yes
extend_border_grab_area = 20
+
+ border_size = $border
+ col.active_border = rgb(74777d)
+ col.inactive_border = rgb(14171d)
}
-group {
- col.border_active = rgb(14171d) rgb(14171d) 0deg
- col.border_inactive = rgb(14171d) rgb(14171d) 0deg
- col.border_locked_active = rgb(14171d) rgb(14171d) 0deg
- col.border_locked_inactive = rgb(14171d) rgb(14171d) 0deg
- groupbar {
- enabled = true
- gradients = true
- font_family = monospace
- font_size = 12
- height = 16
- col.active = rgb(24272d) rgb(24272d) 0deg
- col.inactive = rgb(14171d) rgb(14171d) 0deg
- col.locked_active = rgb(14171d) rgb(14171d) 0deg
- col.locked_inactive = rgb(14171d) rgb(14171d) 0deg
+plugin {
+ hy3 {
+ tabs {
+ height = 20
+ text_height = 11
+ padding = 0
+ render_text = true
+ rounding = 0
+
+ col.active = rgb(24272d)
+ col.inactive = rgb(14171d)
+ col.text.active = rgb(ffffff)
+ col.text.inactive = rgb(ffffff)
+ }
+
+ autotile {
+ enable = true
+ }
}
}
decoration {
rounding = $radius
- drop_shadow = yes
- shadow_range = 4
- shadow_render_power = 3
- col.shadow = rgba(1a1a1aee)
+ drop_shadow = no
blur {
enabled = true
- size = 5
+ size = 4
passes = 2
+ noise = 0.008
+ contrast = 0.8916
+ brightness = 0.8
}
}
animations {
enabled = yes
- animation = windows, 1, 7, default
- animation = windowsOut, 1, 7, default
+ bezier = windowIn, 0.06, 0.71, 0.25, 1
+ bezier = windowResize, 0.04, 0.67, 0.38, 1
+
+ animation = windowsIn, 1, 3, windowIn, slide #popin 20%
+ animation = windowsOut, 1, 3, windowIn, slide #popin 70%
+ animation = windowsMove, 1, 2.5, windowResize
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
- animation = fade, 1, 7, default
+ animation = fade, 1, 3, default
animation = workspaces, 1, 6, default
+ animation = layers, 1, 5, windowIn, slide
+}
+
+gestures {
+ workspace_swipe = true
+ workspace_swipe_fingers = 3
+ workspace_swipe_forever = true
+ workspace_swipe_cancel_ratio = 0.15
+}
+
+misc {
+ disable_hyprland_logo = true
+ disable_splash_rendering = true
+ no_direct_scanout = false
+ key_press_enables_dpms = true
+ mouse_move_enables_dpms = true
+ middle_click_paste = true
+ vrr = 1
}
xwayland {
@@ -57,14 +84,5 @@ xwayland {
use_nearest_neighbor = false
}
-env = GDK_BACKEND,wayland,x11
-env = SDL_VIDEODRIVER,wayland
-env = CLUTTER_BACKEND,wayland
-
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
-
-env = QT_AUTO_SCREEN_SCALE_FACTOR,1
-env = QT_QPA_PLATFORM,wayland;xcb
-env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
-env = QT_QPA_PLATFORMTHEME,gtk2
diff --git a/.config/hypr/config.d/workspaces.conf b/.config/hypr/config.d/workspaces.conf
index 2f3e81c..408b05f 100644
--- a/.config/hypr/config.d/workspaces.conf
+++ b/.config/hypr/config.d/workspaces.conf
@@ -1,6 +1,6 @@
dwindle {
- pseudotile = yes
+ pseudotile = yes
preserve_split = yes
}
@@ -17,10 +17,10 @@ bind = $mod, down, movefocus, d
# Move window across workspace with mod + arrow keys
-bind = $mod SHIFT, left, movewindow, l
-bind = $mod SHIFT, right, movewindow, r
-bind = $mod SHIFT, up, movewindow, u
-bind = $mod SHIFT, down, movewindow, d
+bind = $mod SHIFT, left, hy3:movewindow, l
+bind = $mod SHIFT, right, hy3:movewindow, r
+bind = $mod SHIFT, up, hy3:movewindow, u
+bind = $mod SHIFT, down, hy3:movewindow, d
# Switch workspaces with mod + [0-9]
@@ -47,6 +47,27 @@ bind = $mod SHIFT, 8, movetoworkspacesilent, 8
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
bind = $mod SHIFT, 0, movetoworkspacesilent, 10
+# Move to tab
+
+bind = $mod CONTROL, 1, hy3:focustab, index, 01
+bind = $mod CONTROL, 2, hy3:focustab, index, 02
+bind = $mod CONTROL, 3, hy3:focustab, index, 03
+bind = $mod CONTROL, 4, hy3:focustab, index, 04
+bind = $mod CONTROL, 5, hy3:focustab, index, 05
+bind = $mod CONTROL, 6, hy3:focustab, index, 06
+bind = $mod CONTROL, 7, hy3:focustab, index, 07
+bind = $mod CONTROL, 8, hy3:focustab, index, 08
+bind = $mod CONTROL, 9, hy3:focustab, index, 09
+bind = $mod CONTROL, 0, hy3:focustab, index, 10
+
+bindn = , mouse:272, hy3:focustab, mouse
+bindn = , mouse_down, hy3:focustab, l, require_hovered
+bindn = , mouse_up, hy3:focustab, r, require_hovered
+
+bind = $mod SHIFT, B, hy3:makegroup, h
+bind = $mod SHIFT, V, hy3:makegroup, v
+bind = $mod SHIFT, C, hy3:changegroup, toggletab
+
# Scroll through existing workspaces with mod + scroll
bind = $mod, mouse_down, workspace, e+1