diff --git a/files/.config/sxwmrc b/files/.config/sxwmrc new file mode 100644 index 0000000..d83fff7 --- /dev/null +++ b/files/.config/sxwmrc @@ -0,0 +1,91 @@ +# Colour Themes: +focused_border_colour : #000000 +unfocused_border_colour : #444444 +swap_border_colour : #eeeeee + +# General Options: +gaps : 5 +border_width : 3 +master_width : 60 # Percentage of screen width +resize_master_amount : 1 +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" +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" + +# Keybinds: +# Commands must be surrounded with "" +# Function calls don't need this +mod_key : super + +# Application Launchers: +bind : mod + Return : "st" +bind : mod + shift + s : "librewolf" +bind : mod + s : "screenshot" +bind : mod + d : "dmenu_run" + +# Window Management: +call : mod + shift + d : close_window +call : mod + c : centre_window +call : mod + shift + e : quit +call : mod + m : toggle_monocle + +# Focus Movement: +call : mod + j : focus_next +call : mod + k : focus_prev + +call : mod + comma : focus_prev_mon +call : mod + period : focus_next_mon +call : mod + shift + comma : move_prev_mon +call : mod + shift + period : move_next_mon + +call : mod + shift + j : master_next +call : mod + shift + k : master_previous +call : mod + l : master_increase +call : mod + h : master_decrease +call : mod + ctrl + l : stack_increase +call : mod + ctrl + h : stack_decrease + +call : mod + Up : move_win_up +call : mod + Down : move_win_down +call : mod + Left : move_win_left +call : mod + Right : move_win_right + +call : mod + shift + Up : resize_win_up +call : mod + shift + Down : resize_win_down +call : mod + shift + Left : resize_win_left +call : mod + shift + Right : resize_win_right + +call : mod + space : toggle_floating +call : mod + shift + space : global_floating +call : mod + g : fullscreen + +call : mod + r : reload_config + +workspace : mod + 1 : move 1 +workspace : mod + shift + 1 : swap 1 +workspace : mod + 2 : move 2 +workspace : mod + shift + 2 : swap 2 +workspace : mod + 3 : move 3 +workspace : mod + shift + 3 : swap 3 +workspace : mod + 4 : move 4 +workspace : mod + shift + 4 : swap 4 +workspace : mod + 5 : move 5 +workspace : mod + shift + 5 : swap 5 +workspace : mod + 6 : move 6 +workspace : mod + shift + 6 : swap 6 +workspace : mod + 7 : move 7 +workspace : mod + shift + 7 : swap 7 +workspace : mod + 8 : move 8 +workspace : mod + shift + 8 : swap 8 +workspace : mod + 9 : move 9 +workspace : mod + shift + 9 : swap 9 diff --git a/files/.winit b/files/.winit index 299637f..c487746 100755 --- a/files/.winit +++ b/files/.winit @@ -5,4 +5,5 @@ mkdir -p "$HOME"/.config/service-env env | while read -r pair; do turnstile-update-runit-env "$(cut -d= -f1 <<< "$pair")" done -exec swc-launch wsxwm +exec startx /usr/bin/sxwm +#exec swc-launch wsxwm diff --git a/files/.zprofile b/files/.zprofile index a62d733..8856a0a 100644 --- a/files/.zprofile +++ b/files/.zprofile @@ -3,6 +3,7 @@ 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