initial config

This commit is contained in:
matiss
2026-04-20 15:08:47 +00:00
commit 8f4daf76b8
27 changed files with 1458 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
# ══════════════════════════════════════════
# ALACRITTY CONFIGURATION — Gruvbox Dark
# ══════════════════════════════════════════
[window]
padding = { x = 8, y = 8 }
decorations = "None"
opacity = 0.95
dynamic_padding = true
startup_mode = "Maximized"
[font]
size = 13.0
[font.normal]
family = "JetBrainsMono Nerd Font"
style = "Regular"
[font.bold]
family = "JetBrainsMono Nerd Font"
style = "Bold"
[font.italic]
family = "JetBrainsMono Nerd Font"
style = "Italic"
[scrolling]
history = 10000
multiplier = 3
[selection]
save_to_clipboard = true
# ── Gruvbox Dark Hard ───────────────────
[colors.primary]
background = "#1d2021"
foreground = "#ebdbb2"
[colors.cursor]
text = "#1d2021"
cursor = "#ebdbb2"
[colors.normal]
black = "#282828"
red = "#cc241d"
green = "#98971a"
yellow = "#d79921"
blue = "#458588"
magenta = "#b16286"
cyan = "#689d6a"
white = "#a89984"
[colors.bright]
black = "#928374"
red = "#fb4934"
green = "#b8bb26"
yellow = "#fabd2f"
blue = "#83a598"
magenta = "#d3869b"
cyan = "#8ec07c"
white = "#ebdbb2"
# ── Keyboard Bindings ───────────────────
[[keyboard.bindings]]
key = "N"
mods = "Control|Shift"
action = "CreateNewWindow"

233
config/hypr/hyprland.conf Normal file
View File

@@ -0,0 +1,233 @@
# ══════════════════════════════════════════
# HYPRLAND CONFIGURATION — Omarchy-style
# ══════════════════════════════════════════
# Keyboard-first. Consistent keybinds. Clean aesthetics.
# Super is the main modifier (like omarchy).
# ══════════════════════════════════════════
# ── Monitors ─────────────────────────────
# Adjust for your setup. "preferred" auto-detects.
monitor = , preferred, auto, 1
# ── Autostart ────────────────────────────
exec-once = waybar
exec-once = walker --gapplication-service
exec-once = mako
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = wl-clip-persist --clipboard regular
exec-once = nm-applet --indicator
exec-once = blueman-applet
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# ── General ──────────────────────────────
general {
gaps_in = 4
gaps_out = 8
border_size = 2
# Gruvbox colors
col.active_border = rgba(d79921ff) rgba(b8bb26ff) 45deg
col.inactive_border = rgba(504945ff)
layout = dwindle
allow_tearing = false
}
# ── Decoration ───────────────────────────
decoration {
rounding = 8
blur {
enabled = true
size = 6
passes = 2
new_optimizations = true
xray = false
}
shadow {
enabled = true
range = 12
render_power = 3
color = rgba(1d2021cc)
}
}
# ── Animations ───────────────────────────
animations {
enabled = true
bezier = ease, 0.25, 0.1, 0.25, 1
bezier = overshot, 0.05, 0.9, 0.1, 1.1
animation = windows, 1, 4, overshot, slide
animation = windowsOut, 1, 4, ease, slide
animation = fade, 1, 4, ease
animation = workspaces, 1, 4, overshot, slidevert
animation = border, 1, 6, ease
}
# ── Layout ───────────────────────────────
dwindle {
pseudotile = true
preserve_split = true
force_split = 2
}
master {
new_status = master
}
# ── Input ────────────────────────────────
input {
kb_layout = us
kb_options = caps:escape
follow_mouse = 1
sensitivity = 0
touchpad {
natural_scroll = true
tap-to-click = true
drag_lock = true
}
}
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3
}
# ── Misc ─────────────────────────────────
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
force_default_wallpaper = 0
vfr = true
}
# ══════════════════════════════════════════
# KEYBINDINGS — Omarchy-inspired
# ══════════════════════════════════════════
# Super = main modifier
# Super + Return = terminal
# Super + Space = app launcher
# Super + Shift + Return = browser
# Super + Q = close window
# Super + K = show all keybinds (via walker)
# ══════════════════════════════════════════
$mod = SUPER
# ── Core ─────────────────────────────────
bind = $mod, Return, exec, alacritty
bind = $mod SHIFT, Return, exec, firefox # Change to helium if installed
bind = $mod, Space, exec, walker
bind = $mod, Q, killactive
bind = $mod SHIFT, Q, exit
bind = $mod, V, togglefloating
bind = $mod, F, fullscreen
bind = $mod, P, pseudo # dwindle pseudo-tile
bind = $mod, J, togglesplit # dwindle toggle split direction
# ── Applications ─────────────────────────
bind = $mod, E, exec, nautilus # File manager
bind = $mod, B, exec, bitwarden # Password manager
bind = $mod SHIFT, S, exec, spotify
bind = $mod, C, exec, cursor # Cursor IDE
bind = $mod SHIFT, C, exec, code # VS Code (antigravity)
# ── Window Focus (vim keys) ──────────────
bind = $mod, h, movefocus, l
bind = $mod, l, movefocus, r
bind = $mod, k, movefocus, u
bind = $mod, j, movefocus, d
# ── Window Move ──────────────────────────
bind = $mod SHIFT, h, movewindow, l
bind = $mod SHIFT, l, movewindow, r
bind = $mod SHIFT, k, movewindow, u
bind = $mod SHIFT, j, movewindow, d
# ── Window Resize ────────────────────────
binde = $mod CTRL, h, resizeactive, -40 0
binde = $mod CTRL, l, resizeactive, 40 0
binde = $mod CTRL, k, resizeactive, 0 -40
binde = $mod CTRL, j, resizeactive, 0 40
# ── Workspaces ───────────────────────────
bind = $mod, 1, workspace, 1
bind = $mod, 2, workspace, 2
bind = $mod, 3, workspace, 3
bind = $mod, 4, workspace, 4
bind = $mod, 5, workspace, 5
bind = $mod, 6, workspace, 6
bind = $mod, 7, workspace, 7
bind = $mod, 8, workspace, 8
bind = $mod, 9, workspace, 9
bind = $mod, 0, workspace, 10
# Move window to workspace
bind = $mod SHIFT, 1, movetoworkspace, 1
bind = $mod SHIFT, 2, movetoworkspace, 2
bind = $mod SHIFT, 3, movetoworkspace, 3
bind = $mod SHIFT, 4, movetoworkspace, 4
bind = $mod SHIFT, 5, movetoworkspace, 5
bind = $mod SHIFT, 6, movetoworkspace, 6
bind = $mod SHIFT, 7, movetoworkspace, 7
bind = $mod SHIFT, 8, movetoworkspace, 8
bind = $mod SHIFT, 9, movetoworkspace, 9
bind = $mod SHIFT, 0, movetoworkspace, 10
# Workspace navigation
bind = $mod, Tab, workspace, e+1
bind = $mod SHIFT, Tab, workspace, e-1
# ── Special Workspace (Scratchpad) ───────
bind = $mod, S, togglespecialworkspace, magic
bind = $mod SHIFT, S, movetoworkspace, special:magic
# ── Screenshots ──────────────────────────
bind = , Print, exec, grim -g "$(slurp)" - | swappy -f -
bind = $mod, Print, exec, grim - | swappy -f -
# ── Media Keys ───────────────────────────
bindel = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
bindel = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
bindl = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
bindel = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
bindel = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPrev, exec, playerctl previous
# ── Clipboard History ────────────────────
bind = $mod CTRL, V, exec, cliphist list | walker --dmenu | cliphist decode | wl-copy
# ── Lock Screen ──────────────────────────
bind = $mod CTRL, L, exec, hyprlock
# ── Mouse Bindings ───────────────────────
bindm = $mod, mouse:272, movewindow
bindm = $mod, mouse:273, resizewindow
# ── Window Rules ─────────────────────────
windowrulev2 = float, class:^(pavucontrol)$
windowrulev2 = float, class:^(blueman-manager)$
windowrulev2 = float, class:^(nm-connection-editor)$
windowrulev2 = float, class:^(bitwarden)$
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = pin, title:^(Picture-in-Picture)$
# ── Environment Variables ────────────────
env = XCURSOR_SIZE, 24
env = QT_QPA_PLATFORMTHEME, qt5ct
env = QT_QPA_PLATFORM, wayland
env = GDK_BACKEND, wayland
env = SDL_VIDEODRIVER, wayland
env = CLUTTER_BACKEND, wayland
env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_TYPE, wayland
env = XDG_SESSION_DESKTOP, Hyprland

39
config/walker/config.toml Normal file
View File

@@ -0,0 +1,39 @@
# ══════════════════════════════════════════
# WALKER CONFIGURATION
# ══════════════════════════════════════════
# Wayland-native application launcher for Hyprland.
# Activated with Super+Space.
# ══════════════════════════════════════════
[search]
placeholder = "Search..."
delay = 0
[ui]
fullscreen = false
ignore_exclusive = false
show_initial_entries = true
[ui.anchors]
top = true
bottom = false
left = true
right = true
# Gruvbox theme
[theme.ui.window]
box.margin_top = 200
box.margin_bottom = 200
box.margin_start = 300
box.margin_end = 300
# Modules — which sources to search
[modules]
applications.weight = 1
runner.weight = 5
websearch.weight = 10
# Web search via DuckDuckGo
[modules.websearch]
prefix = "?"
engines = ["duckduckgo"]

115
config/waybar/config.jsonc Normal file
View File

@@ -0,0 +1,115 @@
// ══════════════════════════════════════════
// WAYBAR CONFIGURATION — Gruvbox Dark
// ══════════════════════════════════════════
{
"layer": "top",
"position": "top",
"height": 36,
"spacing": 4,
"margin-top": 4,
"margin-left": 8,
"margin-right": 8,
// Module layout
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
],
"modules-center": [
"clock"
],
"modules-right": [
"tray",
"pulseaudio",
"network",
"bluetooth",
"battery",
"custom/power"
],
// ── Workspaces ────────────────────────
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "0"
},
"on-click": "activate",
"sort-by-number": true,
"active-only": false
},
// ── Window Title ──────────────────────
"hyprland/window": {
"format": "{}",
"max-length": 40,
"separate-outputs": true
},
// ── Clock ─────────────────────────────
"clock": {
"format": "{:%H:%M}",
"format-alt": "{:%A, %B %d, %Y %H:%M}",
"tooltip-format": "<tt><small>{calendar}</small></tt>"
},
// ── Audio ─────────────────────────────
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " muted",
"format-icons": {
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
// ── Network ───────────────────────────
"network": {
"format-wifi": " {signalStrength}%",
"format-ethernet": " {ipaddr}",
"format-disconnected": " off",
"tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ipaddr}",
"on-click": "nm-connection-editor"
},
// ── Bluetooth ─────────────────────────
"bluetooth": {
"format": " {status}",
"format-connected": " {device_alias}",
"format-disabled": "",
"on-click": "blueman-manager"
},
// ── Battery ───────────────────────────
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-icons": ["", "", "", "", ""]
},
// ── System Tray ───────────────────────
"tray": {
"icon-size": 16,
"spacing": 8
},
// ── Power Button ──────────────────────
"custom/power": {
"format": "",
"on-click": "hyprlock",
"tooltip": false
}
}

150
config/waybar/style.css Normal file
View File

@@ -0,0 +1,150 @@
/* ══════════════════════════════════════════
* WAYBAR STYLES — Gruvbox Dark
* ══════════════════════════════════════════
* Gruvbox palette:
* bg0_h = #1d2021 (hardest dark)
* bg0 = #282828 (dark background)
* bg1 = #3c3836
* bg2 = #504945
* fg = #ebdbb2 (light foreground)
* yellow = #d79921
* green = #b8bb26
* red = #cc241d
* aqua = #689d6a
* orange = #d65d0e
* blue = #458588
* ══════════════════════════════════════════ */
* {
font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 13px;
min-height: 0;
border: none;
border-radius: 0;
}
window#waybar {
background: rgba(29, 32, 33, 0.92);
color: #ebdbb2;
border-radius: 10px;
}
/* ── Module defaults ─────────────────── */
#workspaces,
#window,
#clock,
#pulseaudio,
#network,
#bluetooth,
#battery,
#tray,
#custom-power {
padding: 0 10px;
margin: 4px 2px;
border-radius: 6px;
background: transparent;
}
/* ── Workspaces ──────────────────────── */
#workspaces button {
color: #a89984;
padding: 0 6px;
margin: 2px;
border-radius: 4px;
background: transparent;
transition: all 0.2s ease;
}
#workspaces button.active {
color: #1d2021;
background: #d79921;
font-weight: bold;
}
#workspaces button:hover {
color: #ebdbb2;
background: #504945;
}
/* ── Window Title ────────────────────── */
#window {
color: #a89984;
font-style: italic;
}
/* ── Clock ───────────────────────────── */
#clock {
color: #ebdbb2;
font-weight: bold;
}
/* ── Audio ───────────────────────────── */
#pulseaudio {
color: #b8bb26;
}
#pulseaudio.muted {
color: #928374;
}
/* ── Network ─────────────────────────── */
#network {
color: #83a598;
}
#network.disconnected {
color: #cc241d;
}
/* ── Bluetooth ───────────────────────── */
#bluetooth {
color: #458588;
}
/* ── Battery ─────────────────────────── */
#battery {
color: #b8bb26;
}
#battery.charging {
color: #d79921;
}
#battery.warning:not(.charging) {
color: #d65d0e;
}
#battery.critical:not(.charging) {
color: #cc241d;
animation: blink 1s steps(2) infinite;
}
@keyframes blink {
to { color: #ebdbb2; }
}
/* ── System Tray ─────────────────────── */
#tray > .passive {
-gtk-icon-effect: dim;
}
/* ── Power Button ────────────────────── */
#custom-power {
color: #cc241d;
padding: 0 8px;
}
#custom-power:hover {
color: #fb4934;
}
/* ── Tooltips ────────────────────────── */
tooltip {
background: #282828;
border: 1px solid #504945;
border-radius: 6px;
}
tooltip label {
color: #ebdbb2;
}