BIG REFACTOR; PLEASE BE ADVISED
finally going to commit that zshrc refactor - smolvsdefault on altaria - i3-utils refactor - no need for custom scwrypt executable anymore - time to say goodbye to the old dotwryn.env in favor of the new and improved rc.ds - vim/rc.d refactor + QuickREPL and QuickCommand replacements for \r and \t - going to stop tracking Archives explicitly until new hard drive - tty-colorscheme is now referenced directly - colorscheme/spring-sunset needed to swap primary/secondary colors for focus in i3 since it was confusing - setup config no longer needs to create ~/.config/wryn/env.vim; added some dependencies to arch-linux - switch from dmenu to rofi by default; allow .i3 overrides in colorschemes; tty-colorscheme is now referenced directly
This commit is contained in:
@ -1,8 +1,29 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
USE_SMOL=false
|
||||
xrandr -q | grep $XRANDR_OUTPUT__smol | grep -v 'disconnected' && {
|
||||
xrandr -q | grep $XRANDR_OUTPUT__smol | grep -qv primary && {
|
||||
USE_SMOL=true
|
||||
}
|
||||
}
|
||||
|
||||
XRANDR_ARGS=()
|
||||
case $USE_SMOL in
|
||||
true )
|
||||
XRANDR_ARGS+=(
|
||||
${XRANDR_ARGS__smol__1080p[@]} --pos 0x0 --primary
|
||||
)
|
||||
;;
|
||||
false )
|
||||
XRANDR_ARGS+=(
|
||||
${XRANDR_ARGS__office__4k[@]} --pos 0x0 --primary
|
||||
${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
XRANDR_SET \
|
||||
--screen-blank disable \
|
||||
${XRANDR_ARGS__office__4k[@]} --pos 0x0 --primary \
|
||||
${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0 \
|
||||
${XRANDR_ARGS[@]} \
|
||||
;
|
||||
|
@ -2,9 +2,8 @@
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
XRANDR_SET \
|
||||
--compositing disable \
|
||||
--compositing enable \
|
||||
--screen-blank disable \
|
||||
--background captain-falcon.jpg \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__smol__1080p[@]} --pos 0x0 --primary \
|
||||
;
|
||||
|
30
bin/i3-utils
30
bin/i3-utils
@ -1,26 +1,24 @@
|
||||
#!/bin/zsh
|
||||
source "$HOME/.config/wryn/env.zsh"
|
||||
case $1 in
|
||||
( next | previous | play-pause ) playerctl $1 ;;
|
||||
( fastforward ) playerctl position 5+ ;;
|
||||
( rewind ) playerctl position 5- ;;
|
||||
|
||||
#next ) scwrypts desktop media -- next ;;
|
||||
#prev ) scwrypts desktop media -- prev ;;
|
||||
#play ) scwrypts desktop media -- play ;;
|
||||
( volumedown ) scwrypts -n desktop pulseaudio -- sink down ;;
|
||||
( volumeup ) scwrypts -n desktop pulseaudio -- sink up ;;
|
||||
( volumemute ) scwrypts -n desktop pulseaudio -- sink mute ;;
|
||||
( micmute ) scwrypts -n desktop pulseaudio -- source mute ;;
|
||||
|
||||
volumeup ) scwrypts desktop pulseaudio -- sink up ;;
|
||||
volumedown ) scwrypts desktop pulseaudio -- sink down ;;
|
||||
volumemute ) scwrypts desktop pulseaudio -- sink mute ;;
|
||||
micmute ) scwrypts desktop pulseaudio -- source mute ;;
|
||||
( backlightup ) scwrypts -n desktop backlight -- up ;;
|
||||
( backlightdown ) scwrypts -n desktop backlight -- down ;;
|
||||
|
||||
backlightup ) scwrypts desktop backlight -- up ;;
|
||||
backlightdown ) scwrypts desktop backlight -- down ;;
|
||||
( lock ) scwrypts -n desktop lock i3 -- ;;
|
||||
|
||||
lock ) scwrypts desktop lock i3 -- ;;
|
||||
( bgrandomize ) scwrypts desktop set i3 background -- random ;;
|
||||
|
||||
bgrandomize ) scwrypts desktop set i3 background -- random ;;
|
||||
( logout ) scwrypts desktop i3 logout -- ;;
|
||||
|
||||
logout ) scwrypts desktop i3 logout -- ;;
|
||||
|
||||
launch )
|
||||
( launch )
|
||||
local PROGRAM
|
||||
local ARGS=()
|
||||
case $2 in
|
||||
@ -40,7 +38,7 @@ case $1 in
|
||||
scwrypts i3 launch or show -- $PROGRAM ${ARGS[@]}
|
||||
;;
|
||||
|
||||
screenshot )
|
||||
( screenshot )
|
||||
command -v deepin-screen-recorder || notify-send "I3 UTILS" "no screenshot application available"
|
||||
deepin-screen-recorder
|
||||
DEEPIN_CONFIG="$HOME/.config/deepin/deepin-screen-recorder/deepin-screen-recorder.conf"
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/zsh
|
||||
__X="$SCWRYPTS_ENV"
|
||||
source $HOME/.config/wryn/env.zsh
|
||||
|
||||
SCWRYPTS_ENV="$__X" "$DOTWRYN/zsh/plugins/scwrypts/scwrypts" $@
|
1
bin/umbreon/scwrypts
Symbolic link
1
bin/umbreon/scwrypts
Symbolic link
@ -0,0 +1 @@
|
||||
../../zsh/plugins/scwrypts/scwrypts
|
Reference in New Issue
Block a user