From 888b576ea30e754a5eecd9bf28cb1f04048c8920 Mon Sep 17 00:00:00 2001 From: kento2 Date: Wed, 11 Mar 2026 01:16:35 +0100 Subject: [PATCH] . --- add.sh | 5 +++++ files/.config/sxwmrc | 16 ++++++++-------- files/.zprofile | 1 - 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/add.sh b/add.sh index 1d3171b..f172ba9 100755 --- a/add.sh +++ b/add.sh @@ -14,6 +14,11 @@ for arg in $@; do continue } + test -e "files/$file" && { + >&2 echo "$f is already added" + continue + } + mkdir -vp "files/$(dirname "$file")" mv -iv "$arg" "files/$file" ln -vfs "$(realpath "files/$file")" "$arg" diff --git a/files/.config/sxwmrc b/files/.config/sxwmrc index d83fff7..4cd43a1 100644 --- a/files/.config/sxwmrc +++ b/files/.config/sxwmrc @@ -1,5 +1,5 @@ # Colour Themes: -focused_border_colour : #000000 +focused_border_colour : #995500 unfocused_border_colour : #444444 swap_border_colour : #eeeeee @@ -7,20 +7,20 @@ swap_border_colour : #eeeeee gaps : 5 border_width : 3 master_width : 60 # Percentage of screen width -resize_master_amount : 1 +resize_master_amount : 2 resize_stack_amt : 20 move_window_amount : 50 resize_window_amount : 50 snap_distance : 5 motion_throttle : 60 # Set to screen refresh rate for smoothest motions -should_float : "pcmanfm", "obs" +should_float : new_win_focus : true warp_cursor : true floating_on_top : true -new_win_master : false -can_swallow : "st" -can_be_swallowed : "mpv", "sxiv" -start_fullscreen : "mpv", "vlc" +new_win_master : true +can_swallow : "st", "pcmanfm" +can_be_swallowed : "mpv", "sxiv", "nsxiv", "meh", "feh" +start_fullscreen : "vlc" # Keybinds: # Commands must be surrounded with "" @@ -28,7 +28,7 @@ start_fullscreen : "mpv", "vlc" mod_key : super # Application Launchers: -bind : mod + Return : "st" +bind : mod + + shift + Return : "st" bind : mod + shift + s : "librewolf" bind : mod + s : "screenshot" bind : mod + d : "dmenu_run" diff --git a/files/.zprofile b/files/.zprofile index 8856a0a..a62d733 100644 --- a/files/.zprofile +++ b/files/.zprofile @@ -3,7 +3,6 @@ export PATH="$HOME/.local/bin":"$PATH" export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig export XKB_DEFAULT_LAYOUT=de export XBPS_DISTDIR="$HOME/void-packages" -export TOKEN_CMD='spotify-fetcher-gentoken bf2c976a7df646cb9bbe41819d6b6805 "$(pass spotify-secret)"' export EDITOR=/usr/bin/vis