Modular stow folders. Replaced kitty with alacritty

This commit is contained in:
2025-09-01 00:04:34 +02:00
parent ccd05c3ba5
commit 7eae8fe22c
61 changed files with 65 additions and 95 deletions

View File

Before

Width:  |  Height:  |  Size: 288 KiB

After

Width:  |  Height:  |  Size: 288 KiB

View File

@@ -1,6 +1,6 @@
[mgr] [mgr]
sort_by = "extension" sort_by = "extension"
show_hidden = true show_hidden = false
[opener] [opener]
imagefeh = [ imagefeh = [
@@ -30,4 +30,3 @@ rules = [
append_rules = [ append_rules = [
{ name = "*", use = ["edit", "open", "play"]} { name = "*", use = ["edit", "open", "play"]}
] ]

View File

@@ -0,0 +1,41 @@
[window]
opacity = 0.8
[font]
normal = { family = "monospace", style = "Medium" }
[colors.primary]
foreground = "#f7f6ec"
background = "#1c1c1c"
[colors.cursor]
text = "#1d1d1d"
cursor = "#eccf4f"
[colors.selection]
text = "#f7f6ec"
background = "#385776"
[colors.normal]
black = "#343835"
red = "#ce3e60"
green = "#7bb75b"
yellow = "#e8b32a"
blue = "#4c99d3"
magenta = "#a57fc4"
cyan = "#389aac"
white = "#f9faf6"
[colors.bright]
black = "#585a58"
red = "#d18ea6"
green = "#767e2b"
yellow = "#77592e"
blue = "#337879"
magenta = "#7f5190"
cyan = "#76bbca"
white = "#b1b5ae"
[window.padding]
x = 1
y = 1

View File

@@ -1,16 +1,12 @@
#######################################################################################hypr #######################################################################################hypr
# Current setup for mirroring
# TODO: create a keybind for F7 to switch betwen
#monitor=,preferred,auto,1
monitor = , preferred, auto, 1, mirror, eDP-1 monitor = , preferred, auto, 1, mirror, eDP-1
####################################################################################### #######################################################################################
#$terminal = ~/projects/scripts/run_kitty.sh $terminal = alacritty
$terminal = kitty
$explorer = dolphin --platformtheme kvantum $explorer = dolphin --platformtheme kvantum
$menu = tofi-drun --terminal=$terminal | sh $menu = tofi-drun --terminal=kitty | sh # Need to use kitty here
####################################################################################### #######################################################################################
@@ -39,13 +35,10 @@ workspace=7,monitor:HDMI-A-2
workspace=9,monitor:HDMI-A-2 workspace=9,monitor:HDMI-A-2
workspace=0,monitor:HDMI-A-2 workspace=0,monitor:HDMI-A-2
env = HYPRCURSOR_THEME,catppuccin-frappe-rosewater-cursors env = HYPRCURSOR_THEME,catppuccin-frappe-rosewater-cursors
# This cursor needs to bigger than defined in nix becuase I dont know
env = HYPRCURSOR_SIZE,18 env = HYPRCURSOR_SIZE,18
env = WLR_NO_HARDWARE_CURSORS,1 env = WLR_NO_HARDWARE_CURSORS,1
####################################################################################### #######################################################################################
general { general {
@@ -59,34 +52,8 @@ general {
animations { animations {
enabled = no enabled = no
# Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
# NAME, X0, Y0, X1, Y1
bezier = easeOutQuint, 0.23, 1, 0.32, 1
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
bezier = linear, 0, 0, 1, 1
bezier = almostLinear, 0.5, 0.5, 0.75, 1
bezier = quick, 0.15, 0, 0.1, 1
# Default animations, see https://wiki.hypr.land/Configuring/Animations/
# NAME, ONOFF, SPEED, CURVE, [STYLE]
animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = windowsOut, 1, 1.49, linear, popin 87%
animation = fadeIn, 1, 1.73, almostLinear
animation = fadeOut, 1, 1.46, almostLinear
animation = fade, 1, 3.03, quick
animation = layers, 1, 3.81, easeOutQuint
animation = layersIn, 1, 4, easeOutQuint, fade
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
} }
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
} }
@@ -99,18 +66,14 @@ input {
} }
} }
###################
### KEYBINDINGS ###
###################
$mainMod = SUPER $mainMod = SUPER
# Quick openers and default bindings # Quick openers and default bindings
bind = $mainMod, Q, exec, $terminal bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
bind = $mainMod, B, exec, firefox bind = $mainMod, B, exec, firefox
bind = $mainMod, R, exec, kitty -e yazi bind = $mainMod, R, exec, alacritty -e yazi
bind = $mainMod, V, exec, kitty -e nvim bind = $mainMod, V, exec, alacritty -e nvim
bind = $mainMod, M, exit, bind = $mainMod, M, exit,
bind = $mainMod, F, togglefloating, bind = $mainMod, F, togglefloating,
bind = $mainMod, P, exec, $menu bind = $mainMod, P, exec, $menu
@@ -148,8 +111,6 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, F12, exec, ~/projects/scripts/unison_sync.sh bind = $mainMod, F12, exec, ~/projects/scripts/unison_sync.sh
# showing the clipboard history
#bind = SUPER, V, exec, kitty --class clipse -e clipse
# Resizeing with mouse buttons while pressed mod # Resizeing with mouse buttons while pressed mod
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
@@ -166,10 +127,6 @@ bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 3%-
bindt = Super_L, W,exec, pkill -SIGUSR1 waybar bindt = Super_L, W,exec, pkill -SIGUSR1 waybar
bindt = $mainMod SHIFT, L, exec, hyprlock bindt = $mainMod SHIFT, L, exec, hyprlock
#######################################################################################
# Some settings for floating apps
# Ignore maximize requests from apps. You'll probably like this. # Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.* windowrulev2 = suppressevent maximize, class:.*
@@ -179,11 +136,9 @@ windowrulev2 = stayfocused, class:(clipse)
windowrulev2 = float, class:(org.kde.dolphin) windowrulev2 = float, class:(org.kde.dolphin)
# App rules # App rules
# Terminal basekittyd windowrulev2 = workspace 1, class:(Alacritty)
windowrulev2 = workspace 1, class:(kitty) windowrulev2 = workspace 1, class:(kitty)
windowrulev2 = workspace 1, class:(Emacs) windowrulev2 = workspace 1, class:(Emacs)
windowrulev2 = workspace 1, class:(foot)
windowrulev2 = workspace 1, class:(Alacritty)
# Browsers # Browsers
windowrulev2 = workspace 2, class:(firefox) windowrulev2 = workspace 2, class:(firefox)
@@ -245,13 +200,11 @@ windowrulev2 = float, title:(Open File)
windowrulev2 = float, title:(Open Folder) windowrulev2 = float, title:(Open Folder)
windowrulev2 = float, title:(Save As) windowrulev2 = float, title:(Save As)
# fixing the movement for smaller res displays
windowrulev2 = size 450 450, class:(Gnuplot) windowrulev2 = size 450 450, class:(Gnuplot)
windowrulev2 = move 100 203100, class:(Gnuplot) windowrulev2 = move 100 203100, class:(Gnuplot)
windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt) windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt)
windowrulev2 = size 700 700, class:(Qalculate!) windowrulev2 = size 700 700, class:(Qalculate!)
#windowrulev2 = tile, class:^(sioyek)$
windowrulev2 = float, title:(Select Document) windowrulev2 = float, title:(Select Document)
windowrulev2 = size 800 250, class:(org.pulseaudio.pavucontrol) windowrulev2 = size 800 250, class:(org.pulseaudio.pavucontrol)
@@ -259,15 +212,10 @@ windowrulev2 = move 40 80, class:(org.pulseaudio.pavucontrol)
windowrulev2 = float, class:(org.pulseaudio.pavucontrol) windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
windowrulev2 = float, class:(cheese) windowrulev2 = float, class:(cheese)
# Setup drag and drop support for terminal based applications
windowrulev2 = move 50 100, class:(xdragon) windowrulev2 = move 50 100, class:(xdragon)
windowrulev2 = pin, class:(xdragon) windowrulev2 = pin, class:(xdragon)
windowrulev2 = pseudo, class:(xdragon) windowrulev2 = pseudo, class:(xdragon)
#windowrulev2 = opacity 0.9, class:(xdragon)
windowrulev2 = bordersize 30, class:(xdragon) windowrulev2 = bordersize 30, class:(xdragon)
windowrulev2 = bordercolor rgba(b3cc1aee) rgba(a3af1aee), class:(xdragon) windowrulev2 = bordercolor rgba(b3cc1aee) rgba(a3af1aee), class:(xdragon)
windowrulev2 = rounding 3, class:(xdragon) windowrulev2 = rounding 3, class:(xdragon)
#######################################################################################

View File

@@ -1,8 +1,15 @@
############################# #########################################
# common conf across shells # # Common config across different shells #
############################# #########################################
export EDITOR='nvim'
export HTTP_HOME="duckduckgo.com"
export RANGER_LOAD_DEFAULT_RC=false
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:$HOME/.local/bin:/usr/local/bin:$PATH
export MANPAGER="nvim +Man!"
export GOPATH=$HOME/.go
export PATH=$HOME/.go/bin:$PATH
# Setting some aliases
alias on="nvim ~/projects/planner/quick.md" alias on="nvim ~/projects/planner/quick.md"
alias ns="nix-shell -p " alias ns="nix-shell -p "
alias um="umount /mnt/webdav" alias um="umount /mnt/webdav"
@@ -27,7 +34,6 @@ alias m="make"
alias mn="make nix" alias mn="make nix"
alias syn="~/projects/scripts/run_unison.sh" alias syn="~/projects/scripts/run_unison.sh"
alias s="~/projects/scripts/run_unison.sh" alias s="~/projects/scripts/run_unison.sh"
#alias synu="unison MainAll_CIP"
alias rmt="rm /tmp/all_git_projects" alias rmt="rm /tmp/all_git_projects"
alias fu="chch && fla && shd" alias fu="chch && fla && shd"
alias fla="sudo nixos-rebuild switch --flake ~/nixos#" alias fla="sudo nixos-rebuild switch --flake ~/nixos#"
@@ -38,19 +44,8 @@ alias tkkk="tmux kill-server"
alias feh="feh -d" alias feh="feh -d"
alias os="cd /nix/store && yazi" alias os="cd /nix/store && yazi"
export loc="$HOME/files_local/"
# command to rest to the current dir of the tmux session (as in the session name)
# replace a leading _ in the session name with a .
# This breaks the shell if no tmux session is there
# alias rr="\cd ~$(tmux display-message -p '#S' | sed 's/^_/\./')"
# ripgrep all
alias rga="rg --hidden --no-ignore" alias rga="rg --hidden --no-ignore"
# light ripgrep
# Does not work as excpected
#alias rgl='rg --files --hidden --glob "!**/.git/*" --glob "!**/.cache/*" --glob "!**/.local/*" --glob "!**/bigfiles/*" --glob "!**/*.{jpg,png,gif,mp4,mkv,tar,zip,iso}"'
# ripgrep preview
# TODO: make find dotfiles
alias g='nvim -c "lua require(\"telescope.builtin\").live_grep()"' alias g='nvim -c "lua require(\"telescope.builtin\").live_grep()"'
alias n="nvim" alias n="nvim"
alias nr='nvim -c "lua require(\"telescope.builtin\").oldfiles()"' alias nr='nvim -c "lua require(\"telescope.builtin\").oldfiles()"'
@@ -72,36 +67,18 @@ alias chch="~/projects/scripts/check_git.sh"
alias fa="fastfetch" alias fa="fastfetch"
alias gui="Hyprland && clear" alias gui="Hyprland && clear"
alias ls='ls --color=auto' alias ls='ls --color=auto'
# This updates the tofi database
alias tofiu='rm ~/.cache/tofi-drun' alias tofiu='rm ~/.cache/tofi-drun'
alias ll='exa -la ' alias ll='exa -la '
#alias shd="~/projects/scripts/run_unison.sh && pkill -u $(whoami)"
# TODO: implement a way to always sync on startup and shutdown
alias shd="shutdown now" alias shd="shutdown now"
alias ttt='timer -f 10m' alias ttt='timer -f 10m'
alias zshconfig="mate ~/.zshrc" alias zshconfig="mate ~/.zshrc"
alias giter="git add . && git commit -a -m 'auto commit' && git push" alias giter="git add . && git commit -a -m 'auto commit' && git push"
alias grep='grep --color=always' alias grep='grep --color=always'
# Office stuff
alias oiiiii="bash ~/management/office/sync.sh in" alias oiiiii="bash ~/management/office/sync.sh in"
alias ou="bash ~/management/office/sync.sh out" alias ou="bash ~/management/office/sync.sh out"
alias aiiiii="bash ~/projects/scripts/sync_all.sh in" alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
alias au="bash ~/projects/scripts/sync_all.sh out" alias au="bash ~/projects/scripts/sync_all.sh out"
###########################################################################
# Exports #
export EDITOR='nvim'
export HTTP_HOME="duckduckgo.com"
export RANGER_LOAD_DEFAULT_RC=false
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:$HOME/.local/bin:/usr/local/bin:$PATH
export MANPAGER="nvim +Man!"
export PATH=$HOME/go/bin:$PATH
# Used by some scripts as shortcuts
export loc="$HOME/files_local/"

View File

@@ -3,6 +3,11 @@ Host github.com
User git User git
IdentityFile ~/.ssh/id_github IdentityFile ~/.ssh/id_github
Host gitlab.gwdg.de
HostName gitlab.gwdg.de
User git
IdentityFile ~/.ssh/id_gitlab_gwdg
Host strato Host strato
HostName hahn1.one HostName hahn1.one
User root User root