Another checkpoint: adding grub, zsh, waybar, hyprland. Plus niri

This commit is contained in:
Antoine Phan
2025-05-22 00:03:15 -04:00
parent 0637dceca8
commit 7ef435d357
15 changed files with 951 additions and 76 deletions

View File

@@ -1,22 +1,26 @@
# https://wiki.hyprland.org/Configuring/Monitors\
# https://wiki.hyprland.org/Configuring/Monitors
monitor=eDP-1,1920x1080@60,0x0,1
# --- Second monitor via HDMI-A ---
# Automatic/To the right
monitor=,1920x1080@165,auto,1
# 60 Hz
# monitor=,1920x1080@60,auto,1
# Automatic/To the right, 165Hz
# monitor=,1920x1080@165,1920x0,1
# Second monitor on the left
# monitor=,1920x1080@165, -1920x0, 1
# monitor = , highres, 0x-1080, 1
# UP
monitor=,1920x1080@165, 0x-1080, 1
# Enabling mirror
# monitor=HDMI-A-1, 1920x1080@60, 0x0, 1, mirror, eDP-1
# monitor=,highres,0x0,1,mirror, eDP-1
# 60 Hz
# monitor=,1920x1080@60,auto,1
# Home TV
# monitor=HDMI-A-1,1280x720@60,auto,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = waybar
@@ -24,6 +28,7 @@ exec-once = hyprpaper
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = fcitx5 -d
exec-once = sudo modprobe v4l2loopback
exec-once = blueberry-tray
# Set programs that you use
$terminal = alacritty
@@ -55,11 +60,11 @@ input {
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 8
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99aa) 20deg
col.inactive_border = rgba(595959aa)
gaps_in = 4
gaps_out = 4
border_size = 3
col.active_border = rgba(24bcf2aa) rgba(bbff2ecc) rgba(fa1421aa) 20deg
col.inactive_border = rgba(b1b1b155)
layout = dwindle
@@ -69,17 +74,16 @@ general {
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 12
rounding = 20
blur {
enabled = true
size = 5
size = 4
passes = 1
}
drop_shadow = yes
col.shadow = rgba(1a1a1aee)
# drop_shadow = yes
# col.shadow = rgba(1a1a1aee)
}
animations {
@@ -91,12 +95,13 @@ animations {
bezier = myBezier, .72,.39,.25,.92
animation = windows, 1, 4, myBezier
# animation = windowsOut, 1, 4, default, popin 100%
animation = windowsOut, 1, 3, myBezier
# animation = border, 1, 7, default
# animation = borderangle, 1, 8, default
animation = windowsOut, 1, 4, default, popin 100%
# animation = windowsOut, 1, 3, myBezier
animation = border, 1, 3, myBezier
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
# animation = workspaces, 1, 6, default
animation = workspaces, 1, 8, default, fade
}
dwindle {
@@ -135,7 +140,7 @@ misc {
#windowrulev2 = nofullscreenrequest, class:*
# Floating windows by default
windowrule = float, Helvum
windowrulev2 = float, title:(Helvum)
windowrulev2 = float, title:(Yoshimi)
windowrulev2 = float, title:(Bluetooth)
windowrulev2 = float, class:(pavucontrol)
@@ -228,7 +233,7 @@ bind = $mainMod, N, workspace, m+1
bind = $mainMod, P, workspace, m-1
# Swap windows from different monitors
bind = $mainMod, S, swapactiveworkspaces,0 1
bind = $mainMod, S, swapactiveworkspaces, 0 1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
@@ -260,9 +265,11 @@ bind = $mainMod, L, exec, swaylock
# Screenshot
# Area shot, copy to clipboard
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy -t image/png
bind = $mainMod CTRL SHIFT, S, exec, grim -g "$(slurp -d)" - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png && notify-send "Screenshot taken!"
bind = $mainMod SHIFT, S, exec, grim -l 9 -g "$(slurp -d -w 0 -b bbddff99)" - | wl-copy -t image/png
bind = $mainMod CTRL SHIFT, S, exec, grim -l 9 -g "$(slurp -d -w 0 -b bbddff99)" - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png && notify-send "Screenshot taken!"
# Color picker
bind = $mainMod SHIFT, C, exec, grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | tail -n 1 | cut -d ' ' -f 4 | wl-copy
# Wholescreen, save to $HOME/Screenshots/
bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png