aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf273
1 files changed, 72 insertions, 201 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 0749272..04ddf0a 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -1,41 +1,44 @@
-monitor=, 1920x1080@60, auto, 1
+# Sourcing external config files
+source=~/.config/hypr/user/monitors.conf
+source=~/.config/hypr/user/exec.conf
+source=~/.config/hypr/user/env.conf
+source=~/.config/hypr/user/binds.conf
+source=~/.config/hypr/user/window_rules.conf
-exec-once=$HOME/.config/hypr/autostart
-$term = kitty
+# Defaults
+$term = wezterm
$browser = firefox
-$gmail = firefox --new-instance -P app "https://mail.google.com/" --class appProfile
-$editor = code
-$explorer = nemo
-$music = g4music
+#$gmail = firefox --new-instance -P app "https://mail.google.com/" --class appProfile
+$editor = nvim
+#$explorer = nemo
+#$music = g4music
$notepad = code --profile notepad --unity-launch ~/Templates
$launcher = wofi --show drun -n
$launcher_alt = wofi --show run -n
#$discord = discord
+#env = GTK_THEME,Breeze-Dark
general {
gaps_in = 5
- gaps_out = 10
+ gaps_out = 5
border_size = 2
col.active_border = rgba(cba6f7ff) rgba(89b4faff) rgba(94e2d5ff) 10deg
col.inactive_border = 0xff313244
# whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
apply_sens_to_raw = 0
+ layout = "master";
+ resize_on_border = yes
+ extend_border_grab_area = 20
}
input {
- # kb_file =
- kb_layout = us
- # kb_variant =
- # kb_model =
- # kb_options = ctrl:swapcaps
- # kb_rules =
- sensitivity = 0.75 # for mouse cursor
-
- follow_mouse = 1
-
+ kb_layout = custom-us
+ #sensitivity = 0.75 # for mouse cursor
+ sensitivity = 0
+ follow_mouse = 0
scroll_method = 2fg
touchpad {
@@ -47,9 +50,7 @@ input {
decoration {
- rounding = 16
- multisample_edges = true
-
+ rounding = 10
active_opacity = 0.95
inactive_opacity = 0.9
fullscreen_opacity = 0.95
@@ -57,18 +58,31 @@ decoration {
dim_inactive = false
dim_strength = 0.05
- blur = true
- blur_size = 5
- blur_passes = 4
- blur_new_optimizations = true
- blur_xray = true
- blur_ignore_opacity = true
+ blur {
+ enabled = true
+ #enabled = false
+ size = 3
+ passes = 1
+
+ vibrancy = 0.1696
+ }
drop_shadow = true
- shadow_ignore_window = true
- shadow_range = 20
+ shadow_range = 4
shadow_render_power = 3
- col.shadow = 0x55161925
+ col.shadow = rgba(1a1a1aee)
+ #blur = true
+ #blur_size = 5
+ #blur_passes = 4
+ #blur_new_optimizations = true
+ #blur_xray = true
+ #blur_ignore_opacity = true
+
+ #drop_shadow = true
+ #shadow_ignore_window = true
+ #shadow_range = 20
+ #shadow_render_power = 3
+ #col.shadow = 0x55161925
col.shadow_inactive = 0x22161925
# Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
# if you want heavy blur, you need to up the blur_passes.
@@ -80,6 +94,7 @@ decoration {
# blurls = lockscreen
blurls = rofi
blurls = wofi
+ blurls = firefox
}
@@ -97,8 +112,8 @@ animations {
dwindle {
pseudotile = true # enable pseudotiling on dwindle
force_split = 0
- col.group_border = 0xff89dceb
- col.group_border_active = 0xfff9e2af
+ #col.group_border = 0xff89dceb
+ #col.group_border_active = 0xfff9e2af
preserve_split = true
}
@@ -121,7 +136,7 @@ misc {
focus_on_activate = true
enable_swallow = true
- swallow_regex = ^(kitty)$
+ #swallow_regex = ^(scratchpad)$
}
@@ -131,173 +146,29 @@ binds {
custom {
- rules {
- # for windows named/classed as abc and xyz
- # windowrule = move 69 420, abc
- # windowrule = pseudo, abc
- # windowrule = monitor 0, xyz
- # windowrule = tile, xy
-
- windowrule = float, title:^(fly_is_kitty)$
- windowrule = size 800 500, title:^(fly_is_kitty)$
- windowrule = move center, title:^(fly_is_kitty)$
- windowrule = animation slide, title:^(fly_is_kitty)$
-
- windowrule = float, title:^(all_is_kitty)$
-
- windowrule = float, title:^(clock_is_kitty)$
- windowrule = size 325 180, title:^(clock_is_kitty)$
-
- windowrule = float, title:^(donut_is_kitty)$
- windowrule = size 660 486, title:^(donut_is_kitty)$
-
- windowrule = animation popin, title:^(donut_is_kitty)$
-
- windowrule = float,^(rlr)$
- windowrule = float,^(pavucontrol)$
- windowrule = float,^(blueman-manager)$
- windowrule = float,^(nm-connection-editor)$
- windowrule = float,^(mediainfo-gui)$
- windowrule = tile,^(neovide)$
- windowrulev2 = float, class:^(firefox)$, title:^(Firefox — Sharing Indicator)$
- windowrulev2 = float, class:^(nemo)$, title:^(.*Properties)$
- windowrulev2 = float, class:^(Nemo-preview-start)$
-
- windowrule = float,^(com.github.neithern.g4music)$
- windowrule = size 670 635,^(com.github.neithern.g4music)$
- windowrule = move center,^(com.github.neithern.g4music)$
-
- windowrulev2 = animation slide, class:^(wofi)$
- windowrulev2 = move 100%-433 53, class:^(wofi)$, title:^(clippick)$
-
- windowrulev2 = animation popin, class:^(wlogout)$, title:^(wlogout)$
- windowrulev2 = float, class:^(wlogout)$, title:^(wlogout)$
- }
- binds {
- # Mouse binds
- bindm = SUPER, mouse:272, movewindow
- bindm = SUPER, mouse:273, resizewindow
-
- bind = SUPER, mouse_down, workspace, e-1
- bind = SUPER, mouse_up, workspace, e+1
-
- # Kitty binds
- bind = ALT, RETURN, exec, kitty --start-as=fullscreen --title all_is_kitty
- bind = SUPER, RETURN, exec, kitty --title fly_is_kitty --single-instance
- bind = SUPER, t, exec, $term
-
- # Screenshot binds
- bind = , Print, exec,~/.scripts/screenshot_full
- bind = ALT, Print, exec,~/.scripts/screenshot
-
- # Application binds
- bind = SUPER, Q, killactive,
- bind = SUPER, F, exec, $explorer
- bind = SUPER, B, exec, $browser
- bind = SUPER, E, exec, $gmail
- bind = SUPER, G, exec, $notepad
-
- # Wofi and notification binds
- bind = SUPER, V, exec, pkill wofi || cliphist list | wofi --dmenu -p clippick -l top_right -x -15 -y 10 -n | cliphist decode | wl-copy
- bind = SUPER, N, exec, swaync-client -t -sw
- bindr = SUPER, SUPER_L, exec, pkill wofi || $launcher
- bind = SUPER, space, exec, pkill wofi || $launcher_alt
-
- # Other dispatchers
- bind = ALT, Tab, cyclenext
- bind = SUPER, M, fullscreen,
- bind = SUPER, C, exec, hyprctl dispatch centerwindow none
- bind = SUPER_SHIFT, M, fakefullscreen,
- bind = SUPER, P, pseudo,
- bind = SUPER, S, togglefloating,
- bind = SUPER_SHIFT, G, togglegroup,
- bind = SUPER, tab, changegroupactive,
-
- # Reload waybar
- bind = SUPER_SHIFT, R, exec,~/.scripts/launch_waybar
-
- # Logout screen, lock, exit
- bind = SUPER, escape, exec,~/.config/wlogout/launch.sh
- bind = SUPER, L, exec,~/.scripts/lock
- bind = SUPER_SHIFT, escape, exit
-
-
- # Move window with SUPER + Shift + arrow keys
- # [↑]
- # [←] [↓] [→]
- bind = SUPER_SHIFT, left, movewindow, l
- bind = SUPER_SHIFT, right, movewindow, r
- bind = SUPER_SHIFT, up, movewindow, u
- bind = SUPER_SHIFT, down, movewindow, d
-
- # Move window focus with SUPER + arrow keys
- # [↑]
- # [←] [↓] [→]
- bind = SUPER, left, movefocus, l
- bind = SUPER, right, movefocus, r
- bind = SUPER, up, movefocus, u
- bind = SUPER, down, movefocus, d
-
- # Move To a workspaces
- bind = SUPER, 1, workspace, 1
- bind = SUPER, 2, workspace, 2
- bind = SUPER, 3, workspace, 3
- bind = SUPER, 4, workspace, 4
- bind = SUPER, 5, workspace, 5
- bind = SUPER, 6, workspace, 6
- bind = SUPER, 7, workspace, 7
- bind = SUPER, 8, workspace, 8
- bind = SUPER, 9, workspace, 9
-
- # Move windows between workspaces
- bind = SUPER_SHIFT, 1, movetoworkspace, 1
- bind = SUPER_SHIFT, 2, movetoworkspace, 2
- bind = SUPER_SHIFT, 3, movetoworkspace, 3
- bind = SUPER_SHIFT, 4, movetoworkspace, 4
- bind = SUPER_SHIFT, 5, movetoworkspace, 5
- bind = SUPER_SHIFT, 6, movetoworkspace, 6
- bind = SUPER_SHIFT, 7, movetoworkspace, 7
- bind = SUPER_SHIFT, 8, movetoworkspace, 8
- bind = SUPER_SHIFT, 9, movetoworkspace, 9
-
- # Ricing :p
- bind = CTRL, 1, exec, kitty --title fly_is_kitty sh -c 'cava'
- bind = CTRL, 2, exec, kitty --title donut_is_kitty sh -c '~/.local/bin/donut'
- bind = CTRL, 3, exec, kitty --title clock_is_kitty sh -c 'tty-clock -C5 -c'
-
- # Use this to get thw XF86 bind (FN + Fx combination) for your keyboard
- # xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
-
- # Volume Control
- binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
- binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
- bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
- bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
-
- # Media Control
- bind = , XF86AudioMedia, exec, playerctl play-pause
- bind = , XF86AudioPlay, exec, playerctl play-pause
- bind = , XF86AudioStop, exec, playerctl stop
- bind = , XF86AudioPrev, exec, playerctl previous
- bind = , XF86AudioNext, exec, playerctl next
-
- # Brightness Control
- binde = , XF86MonBrightnessUp, exec, light -A 1
- binde = , XF86MonBrightnessDown, exec, light -U 1
-
- # Screensaver key
- bind = , XF86ScreenSaver, exec,~/.scripts/lock
-
- # Others
- bind = , XF86Mail, exec,$gmail
- bind = , XF86HomePage, exec, $explorer ~/
- bind = , XF86Calculator, exec, qalculate-gtk
- bind = , XF86Search, exec, wofi
-
- # trigger when the switch is turning on
- # bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor ", 1920x1080@60, auto, 1"
- # trigger when the switch is turning off
- bindl = , switch:off:Lid Switch, exec, playerctl --all-players stop; ~/.scripts/lock; systemctl suspend
- }
}
+
+
+layerrule = blur, bar0
+layerrule = noanim, bar0
+layerrule = ignorealpha 0.2, bar0
+layerrule = blur, dock0
+layerrule = noanim, dock0
+layerrule = ignorealpha 0.2, dock0
+layerrule = blur, indicator0
+layerrule = ignorealpha 0.2, indicator0
+layerrule = blur, toolbox0
+layerrule = noanim, toolbox0
+layerrule = ignorealpha 0.2, toolbox0
+layerrule = blur, applauncher
+layerrule = ignorealpha 0.2, applauncher
+layerrule = blur, datemenu
+layerrule = ignorealpha 0.2, datemenu
+layerrule = blur, quicksettings
+layerrule = ignorealpha 0.2, quicksettings
+layerrule = blur, wlroots
+layerrule = ignorealpha 0.2, wlroots
+layerrule = blur, notifications0
+layerrule = ignorealpha 0.2, notifications0
+