change dotfile manager to tuckr

This commit is contained in:
Alexander Navarro 2025-04-07 13:04:13 -04:00
parent 5efa1c4ce5
commit f181cd388a
206 changed files with 18 additions and 1329 deletions

View file

@ -0,0 +1,39 @@
#!/usr/bin/sh
if [ "x$XDG_SESSION_TYPE" = "xwayland" ] &&
[ "x$XDG_SESSION_CLASS" != "xgreeter" ] &&
[ -n "$SHELL" ] &&
grep -q "$SHELL" /etc/shells &&
! (echo "$SHELL" | grep -q "false") &&
! (echo "$SHELL" | grep -q "nologin"); then
if [ "$1" != '-l' ]; then
exec bash -c "exec -l '$SHELL' -c '$0 -l $*'"
else
shift
fi
fi
SETTING=$(G_MESSAGES_DEBUG='' gsettings get org.gnome.system.locale region)
REGION=${SETTING#\'}
REGION=${REGION%\'}
if [ -n "$REGION" ]; then
unset LC_TIME LC_NUMERIC LC_MONETARY LC_MEASUREMENT LC_PAPER
if [ "$LANG" != "$REGION" ]; then
# LC_CTYPE
export LC_NUMERIC=$REGION
export LC_TIME=$REGION
# LC_COLLATE
export LC_MONETARY=$REGION
# LC_MESSAGES
export LC_PAPER=$REGION
# LC_NAME
export LC_ADDRESS=$REGION
export LC_TELEPHONE=$REGION
export LC_MEASUREMENT=$REGION
# LC_IDENTIFICATION
fi
fi
exec Hyprland

View file

@ -0,0 +1,232 @@
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
# | _ | |_| | |_) | | | | (_| | | | | (_| |
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
# |___/|_|
#
# ╰────────────────────────────────────────────────────────────────────╯
# ╭──────────────────────────────────────────────────────────╮
# │ Autostart apps │
# ╰──────────────────────────────────────────────────────────╯
# ── System apps ─────────────────────────────────────────────────────────
exec-once = pipewire
exec-once = udieskie
exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
exec-once = hyprctl setcursor catppuccin-macchiato-lavender-cursors 24
# ── Utils ───────────────────────────────────────────────────────────────
exec-once = ~/.cargo/bin/wpaperd -d
exec-once = waybar
exec-once = hyprpaper
exec-once = mako
# ╭──────────────────────────────────────────────────────────╮
# │ Config │
# ╰──────────────────────────────────────────────────────────╯
# Source a file (multi-file configs)
source = ~/.config/hypr/theme.conf
# ── Monitors ──────────────────────────────────────────────────────────
monitor = , preferred, auto, 1
monitor = WAYLAND-1, disable # hack for when running manually
# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_STYLE_OVERRIDE,kvantum
# ── Input devides ─────────────────────────────────────────────────────
input {
kb_layout = latam
kb_variant =
kb_model =
kb_options = caps:escape
kb_rules =
follow_mouse = 2
touchpad {
natural_scroll = true
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
# ── General config ────────────────────────────────────────────────────
general {
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = $teal $teal
col.inactive_border = $surface1 $surface1
# snap {
# enabled = true
# }
layout = master
}
decoration {
rounding = 2
drop_shadow = true
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba($baseAlphaee)
}
animations {
enabled = true
animation = windows, 1, 5, default, slide
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = specialWorkspace, 1, 8, default, fade
}
gestures {
workspace_swipe = true
workspace_swipe_invert = false
}
misc {
enable_swallow = false
# swallow_regex = ""
# swallow_exception_regex = ""
mouse_move_focuses_monitor = false
}
# ── Layouts ───────────────────────────────────────────────────────────
master {
new_status = slave
mfact = 0.5
# slave_count_for_center_master = 4
}
# ╭──────────────────────────────────────────────────────────╮
# │ Windows rules │
# ╰──────────────────────────────────────────────────────────╯
windowrulev2 = float, class:org.gnome.Nautilus
windowrulev2 = float, class:xdg-desktop-portal-gtk
# ╭───────────────────────────────────────────────────────────╮
# │ Workspaces rules │
# ╰───────────────────────────────────────────────────────────╯
workspace = 1, monitor:HDMI-A-1, persistent:true
workspace = 2, monitor:HDMI-A-1, persistent:true
workspace = 3, monitor:HDMI-A-1, persistent:true
workspace = 4, monitor:HDMI-A-1, persistent:true
workspace = 5, monitor:HDMI-A-1, persistent:true
workspace = 6, monitor:eDP-1, persistent:true
workspace = 7, monitor:eDP-1, persistent:true
workspace = 8, monitor:eDP-1, persistent:true
workspace = 9, monitor:eDP-1, persistent:true
# ╭──────────────────────────────────────────────────────────╮
# │ Keybindings │
# ╰──────────────────────────────────────────────────────────╯
$mainMod = SUPER
# $menu = bemenu-run -iwn --binding vim --vim-esc-exits --scrollbar autohide --fixed-height --counter always -l 20 -P '>' -p 'Open:' -B 2 -R 5 --cw '5x' --fn 'JetBrainsMono 13' --bdr '##$tealAlpha' --ab '##$baseAlpha' --af '##$textAlpha' --fb '##$baseAlpha' --ff '##$textAlpha' --cf '##$mauveAlpha' --hb '##$surface0Alpha' --hf '##$tealAlpha' --nb '##$baseAlpha' --nf '##$textAlpha' --tb '##$mauveAlpha' --tf '##$baseAlpha' --scb '##$surface0Alpha' --scf '##$mauveAlpha'
$menu = rofi -show drun
# ── Spawn ─────────────────────────────────────────────────────────────
bind = $mainMod SHIFT, E, exit,
bind = $mainMod, return, exec, kitty
bind = $mainMod SHIFT, q, killactive,
bind = $mainMod, D, exec, $menu
# screenshot current window
bind = $mainMod, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy
# screenshot area
bind = $mainMod SHIFT, Print, exec, grim -g "$(slurp -d)" - | wl-copy
# screenshot area and edit it
bind = $mainMod CTRL, Print, exec, grim -g "$(slurp -d)" - | swappy -f -
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
# ── Window Options ────────────────────────────────────────────────────
bind = $mainMod SHIFT, space, togglefloating,
bind = $mainMod, f, fullscreen, 1 # preserve gaps and bar
bind = $mainMod SHIFT, f, fullscreen, 0 # use whole screen
# ── Focus ─────────────────────────────────────────────────────────────
bind = $mainMod, h, movefocus, l
bind = $mainMod, j, movefocus, d
bind = $mainMod, k, movefocus, u
bind = $mainMod, l, movefocus, r
bind = $mainMod + SHIFT, h, movewindow, l
bind = $mainMod + SHIFT, j, movewindow, d
bind = $mainMod + SHIFT, k, movewindow, u
bind = $mainMod + SHIFT, l, movewindow, r
bind = $mainMod, bar, workspace, previous
bind = $mainMod CTRL, bar, focusmonitor, +1
bind = $mainMod, space, focusurgentorlast
bind = $mainMod, tab, cyclenext, visible
bind = $mainMod SHIFT, tab, cyclenext, visible prev
# ── Layout ──────────────────────────────────────────────────────────────
bind = $mainMod, plus, layoutmsg, mfact +0.1
bind = $mainMod, minus, layoutmsg, mfact -0.1
bind = $mainMod CTRL, 0, layoutmsg, mfact exact 0.5
bind = $mainMod, n, layoutmsg, addmaster
bind = $mainMod SHIFT, n, layoutmsg, removemaster
bind = $mainMod, m, layoutmsg, rollprev
bind = $mainMod SHIFT, m, layoutmsg, rollnext
bind = $mainMod, s, layoutmsg, orientationcycle
# ── Workspaces ────────────────────────────────────────────────────────
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod, 0, togglespecialworkspace, scratchpad
bind = $mainMod SHIFT, 0, movetoworkspace, special:scratchpad
# ── Mouse ─────────────────────────────────────────────────────────────
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

View file

@ -0,0 +1,4 @@
preload = ~/Pictures/wallpaper.jpg
#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
wallpaper = ,~/Pictures/wallpaper.jpg

View file

@ -0,0 +1,77 @@
$rosewater = rgb(f4dbd6)
$rosewaterAlpha = f4dbd6
$flamingo = rgb(f0c6c6)
$flamingoAlpha = f0c6c6
$pink = rgb(f5bde6)
$pinkAlpha = f5bde6
$mauve = rgb(c6a0f6)
$mauveAlpha = c6a0f6
$red = rgb(ed8796)
$redAlpha = ed8796
$maroon = rgb(ee99a0)
$maroonAlpha = ee99a0
$peach = rgb(f5a97f)
$peachAlpha = f5a97f
$yellow = rgb(eed49f)
$yellowAlpha = eed49f
$green = rgb(a6da95)
$greenAlpha = a6da95
$teal = rgb(8bd5ca)
$tealAlpha = 8bd5ca
$sky = rgb(91d7e3)
$skyAlpha = 91d7e3
$sapphire = rgb(7dc4e4)
$sapphireAlpha = 7dc4e4
$blue = rgb(8aadf4)
$blueAlpha = 8aadf4
$lavender = rgb(b7bdf8)
$lavenderAlpha = b7bdf8
$text = rgb(cad3f5)
$textAlpha = cad3f5
$subtext1 = rgb(b8c0e0)
$subtext1Alpha = b8c0e0
$subtext0 = rgb(a5adcb)
$subtext0Alpha = a5adcb
$overlay2 = rgb(939ab7)
$overlay2Alpha = 939ab7
$overlay1 = rgb(8087a2)
$overlay1Alpha = 8087a2
$overlay0 = rgb(6e738d)
$overlay0Alpha = 6e738d
$surface2 = rgb(5b6078)
$surface2Alpha = 5b6078
$surface1 = rgb(494d64)
$surface1Alpha = 494d64
$surface0 = rgb(363a4f)
$surface0Alpha = 363a4f
$base = rgb(24273a)
$baseAlpha = 24273a
$mantle = rgb(1e2030)
$mantleAlpha = 1e2030
$crust = rgb(181926)
$crustAlpha = 181926