Compare commits
1 Commits
feat/stow-
...
feat/herme
| Author | SHA1 | Date | |
|---|---|---|---|
| f4bdae6f9f |
22
Makefile
22
Makefile
@@ -1,15 +1,10 @@
|
||||
# Define list of directories you want to stow
|
||||
CONFIG_DIRS := btop doom hypr kitty local nvim rclone starship tmux wallpapers waybar wireplumber wofi yazi zsh
|
||||
|
||||
# Local stow package directory (installed to ~/.local)
|
||||
STOW_LOCAL_DIR := local
|
||||
CONFIG_DIRS := btop doom hypr kitty nvim rclone starship tmux wallpapers waybar wireplumber wofi yazi zsh
|
||||
|
||||
all: stow_all
|
||||
wal -i ~/.config/wallpapers/green_yellow_forest.jpg -o ~/.config/waybar/launch.sh
|
||||
neofetch
|
||||
|
||||
.PHONY: all stow_all stow_local stow_rclone post_install_rclone clean
|
||||
|
||||
# Main target to handle stowing for all directories except rclone
|
||||
stow_all: $(filter-out rclone, $(CONFIG_DIRS))
|
||||
@echo "Cleaning broken symlinks in ~/.config..."
|
||||
@@ -26,13 +21,6 @@ stow_%:
|
||||
@echo "Stowing $*"
|
||||
stow -v -t $(HOME) $*
|
||||
|
||||
# Special target for the local stow package
|
||||
stow_local:
|
||||
@echo "Cleaning broken symlinks in ~/.local/share/applications..."
|
||||
find ~/.local/share/applications -xtype l -delete -print
|
||||
@echo "Stowing local package"
|
||||
stow -v -t $(HOME) $(STOW_LOCAL_DIR)
|
||||
|
||||
# Post-installation script for rclone (executed after stowing)
|
||||
post_install_rclone:
|
||||
@echo "Running post-installation script for rclone"
|
||||
@@ -47,11 +35,3 @@ stow_rclone:
|
||||
@echo "Stowing rclone"
|
||||
stow -v -t $(HOME) rclone
|
||||
@$(MAKE) post_install_rclone
|
||||
|
||||
# Unstow all packages
|
||||
clean:
|
||||
@echo "Unstowing all packages..."
|
||||
@for dir in $(CONFIG_DIRS); do \
|
||||
echo "Unstowing $$dir..."; \
|
||||
stow -v -D -t $(HOME) $$dir 2>/dev/null || true; \
|
||||
done
|
||||
|
||||
@@ -77,7 +77,6 @@ exec-once = hypridle
|
||||
exec-once = hyprlock
|
||||
exec-once = /usr/bin/emacs --daemon
|
||||
exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE
|
||||
exec-once = $HOME/.config/waybar/scripts/disk-monitor.sh --daemon
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
@@ -148,8 +147,7 @@ animations {
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
# Note: pseudotile variable removed in 0.55+. Use `pseudo` dispatcher to toggle per-window.
|
||||
# Bound to $mainMod + P below.
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
|
||||
# This prevents the layout from collapsing if you close one window
|
||||
preserve_split = true # You probably want this
|
||||
@@ -221,8 +219,8 @@ bind = $mainMod, E, exec, $editor
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, Z, exec, $zen
|
||||
# togglesplit removed as standalone dispatcher in 0.55+; use `layoutmsg togglesplit` instead
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
#bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, P, togglesplit, # dwindle
|
||||
bind = $mainMod, N, movecurrentworkspacetomonitor, -1
|
||||
bind = $mainMod SHIFT, N, movecurrentworkspacetomonitor, +1
|
||||
bind = $mainMod, X, swapwindow
|
||||
@@ -418,6 +416,12 @@ windowrule {
|
||||
workspace = special:tools
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = qet-xephyr
|
||||
match:class = ^(Xephyr)$
|
||||
tile = true
|
||||
}
|
||||
|
||||
# Bind to launch the suite (Run this once)
|
||||
bind = $mainMod, grave, exec, kitty --class btop btop
|
||||
bind = $mainMod, grave, exec, kitty --class ncspot ncspot
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=QET (Xephyr)
|
||||
Comment=QElectroTech in nested X server for Wayland compatibility
|
||||
Exec=/home/tpouplier/ExoKortex/4-Automata/dotfiles/scripts/qet-xephyr.sh
|
||||
Icon=qelectrotech
|
||||
Type=Application
|
||||
Categories=Graphics;Engineering;
|
||||
Terminal=false
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Launch QElectroTech in a nested Xephyr X server with Openbox
|
||||
# Works around Wayland drag-and-drop issue in QET
|
||||
|
||||
XEPHYR_PID=""
|
||||
|
||||
cleanup() {
|
||||
kill $XEPHYR_PID 2>/dev/null
|
||||
exit 0
|
||||
}
|
||||
trap cleanup SIGINT SIGTERM
|
||||
|
||||
Xephyr -screen 1920x1080 :1 -title QET -br &
|
||||
XEPHYR_PID=$!
|
||||
|
||||
sleep 1
|
||||
DISPLAY=:1 openbox &
|
||||
sleep 0.5
|
||||
DISPLAY=:1 qelectrotech &
|
||||
|
||||
wait $XEPHYR_PID
|
||||
@@ -213,28 +213,6 @@ tooltip label {
|
||||
}
|
||||
|
||||
/* custom modules */
|
||||
#custom-disk-monitor {
|
||||
margin: 0px 0px 0px 5px;
|
||||
padding: 1px 8px 0px 8px;
|
||||
font-size: 16px;
|
||||
color: @text;
|
||||
border-radius: 5px;
|
||||
background-color: @set;
|
||||
}
|
||||
#custom-disk-monitor.warning {
|
||||
background-color: #ff9a3c;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
#custom-disk-monitor.critical {
|
||||
background-color: #dc2f2f;
|
||||
color: #FFFFFF;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#custom-exit {
|
||||
margin: 0px 18px 0px 5px;
|
||||
padding: 0px;
|
||||
|
||||
Reference in New Issue
Block a user