Compare commits

...

65 Commits

Author SHA1 Message Date
882ea6ebc1 scwrypts v5 stuff 2025-06-04 11:44:55 -06:00
f6acbd3cb7 cleanup mplayer config file location 2025-05-25 12:29:38 -06:00
7c2d35cd30 remove company from local/default configuration 2025-05-25 12:29:16 -06:00
d3fd54049d vim dictionary update; switch comments to use "grey" 2025-05-25 12:28:13 -06:00
60bc819ba7 v5 updates 2025-05-25 12:27:44 -06:00
4227e1697f scwrypts to v5 2025-05-25 12:27:30 -06:00
3264693663 gitconfig update; fix a case statement in dotwrynscwrypts 2025-02-21 15:59:14 -07:00
5276d2fb79 little fixes with scwrypts v5 on install 2025-02-21 15:57:49 -07:00
af6c15c774 a bunch of little tweaks for working on smaller screens and other readibility things 2025-02-21 15:57:49 -07:00
0db79302d7 more XDG refactors; now with scwrypts v5 going into main I can finally include FROG 🐸 2025-02-21 15:57:49 -07:00
a20d23ad5e media scwrypts v5 refactor 2025-02-21 15:57:49 -07:00
a3410d9b15 remote scwrypts v5 refactor 2025-02-21 15:57:49 -07:00
f11c6dfad6 dotwryn scwrypts v5 refactor 2025-02-21 15:57:49 -07:00
1b70e44700 the GREAT CONFIG MIGRATION; (scwrypts v5 and some neat new config stuffs) 2025-02-21 15:57:49 -07:00
623828461e setup for macos / fedora stuff 2025-02-21 15:56:07 -07:00
9aac8ab514 more macos stuff 2025-02-04 15:53:18 -07:00
7dba5a85ce more macos stuff 2025-02-04 15:36:54 -07:00
1df4b35d63 more macos stuff 2025-02-04 15:34:44 -07:00
65336b03b6 more macos stuff 2025-02-04 15:31:17 -07:00
6180c7e6be more macos stuff 2025-02-04 15:25:36 -07:00
53cee5aa02 BSD-compliant tee for setup 2025-02-04 15:18:02 -07:00
9ee67e844b oh whoops 2025-02-04 15:13:37 -07:00
1b0ecf16b0 fzf trick 2025-02-04 15:13:12 -07:00
7b54257c54 remove fzf from requirements list on setup 2025-02-04 15:10:52 -07:00
d6578c5d4a start macos compatibility 2025-02-04 15:09:26 -07:00
19ff28d77c fedora targets complete 2025-02-04 11:19:54 -07:00
be771bcb7b go again 2025-02-04 11:07:01 -07:00
683ab967db fedora package installer 2025-02-04 10:52:55 -07:00
f5daa98dc3 fedora upgrades 2025-02-04 10:49:59 -07:00
498868c676 halloween colorscheme 2024-10-16 15:31:00 -06:00
a7496b926a fix the git setup thing 2024-08-16 09:43:47 -06:00
9301a32090 HOKAY; XDG_* refactor 2024-08-16 09:41:26 -06:00
7b70567a67 autostart ssh clients and some other niceties 2024-08-14 20:05:38 -06:00
74323b7568 system init updates; auto create config for first-time local; auto-link sudo vimrc 2024-08-14 19:11:52 -06:00
a29a07c0aa initial pikachu configuration 2024-08-14 19:07:00 -06:00
31c50177f5 systemconfig 2024-08-13 12:46:20 -06:00
bfcc3d0495 fix install bug 2024-08-10 08:47:01 -06:00
8fb43d9754 replace primary screenshot tool with flameshot 2024-08-10 08:46:22 -06:00
f67e0266b5 update colorscheme; flameshot initisl config 2024-08-10 08:45:48 -06:00
50b7525530 fix some monitor settings 2024-07-31 23:17:45 -06:00
3865dec90e reflect new home monitor setup 2024-07-30 21:08:42 -06:00
926e373942 update 2024-07-30 21:02:05 -06:00
bfeee39b5d explicit <BS> instead of localmapleader 2024-07-30 21:02:05 -06:00
cebedf3e07 small tweaks for the home server; improved monitor detection; i3 "game" workspace; local plugin detection improvement; help docs; etc 2024-06-26 18:42:33 -06:00
37b562b5c9 hide the polybar on the even bois 2024-06-26 18:39:22 -06:00
c93dcace2b various vim plugin tweaks 2024-06-26 18:37:28 -06:00
1b71221ca5 burning-death colorscheme added and activated 2024-06-26 18:34:16 -06:00
c109674cf9 backlight and colorscheme updates 2024-06-26 18:33:14 -06:00
40992361c0 scwrypts v5 env templates 2024-05-18 09:42:43 -06:00
89afcef89e vim/quick-command now allows setting the buffer-local command to global with \gst and reset with BACKSPACEt 2024-05-18 09:41:54 -06:00
3a807ef786 scwrypts v5 configs 2024-05-18 09:40:45 -06:00
c5fa4d1056 scwrypts v4.4 config adjustments; added os dependencies; removed dotwryn.env.vim references from setup; generate i3 config on setup 2024-05-08 23:33:55 -06:00
95f26a6322 fonts update 2024-05-08 09:36:50 -06:00
ad66d50b11 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
2024-05-07 21:52:43 -06:00
466d4ec77d fix rofi theme foreground/background; fix alacritty default loading order 2024-04-27 09:50:36 -06:00
466d07923c try to pull desktop background based on colorscheme 2024-04-27 09:50:36 -06:00
d0cfe58dd2 colorscheme fixes 2024-04-27 09:50:36 -06:00
7dff111a84 spring colorscheme setup 2024-04-27 09:50:36 -06:00
6b003c87a2 fix weird directory settings 2024-04-20 08:38:13 -06:00
160941a8fb fix the name 2024-04-16 09:52:02 -06:00
814a9d3cdf default config needs to add a string boi 2024-04-16 09:51:18 -06:00
7853dc185c added missing semicolon 2024-04-16 09:49:58 -06:00
3120e46e77 use new scwrypts --root flag 2024-04-16 09:48:24 -06:00
33b2c6d615 scwrypts v4.3.0 2024-04-16 09:41:28 -06:00
99ec6e9f5a dont symlink scwrypts anymore; lets use the package manager instead 2024-04-15 16:38:03 -06:00
344 changed files with 7598 additions and 2148 deletions

View File

@ -1,10 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
XRANDR_SET \
--compositing disable \
--screen-blank disable \
--background altaria.jpg \
--sound-effect gamedock \
${XRANDR_ARGS__office__1080p[@]} --pos 0x0 --primary \
;

View File

@ -1,10 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
XRANDR_SET \
--compositing disable \
--screen-blank disable \
--background roy-art.jpg \
--sound-effect gamedock \
${XRANDR_ARGS__livingroom__2k[@]} --pos 0x0 --primary \
;

View File

@ -1,8 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
XRANDR_SET \
--screen-blank disable \
${XRANDR_ARGS__office__4k[@]} --pos 0x0 --primary \
${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0 \
;

View File

@ -1,10 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
XRANDR_SET \
--compositing disable \
--screen-blank disable \
--background captain-falcon.jpg \
--sound-effect gamedock \
${XRANDR_ARGS__office__4k[@]} --pos 0x0 --primary \
;

View File

@ -1,10 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
XRANDR_SET \
--compositing disable \
--screen-blank disable \
--background captain-falcon.jpg \
--sound-effect gamedock \
${XRANDR_ARGS__smol__1080p[@]} --pos 0x0 --primary \
;

View File

@ -1,77 +0,0 @@
#!/bin/zsh
source $HOME/.config/wryn/env.zsh
export DISPLAY=:0
#####################################################################
XRANDR_RESOLUTION__4k='3840x2160'
XRANDR_RESOLUTION__2k='2560x1440'
XRANDR_RESOLUTION__1080p='1920x1080'
XRANDR_OUTPUT__office='DP-0'
XRANDR_OUTPUT__livingroom='HDMI-0'
XRANDR_OUTPUT__smol='DP-4'
XRANDR_ARGS__office__4k=(--output $XRANDR_OUTPUT__office --mode $XRANDR_RESOLUTION__4k)
#XRANDR_ARGS__office__2k=() # not available on office monitor
XRANDR_ARGS__office__1080p=(--output $XRANDR_OUTPUT__office --mode $XRANDR_RESOLUTION__1080p)
XRANDR_ARGS__livingroom__4k=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__4k --rate 119.88)
XRANDR_ARGS__livingroom__2k=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__2k)
XRANDR_ARGS__livingroom__1080p=(--output $XRANDR_OUTPUT__livingroom --mode $XRANDR_RESOLUTION__1080p)
XRANDR_ARGS__smol__1080p=(--output $XRANDR_OUTPUT__smol --mode $XRANDR_RESOLUTION__1080p)
#####################################################################
XRANDR_SET() {
local ERRORS=0
local COMPOSITING=enable
local SCREEN_BLANK=enable
local BACKGROUND=purple.jpg
local SOUND_EFFECT=login
local XRANDR_ARGS=()
while [[ $# -gt 0 ]]
do
case $1 in
--compositing ) COMPOSITING="$2" ; shift 1 ;;
--screen-blank ) SCREEN_BLANK="$2" ; shift 1 ;;
--background ) BACKGROUND="$2" ; shift 1 ;;
--sound-effect ) SOUND_EFFECT="$2" ; shift 1 ;;
* ) XRANDR_ARGS+=($1) ;
esac
shift 1
done
case $COMPOSITING in
enable ) (pkill compton; sleep 1; compton;) & ;;
disable ) pkill compton ;;
* )
echo "ERROR : invalid setting '$COMPOSITING' for compositing" >&2
return 1
esac
case $SCREEN_BLANK in
enable | disable ) ;;
* )
echo "ERROR : invalid setting '$SCREEN_BLANK' for screen blank" >&2
return 1
esac
##########################################
scwrypts desktop xrandr disconnect all
xrandr ${XRANDR_ARGS[@]}
sleep 1
scwrypts desktop screen blank -- $SCREEN_BLANK
scwrypts desktop i3 set background -- $BACKGROUND
$DOTWRYN/bin/polybar
scwrypts desktop play sound -- $SOUND_EFFECT
}

View File

@ -1,8 +0,0 @@
#!/bin/zsh
cd $HOME/Projects/python/xorg-midi/code
source ../env/bin/activate
./midi-controller
deactivate

View File

@ -1,55 +0,0 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
case $1 in
#next ) scwrypts desktop media -- next ;;
#prev ) scwrypts desktop media -- prev ;;
#play ) scwrypts desktop media -- play ;;
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 desktop backlight -- up ;;
backlightdown ) scwrypts desktop backlight -- down ;;
lock ) scwrypts desktop lock i3 -- ;;
bgrandomize ) scwrypts desktop set i3 background -- random ;;
logout ) scwrypts desktop i3 logout -- ;;
launch )
local PROGRAM
local ARGS=()
case $2 in
messages ) PROGRAM=slack ARGS+=(-c Slack --has-statusbar-icon) ;;
voice ) PROGRAM=google-voice-desktop ;;
ytmusic ) PROGRAM=youtubemusic-nativefier ;;
1pass ) PROGRAM=1password ARGS+=(-c 1Password) ;;
discord ) PROGRAM=discord ARGS+=(--has-statusbar-icon) ;;
obs ) PROGRAM=obs ARGS+=(-c '^obs' -n -l --has-statusbar-icon) ;;
pavuctrl ) PROGRAM=pavucontrol ARGS+=(-s 0.5 -c '^Pavucontrol') ;;
scrcpy ) PROGRAM=scrcpy ARGS+=(-n -l) ;;
spotify ) PROGRAM=spotify ARGS+=(-c Spotify) ;;
* ) PROGRAM=$2 ;;
esac
scwrypts i3 launch or show -- $PROGRAM ${ARGS[@]}
;;
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"
: \
&& echo "fixing stupid settings" \
&& mv $DEEPIN_CONFIG $DEEPIN_CONFIG.bak \
&& sed '/specifiedSavepath=.*home.*Pictures/d' $DEEPIN_CONFIG.bak > $DEEPIN_CONFIG \
|| mv $DEEPIN_CONFIG.bak $DEEPIN_CONFIG.conf \
;
;;
esac

View File

@ -1,5 +0,0 @@
#!/bin/zsh
__X="$SCWRYPTS_ENV"
source $HOME/.config/wryn/env.zsh
SCWRYPTS_ENV="$__X" "$DOTWRYN/zsh/plugins/scwrypts/scwrypts" $@

View File

@ -1,6 +0,0 @@
#!/bin/zsh
LAYOUT="$DOTWRYN/bin/$(hostnamectl --static)/default"
[ -f $LAYOUT ] && {
until xrandr -q >/dev/null 2>&1; do sleep .1; done
$LAYOUT
}

View File

@ -1,27 +0,0 @@
--- # yamllint disable rule:colons
# do not edit; generated by scwrypts
# theme : main
colors:
primary:
background: '0x000505'
foreground: '0xd0f0f0'
cursor:
cursor: '0xeeddff'
normal:
black: '0x000505'
red: '0xc80064'
green: '0x11bb98'
yellow: '0x6911aa'
blue: '0x2262bb'
magenta: '0x9922dd'
cyan: '0x22ccba'
white: '0xd0f0f0'
bright:
black: '0x424253'
red: '0xff44ff'
green: '0x44dddd'
yellow: '0xaa44ff'
blue: '0x229df6'
magenta: '0xdd88ff'
cyan: '0x88ffff'
white: '0x7e707e'

View File

@ -1,10 +0,0 @@
# do not edit; generated by scwrypts
# theme : main
[colors]
background = #000505
background-alt = #6911aa
foreground = #d0f0f0
primary = #6911aa
secondary = #11bb98
alert = #c80064
disabled = #424253

View File

@ -1 +0,0 @@
/home/w0ryn/.wryn/colorschemes/main.yaml

View File

@ -1,22 +0,0 @@
--- # yamllint disable rule:colons
# DEPRECATED; please refer to alacritty.toml
import:
- ~/.config/alacritty/theme.yml
- ~/.config/alacritty/local.yml
window:
opacity: 0.8
font:
glyph_offset:
x: 0
y: 1
normal:
family: Monaspace Neon
bold:
family: Monaspace Argon
italic:
family: Monaspace Radon

View File

@ -0,0 +1,38 @@
#!/usr/bin/env zsh
command -v /usr/bin/rankmirrors &>/dev/null || {
echo "missing 'rankmirrors'; trying to install..." >&2
yay -S pacman-contrib
}
command -v /usr/bin/rankmirrors &>/dev/null || {
echo "cannot rank mirrors without 'rankmirrors' from pacman-contrib; aborting" >&2
return 1
}
echo 'ranking mirrors; this may take a few minutes...' >&2
{
echo "# mirrors ranked on $(date)"
curl -s 'https://archlinux.org/mirrorlist/?country=US&country=CA&protocol=https&use_mirror_status=on' \
| sed 's/^#Server/Server/; /^#/d'
} | /usr/bin/rankmirrors -n 7 - > "${HOME}/mirrorlist.ranked"
[ -f ~/mirrorlist.ranked ] || {
echo 'failed to rank mirrors :c'
return 1
}
echo "
finished ranking mirrors!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >&2
diff --side-by-side --color /etc/pacman.d/mirrorlist "${HOME}/mirrorlist.ranked" >&2
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
updated list is currently at ~/mirrorlist.ranked; please review the new list
and backup existing list; once you're ready to save them, you can run:
" >&2
echo "sudo mv ~/mirrorlist.ranked /etc/pacman.d/mirrorlist && yay -Syyu"

61
config/bin/i3-utils Executable file
View File

@ -0,0 +1,61 @@
#!/bin/zsh
[ "${DOTWRYN}" ] || {
notify-send 'I3 UTILS' 'cannot determine $DOTWRYN for utility execution'
return 1
}
command -v scwrypts &>/dev/null || {
scwrypts() { "${DOTWRYN}/zsh/plugins/scwrypts/scwrypts" $@; }
}
export CI=true
export DESKTOP__SFX_PATH="${HOME}/Media/sfx"
export SCWRYPTS_LOG_LEVEL=0
#####################################################################
case $1 in
( next | previous | play-pause ) playerctl $1 ;;
( fastforward ) playerctl position 5+ ;;
( rewind ) playerctl position 5- ;;
( volumedown ) scwrypts media pulseaudio volume -- sink down ;;
( volumeup ) scwrypts media pulseaudio volume -- sink up ;;
( volumemute ) scwrypts media pulseaudio volume -- sink mute ;;
( micmute ) scwrypts media pulseaudio volume -- source mute ;;
( backlightup ) scwrypts desktop backlight -- up ;;
( backlightdown ) scwrypts desktop backlight -- down ;;
( lock ) scwrypts desktop lock i3 -- ;;
( bgrandomize ) scwrypts desktop set i3 background -- random ;;
( logout ) scwrypts desktop i3 logout -- ;;
( launch )
local PROGRAM
local ARGS=()
case $2 in
messages ) PROGRAM=slack ARGS+=(-c Slack --has-statusbar-icon) ;;
voice ) PROGRAM=google-voice-desktop ;;
ytmusic ) PROGRAM=youtubemusic-nativefier ;;
1pass ) PROGRAM=1password ARGS+=(-c 1Password) ;;
discord ) PROGRAM=discord ARGS+=(--has-statusbar-icon) ;;
obs ) PROGRAM=obs ARGS+=(-c '^obs' -n -l --has-statusbar-icon) ;;
pavuctrl ) PROGRAM=pavucontrol ARGS+=(-s 0.5 -c '^Pavucontrol') ;;
scrcpy ) PROGRAM=scrcpy ARGS+=(-n -l) ;;
spotify ) PROGRAM=spotify ARGS+=(-c Spotify) ;;
* ) PROGRAM=$2 ;;
esac
scwrypts i3 launch or show -- $PROGRAM ${ARGS[@]}
;;
( screenshot )
command -v flameshot || notify-send "I3 UTILS" "screenshot application 'flameshot' not available"
flameshot gui
;;
esac

View File

@ -1,8 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
command -v polybar || return 0 command -v /usr/bin/polybar || return 0
killall -q polybar killall -q polybar
while pgrep -x polybar &>/dev/null; do sleep 0.1; done while pgrep -x polybar &>/dev/null; do sleep 0.1; done
polybar i3 & /usr/bin/polybar i3 &

View File

@ -0,0 +1,20 @@
#!/bin/zsh
LAYOUT="$DOTWRYN/bin/$(hostnamectl --static)/default"
until xrandr -q >/dev/null 2>&1; do sleep .1; done
[ -f "$LAYOUT" ] \
&& XRANDR_LAYOUT_MODE=manual \
|| XRANDR_LAYOUT_MODE=auto \
;
case $XRANDR_LAYOUT_MODE in
manual )
"$LAYOUT"
;;
auto )
xrandr --auto
;;
esac
unset XRANDR_LAYOUT_MODE
true

View File

@ -38,7 +38,7 @@ material:
secondary: .material.foreground.secondary.500 secondary: .material.foreground.secondary.500
error: .material.foreground.error.500 error: .material.foreground.error.500
foreground: foreground: # default (50-400 = black) (500-900 = white)
primary: primary:
50: .ansi.gray.black 50: .ansi.gray.black
100: .ansi.gray.black 100: .ansi.gray.black

View File

@ -0,0 +1 @@
main

View File

@ -4,9 +4,10 @@
**/ **/
*{ *{
background: #000505; background: #001129;
foreground: #d0f0f0; foreground: #d0f0f0;
background-alt: #9922dd; background-alt: #9922dd;
foreground-alt: #000505;
selected: #000505; selected: #000505;
active: #6911aa; active: #6911aa;
urgent: #c80064; urgent: #c80064;

View File

@ -0,0 +1 @@
../main.yaml

View File

@ -0,0 +1,74 @@
--- # yamllint disable rule:colons
background: .material.primary.900
foreground: .material.primary.50
cursor: .material.secondary.200
alacritty:
transparency: 0.75
background: '#300000'
ansi:
blue:
regular: '#5ab5e0'
bright: '#b9e5f4'
magenta:
regular: .material.primary.400
bright: .material.primary.200
cyan:
regular: .material.secondary.800
bright: .material.secondary.100
material:
base:
secondary: .material.secondary.400
foreground:
secondary: .material.foreground.secondary.400
primary: # replaces ANSI yellow
50: '#ffeaec'
100: '#ffccce'
200: '#f19892'
300: '#e77068'
400: '#df5041'
500: '#c24022'
600: '#b43523'
700: '#922b1e'
800: '#761316'
900: '#570406'
secondary: # replaces ANSI green
50: '#c3e7fe'
100: '#99bafb'
200: '#8eadf8'
300: '#67a0f1'
400: '#3296eb'
500: '#3c8ce3'
600: '#357ccf'
700: '#3c67b4'
800: '#34549b'
900: '#26416e'
error: # replaces ANSI red
50: '#fbe3e9'
100: '#f6b8c8'
200: '#f08ba4'
300: '#e95d80'
400: '#e23b66'
500: '#dc1a4e'
600: '#cc154c'
700: '#b71148'
800: '#a30a45'
900: '#7f033f'
foreground:
primary:
500: .ansi.gray.black
600: .ansi.gray.black
700: .ansi.gray.black
800: .ansi.gray.black
900: .ansi.gray.black
secondary:
400: .ansi.gray.white

View File

@ -0,0 +1,73 @@
--- # yamllint disable rule:colons
ansi:
blue:
regular: '#ac0041'
bright: '#ff283e'
magenta:
regular: .material.primary.500
bright: .material.primary.100
cyan:
regular: .material.error.500
bright: .material.error.100
material:
base:
primary: .material.primary.400
secondary: .material.secondary.900
foreground:
primary: .material.foreground.primary.400
secondary: .material.foreground.secondary.900
primary:
50: '#efe5f9'
100: '#d6bff0'
200: '#bb94e6'
300: '#a066dd'
400: '#8b41d5'
500: '#750dcc'
600: '#6b04c7'
700: '#5c00be'
800: '#4e00b8'
900: '#3700aa'
secondary:
50: '#fff8e1'
100: '#ffecb3'
200: '#ffe082'
300: '#ffd54f'
400: '#ffca28'
500: '#ffc106'
600: '#ffb300'
700: '#ffa000'
800: '#ff8f00'
900: '#ff6f00'
error:
50: '#eaffe5'
100: '#cbffbe'
200: '#a3ff90'
300: '#6cff57'
400: '#00fc00'
500: '#00f900'
600: '#00e700'
700: '#00d100'
800: '#00bc00'
900: '#009600'
foreground:
primary:
400: .ansi.gray.white
secondary:
500: .ansi.gray.black
600: .ansi.gray.black
700: .ansi.gray.black
800: .ansi.gray.black
900: .ansi.gray.black
error:
500: .ansi.gray.black
600: .ansi.gray.black
700: .ansi.gray.black
800: .ansi.gray.black
900: .ansi.gray.black

View File

@ -0,0 +1 @@
/home/w0ryn/.local/share/wryn/colorschemes/main.yaml

View File

@ -0,0 +1,87 @@
--- # yamllint disable rule:colons
background: .material.secondary.900
foreground: .material.secondary.50
alacritty:
transparency: 0.85
i3:
focused:
border: .material.primary.500
indicator: .material.primary.700
text: .material.foreground.primary.500
inactive:
border: .material.secondary.400
indicator: .material.secondary.500
text: .material.foreground.secondary.400
unfocused:
border: .material.secondary.800
indicator: .material.secondary.900
text: .material.foreground.secondary.800
ansi:
blue:
regular: '#5ab5e0'
bright: '#b9e5f4'
magenta:
regular: .material.primary.300
bright: .material.primary.100
cyan:
regular: .material.secondary.300
bright: .material.secondary.100
material:
base:
secondary: .material.secondary.400
foreground:
secondary: .material.foreground.secondary.400
primary: # replaces ANSI yellow
50: '#fdfbe7'
100: '#fbf5c4'
200: '#f8ef9e'
300: '#f5e878'
400: '#f3e35d'
500: '#f2e044'
600: '#f0ce3f'
700: '#ecb737'
800: '#e9a02f'
900: '#e27a22'
secondary: # replaces ANSI green
50: '#e8eaf7'
100: '#c5c9ea'
200: '#9fa6dc'
300: '#7983ce'
400: '#5c68c4'
500: '#404db9'
600: '#3a45af'
700: '#313ba3'
800: '#293097'
900: '#0b1e32'
error: # replaces ANSI red
50: '#fce5ef'
100: '#f9bed7'
200: '#f694bc'
300: '#f468a1'
400: '#f2488b'
500: '#f12875'
600: '#e02671'
700: '#c9236b'
800: '#b32066'
900: '#8d1b5c'
foreground:
primary:
500: .ansi.gray.black
600: .ansi.gray.black
700: .ansi.gray.black
800: .ansi.gray.black
900: .ansi.gray.black
secondary:
400: .ansi.gray.white

View File

@ -1,14 +0,0 @@
" -- RC Resources ----------------------------------------------- {{{
if empty($DOTWRYN)
let $DOTWRYN=expand("$HOME/.wryn")
endif
let $WRYNVIMPATH=expand("$DOTWRYN/vim")
let $WRYNVIMRC=expand("$WRYNVIMPATH/rc.vim")
" }}}
" -- Leader bindings -------------------------------------------- {{{
let mapleader = "\\"
nmap <BS> <Nop>
let maplocalleader = "\<BS>"
" }}}

View File

@ -1,73 +0,0 @@
#####################################################################
### Path References #################################################
#####################################################################
export DOTWRYN="$HOME/.wryn"
export SOURCE_PACKAGES="$HOME/.local/share/source-packages"
export DOTWRYN_UTILS="$DOTWRYN/zsh/plugins/scwrypts/zsh/lib/utils/utils.module.zsh"
RELOAD_ZSH_UTILS() { source $DOTWRYN_UTILS; }
[ ! $DOTWRYN_UTILS_LOADED ] && RELOAD_ZSH_UTILS && export DOTWRYN_UTILS_LOADED=1
#####################################################################
### Application Settings ############################################
#####################################################################
export PREFERRED_EDITOR=(vim vi)
RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
TMUX_DEFAULT_SESSION_NAME='wryn'
PS1_BRANCH_SYMBOL=''
PS1_INDICATOR_SYMBOL='☕'
PS1_SEPARATOR='::'
PS1_USER='%m'
WELCOME () {
{ figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy'; } | lolcat
}
#####################################################################
### External Plugins / Settings #####################################
#####################################################################
# fzf
EXTERNAL_PLUGINS+=(
'/usr/share/fzf/key-bindings.zsh'
'/usr/share/fzf/completion.zsh'
)
export FZF_DEFAULT_OPTS='--reverse --ansi --height 50% --bind=ctrl-c:cancel'
export FZF_DEFAULT_COMMAND='rg --files'
# fzf-tab
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh")
zstyle ':fzf-tab:*' accept-line enter
zstyle ':fzf-tab:*' fzf-bindings 'space:accept' ';:toggle'
zstyle ':fzf-tab:*' continuous-trigger '/'
# scwrypts
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/scwrypts/scwrypts.plugin.zsh")
for e in \
"local.$(hostnamectl --static).secret" \
"local.$(hostnamectl --static)" \
"local"
do export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/environments/scwrypts/$e" ] && break; done
# z
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/z/z.sh")
# code-activator
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/code-activator/activator.plugin.zsh")
# ssh
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/ssh/ssh.plugin.zsh")

View File

@ -0,0 +1,2 @@
Host *
IdentityAgent ~/.1password/agent.sock

View File

@ -0,0 +1,5 @@
PasswordAuthentication no
Match Address 192.168.68.*
PasswordAuthentication yes
Match All

View File

@ -10,44 +10,44 @@ font pango:Monaspace Argon, pango:Noto Color Emoji, pango:Symbols Nerd Font 16
## Custom Utility ############################################################## ## Custom Utility ##############################################################
################################################################################ ################################################################################
set $UTILS /home/w0ryn/.config/i3/utils set $UTILS exec --no-startup-id $DOTWRYN/config/bin/i3-utils
# Audio # Audio
bindsym XF86AudioRewind exec --no-startup-id $UTILS prev bindsym XF86AudioRewind $UTILS previous
bindsym XF86AudioPrev exec --no-startup-id $UTILS prev bindsym XF86AudioPrev $UTILS previous
bindsym XF86AudioForward exec --no-startup-id $UTILS next bindsym XF86AudioForward $UTILS next
bindsym XF86AudioNext exec --no-startup-id $UTILS next bindsym XF86AudioNext $UTILS next
bindsym XF86AudioPlay exec --no-startup-id $UTILS play bindsym XF86AudioPlay $UTILS play-pause
bindsym XF86AudioRaiseVolume exec --no-startup-id $UTILS volumeup bindsym XF86AudioRaiseVolume $UTILS volumeup
bindsym XF86AudioLowerVolume exec --no-startup-id $UTILS volumedown bindsym XF86AudioLowerVolume $UTILS volumedown
bindsym XF86AudioMute exec --no-startup-id $UTILS volumemute bindsym XF86AudioMute $UTILS volumemute
bindsym XF86AudioMicMute exec --no-startup-id $UTILS micmute bindsym XF86AudioMicMute $UTILS micmute
# Screen brightness # Screen brightness
bindsym XF86MonBrightnessUp exec --no-startup-id $UTILS backlightup bindsym XF86MonBrightnessUp $UTILS backlightup
bindsym XF86MonBrightnessDown exec --no-startup-id $UTILS backlightdown bindsym XF86MonBrightnessDown $UTILS backlightdown
# Quick applications # Quick applications
bindsym $mod+Shift+m exec --no-startup-id $UTILS launch messages bindsym $mod+Shift+m $UTILS launch messages
bindsym $mod+Shift+d exec --no-startup-id $UTILS launch discord bindsym $mod+Shift+d $UTILS launch discord
bindsym $mod+c exec --no-startup-id $UTILS launch voice bindsym $mod+c $UTILS launch voice
bindsym $mod+m exec --no-startup-id $UTILS launch ytmusic bindsym $mod+m $UTILS launch ytmusic
bindsym $mod+Shift+s exec --no-startup-id $UTILS launch spotify bindsym $mod+Shift+s $UTILS launch spotify
bindsym $mod+a exec --no-startup-id $UTILS launch pavuctrl bindsym $mod+a $UTILS launch pavuctrl
bindsym $mod+Shift+p exec --no-startup-id $UTILS launch scrcpy bindsym $mod+Shift+p $UTILS launch scrcpy
bindsym $mod+Shift+o exec --no-startup-id $UTILS launch obs bindsym $mod+Shift+o $UTILS launch obs
# Terminal # Terminal
bindsym $mod+Return exec --no-startup-id i3-sensible-terminal bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
# Other # Other
bindsym $mod+p exec --no-startup-id $UTILS bgrandomize bindsym $mod+p $UTILS bgrandomize
bindsym $mod+Shift+minus exec --no-startup-id $UTILS lock bindsym $mod+Shift+minus $UTILS lock
bindsym $mod+space exec --no-startup-id dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25' bindsym $mod+space exec --no-startup-id dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25'
bindsym $mod+backslash exec --no-startup-id $UTILS screenshot bindsym $mod+backslash $UTILS screenshot
################################################################################ ################################################################################
## Window Management and Navigation ############################################ ## Window Management and Navigation ############################################
@ -77,16 +77,17 @@ bindsym $mod+Shift+f focus parent; fullscreen; focus child
bindsym $mod+BackSpace open bindsym $mod+BackSpace open
bindsym $mod+1 workspace number "1" bindsym $mod+1 workspace number "1"; exec --no-startup-id polybar-msg cmd show
bindsym $mod+2 workspace number "2" bindsym $mod+2 workspace number "2"; exec --no-startup-id polybar-msg cmd hide
bindsym $mod+3 workspace number "3" bindsym $mod+3 workspace number "3"; exec --no-startup-id polybar-msg cmd show
bindsym $mod+4 workspace number "4" bindsym $mod+4 workspace number "4"; exec --no-startup-id polybar-msg cmd hide
bindsym $mod+5 workspace number "5" bindsym $mod+5 workspace number "5"; exec --no-startup-id polybar-msg cmd show
bindsym $mod+6 workspace number "6" bindsym $mod+6 workspace number "6"; exec --no-startup-id polybar-msg cmd hide
bindsym $mod+7 workspace number "7" bindsym $mod+7 workspace number "7"; exec --no-startup-id polybar-msg cmd show
bindsym $mod+8 workspace number "8" bindsym $mod+8 workspace number "8"; exec --no-startup-id polybar-msg cmd hide
bindsym $mod+9 workspace number "9" bindsym $mod+9 workspace number "9"; exec --no-startup-id polybar-msg cmd show
bindsym $mod+0 workspace number "0" bindsym $mod+0 workspace "🎧"; exec --no-startup-id polybar-msg cmd hide
bindsym $mod+g workspace "🎮"; exec --no-startup-id polybar-msg cmd hide
bindsym $mod+Shift+1 move container to workspace number "1" bindsym $mod+Shift+1 move container to workspace number "1"
bindsym $mod+Shift+2 move container to workspace number "2" bindsym $mod+Shift+2 move container to workspace number "2"
@ -97,7 +98,8 @@ bindsym $mod+Shift+6 move container to workspace number "6"
bindsym $mod+Shift+7 move container to workspace number "7" bindsym $mod+Shift+7 move container to workspace number "7"
bindsym $mod+Shift+8 move container to workspace number "8" bindsym $mod+Shift+8 move container to workspace number "8"
bindsym $mod+Shift+9 move container to workspace number "9" bindsym $mod+Shift+9 move container to workspace number "9"
bindsym $mod+Shift+0 move container to workspace number "0" bindsym $mod+Shift+0 move container to workspace "🎧"
bindsym $mod+Shift+g move container to workspace "🎮"
mode "resize" { mode "resize" {
bindsym h resize grow width 10 px or 10 ppt bindsym h resize grow width 10 px or 10 ppt
@ -120,12 +122,29 @@ floating_modifier $mod
bindsym $mod+Shift+Tab move scratchpad bindsym $mod+Shift+Tab move scratchpad
bindsym $mod+Tab scratchpad show bindsym $mod+Tab scratchpad show
set $GAMES_CLIENT_CLASSES ^(Steam)|(dolphin-emu)|(Visualboyadvance-m)|(steam_app_.*)$ set $GAMES_CLIENT_CLASSES ^(steam)|(dolphin-emu)|(Visualboyadvance-m)|(steam_app_.*)$
bindsym $mod+Shift+x [class=$GAMES_CLIENT_CLASSES] scratchpad show bindsym $mod+Shift+x [class=$GAMES_CLIENT_CLASSES] scratchpad show
set $TERMINAL_EMULATOR_CLASSES ^(Alacritty)$ set $TERMINAL_EMULATOR_CLASSES ^(Alacritty)$
bindsym $mod+x [class=$TERMINAL_EMULATOR_CLASSES] scratchpad show bindsym $mod+x [class=$TERMINAL_EMULATOR_CLASSES] scratchpad show
# floating window / notification compatibility
for_window [window_role="About"] floating enable
for_window [window_role="Organizer"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="page-info"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="toolbox"] floating enable
for_window [window_role="webconsole"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
for_window [class="[xX]fce4-notifyd"] border pixel 0
# gaming stuff
for_window [class="^steam_app_"] move container to workspace "🎮"
################################################################################ ################################################################################
## i3 Settings ################################################################# ## i3 Settings #################################################################
################################################################################ ################################################################################
@ -141,8 +160,6 @@ for_window [class="^.*"] border pixel 4
gaps inner 0 gaps inner 0
gaps outer 0 gaps outer 0
# prevent borders on xfce4-notifyd
for_window [class="[xX]fce4-notifyd"] border pixel 0
bindsym $mod+z gaps outer current plus 2; gaps inner current plus 2; bindsym $mod+z gaps outer current plus 2; gaps inner current plus 2;
bindsym $mod+shift+z gaps outer current minus 2; gaps inner current minus 2; bindsym $mod+shift+z gaps outer current minus 2; gaps inner current minus 2;
@ -152,6 +169,8 @@ bindsym $mod+shift+z gaps outer current minus 2; gaps inner current minus 2;
################################################################################ ################################################################################
exec --no-startup-id compton exec --no-startup-id compton
exec --no-startup-id 1password --silent
exec --no-startup-id scwrypts omni tmux -- --background
# color settings # color settings
set $FOCUSED_BORDER #006942 set $FOCUSED_BORDER #006942

View File

@ -8,18 +8,18 @@ font:
FontAwesome FontAwesome
application-launcher: >- application-launcher: >-
dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25' "rofi -theme $DOTWRYN/config/rofi.theme.rasi -modes drun,run -show run"
# application-launcher: >-
# dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25'
gaps: gaps:
inner: 0 inner: 0
outer: 0 outer: 0
i3configs: statusbar:
- |- # supported values are 'polybar' and 'i3status'
# for use after any command which should refresh the statusbar type: polybar
set $refresh_statusbar killall -SIGUSR1 i3status
bar { # a list of i3config excerpts that should be appended to the generated config
status_command i3status i3configs: []
}
# - exec_always --no-startup-id $DOTWRYN/bin/polybar &
- exec --no-startup-id i3-msg workspace 1

View File

@ -1,6 +1,8 @@
#!/bin/zsh #!/bin/zsh
source ${0:a:h}/xorg.zsh source ${0:a:h}/xorg.zsh
xrandr --output $XRANDR_OUTPUT__smol --off
XRANDR_SET \ XRANDR_SET \
--compositing disable \ --compositing disable \
--screen-blank disable \ --screen-blank disable \

View File

@ -1,10 +1,12 @@
#!/bin/zsh #!/bin/zsh
source ${0:a:h}/xorg.zsh source ${0:a:h}/xorg.zsh
xrandr --output $XRANDR_OUTPUT__smol --off
XRANDR_SET \ XRANDR_SET \
--compositing disable \ --compositing disable \
--screen-blank disable \ --screen-blank disable \
--background vegeta.jpg \ --background vegeta.jpg \
--sound-effect gamedock \ --sound-effect gamedock \
${XRANDR_ARGS__livingroom__2k[@]} --pos 0x0 --primary \ ${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0 --primary --rate 119.88 \
; ;

View File

@ -4,7 +4,7 @@ tmux new -d -s apps -n 'foreman' 'htop' \; \
split-window -d -t apps:foreman "clear; echo 'Keeping apps fresh...'; while true; do sleep 30; done" \ split-window -d -t apps:foreman "clear; echo 'Keeping apps fresh...'; while true; do sleep 30; done" \
2>/dev/null 2>/dev/null
for APP in $(ls ${0:a:h} | grep -v 'apps') for APP in $(find "${0:a:h}" -name apps.\*)
do do
echo "looking for $APP" echo "looking for $APP"
tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \ tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \

View File

@ -0,0 +1,8 @@
#!/bin/zsh
cd ${XDG_DATA_HOME:-${HOME}/.local/share}/project-source-code/python/xorg-midi/code
source ../env/bin/activate
./midi-controller
deactivate

View File

@ -0,0 +1,15 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh $@
#DISABLE+=(livingroom)
DISABLE+=(bedroom)
DISABLE+=(smol)
XRANDR_OFF ${DISABLE[@]}
XRANDR_SET \
--compositing enable \
--screen-blank disable \
--sound-effect gamedock \
${XRANDR_ARGS__livingroom[@]} --pos 0x0 --primary \
;

View File

@ -0,0 +1,33 @@
#!/bin/zsh
[ $1 ] && RESOLUTION=$1 || RESOLUTION=2k
source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
case $MONITOR_CONFIGURATION in
( home )
XRANDR_SET \
--compositing enable \
--screen-blank disable \
--sound-effect login \
--background ${I3_DEFAULT_THEME_BACKGROUND} \
${XRANDR_ARGS__livingroom[@]} --pos 0x0 \
${XRANDR_ARGS__bedroom[@]} --pos 0x0 \
${XRANDR_ARGS__smol[@]} --pos 0x0 --primary \
;;
( unknown ) # temporary office setup
xrandr --output DP-4 --mode 2560x1440 --pos 0x0 --primary
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
scwrypts desktop screen blank -- disable
"${DOTWRYN}/bin/polybar"
return 0
;;
( unknown )
echo 'unknown state; using default configuration to prevent monitor issues'
xrandr --output $(xrandr | grep ' connected' | awk '{print $1;}') --primary
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
"$DOTWRYN/bin/polybar"
scwrypts desktop play sound -- login
return 0
;;
esac

View File

@ -0,0 +1,15 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh $@
DISABLE+=(livingroom)
DISABLE+=(bedroom)
#DISABLE+=(smol)
XRANDR_OFF ${DISABLE[@]}
XRANDR_SET \
--compositing enable \
--screen-blank disable \
--sound-effect gamedock \
${XRANDR_ARGS__smol[@]} --pos 0x0 --primary \
;

View File

@ -0,0 +1,137 @@
#!/bin/zsh
#####################################################################
XRANDR_OUTPUT__livingroom='HDMI-0'
XRANDR_OUTPUT__bedroom='DP-0'
XRANDR_OUTPUT__smol='DP-4'
I3_DEFAULT_THEME_BACKGROUND=$(scwrypts -n get theme).jpg
MONITOR_CONFIGURATION=unknown
: \
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__livingroom} connected" \
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__bedroom} connected" \
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__smol} connected" \
&& MONITOR_CONFIGURATION=home \
;
#####################################################################
case $1 in
( 1080 | 1080p )
XRANDR_MODE=(--mode 1920x1080)
XRANDR_OFFSET_X=1920
XRANDR_OFFSET_Y=1080
EXTRA_ARGS__livingroom=()
EXTRA_ARGS__bedroom=()
EXTRA_ARGS__smol=()
I3_BACKGROUND=link-vs-gdizz.jpg
;;
( 1440 | 1440p | 2k )
XRANDR_MODE=(--mode 2560x1440)
XRANDR_OFFSET_X=2560
XRANDR_OFFSET_Y=1440
EXTRA_ARGS__livingroom=()
EXTRA_ARGS__bedroom=()
EXTRA_ARGS__smol=()
I3_BACKGROUND=roy-art.jpg
;;
( 2160 | 2160p | 4k | '' ) # default for the RTX5080
XRANDR_MODE=(--mode 3840x2160)
XRANDR_OFFSET_X=3840
XRANDR_OFFSET_Y=2160
EXTRA_ARGS__livingroom=()
EXTRA_ARGS__bedroom=()
EXTRA_ARGS__smol=(--rate 239.99)
I3_BACKGROUND=${I3_DEFAULT_THEME_BACKGROUND[@]}
;;
( * )
echo "error : unknown resolution '$1'"
exit 1
;;
esac
XRANDR_ARGS__livingroom=(--output ${XRANDR_OUTPUT__livingroom[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__livingroom[@]})
XRANDR_ARGS__bedroom=(--output ${XRANDR_OUTPUT__bedroom[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__bedroom[@]})
XRANDR_ARGS__smol=(--output ${XRANDR_OUTPUT__smol[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__smol[@]})
##########################################
source ${HOME}/.config/wryn/env.zsh
export DISPLAY=:0
###############################################################################
XRANDR_OFF() {
local MONITOR ARGS=()
for MONITOR in $@
do
MONITOR="XRANDR_OUTPUT__${MONITOR}"
ARGS+=(--output ${(P)MONITOR} --off)
done
xrandr ${ARGS[@]}
}
XRANDR_SET() {
local ERRORS=0
local COMPOSITING=enable
local SCREEN_BLANK=enable
local BACKGROUND=${I3_BACKGROUND}
local SOUND_EFFECT=login
local XRANDR_ARGS=()
while [[ $# -gt 0 ]]
do
case $1 in
( --compositing ) COMPOSITING="$2" ; shift 1 ;;
( --screen-blank ) SCREEN_BLANK="$2" ; shift 1 ;;
( --background ) BACKGROUND="$2" ; shift 1 ;;
( --sound-effect ) SOUND_EFFECT="$2" ; shift 1 ;;
( * ) XRANDR_ARGS+=($1) ;
esac
shift 1
done
case ${COMPOSITING} in
( enable ) (pkill compton; sleep 1; compton;) & ;;
( disable ) pkill compton ;;
* )
echo "ERROR : invalid setting '${COMPOSITING}' for compositing" >&2
return 1
esac
case ${SCREEN_BLANK} in
enable | disable ) ;;
* )
echo "ERROR : invalid setting '${SCREEN_BLANK}' for screen blank" >&2
return 1
esac
##########################################
# disabling for a moment since the latest X11/NVIDIA drivers are causing some issues after "disconnect all"
#scwrypts desktop xrandr disconnect all
xrandr ${XRANDR_ARGS[@]}
sleep 1
scwrypts desktop screen blank -- ${SCREEN_BLANK}
scwrypts desktop i3 set background -- ${BACKGROUND} || scwrypts desktop i3 set background -- purple.jpg
"${DOTWRYN}/bin/polybar"
scwrypts desktop play sound -- ${SOUND_EFFECT}
}

View File

@ -1,5 +1,5 @@
#!/bin/zsh #!/bin/zsh
source "$HOME/.config/wryn/env.zsh" source "${HOME}/.config/wryn/env.zsh"
NATIVE_MONITOR='eDP1' NATIVE_MONITOR='eDP1'
GET_PRIMARY_MONITOR() { GET_PRIMARY_MONITOR() {
@ -15,7 +15,7 @@ GET_ALL_EXTERNAL_MONITORS() {
xrandr \ xrandr \
| grep ' connect' \ | grep ' connect' \
| awk '{print $1;}' \ | awk '{print $1;}' \
| grep -v "$NATIVE_MONITOR" \ | grep -v "${NATIVE_MONITOR}" \
2>/dev/null 2>/dev/null
} }
GET_DEFAULT_EXTERNAL_MONITOR() { GET_DEFAULT_EXTERNAL_MONITOR() {
@ -34,19 +34,19 @@ DISCONNECT_OTHER() {
for ACTIVE_MONITOR in ${@:2} for ACTIVE_MONITOR in ${@:2}
do do
INACTIVE_MONITORS=$(echo $INACTIVE_MONITORS | grep -v "^$ACTIVE_MONITOR$") INACTIVE_MONITORS=$(echo ${INACTIVE_MONITORS} | grep -v "^${ACTIVE_MONITOR}$")
done done
local MONITOR local MONITOR
for MONITOR in $INACTIVE_MONITORS for MONITOR in ${INACTIVE_MONITORS}
do do
xrandr --output $MONITOR --off xrandr --output ${MONITOR} --off
done done
sleep 1 sleep 1
$DOTWRYN/bin/set-background random ${DOTWRYN}/bin/set-background random
[ $SFX ] && ( $DOTWRYN/bin/play-sound $SFX ) & [ ${SFX} ] && ( scwrypts play sfx -- ${SFX} ) &
return 0 return 0
} }

13
config/local/pikachu/bin/apps Executable file
View File

@ -0,0 +1,13 @@
#!/bin/zsh
tmux new -d -s apps -n 'foreman' 'htop' \; \
split-window -d -t apps:foreman "clear; echo 'Keeping apps fresh...'; while true; do sleep 30; done" \
2>/dev/null
${XDG_DATA_HOME}/home/w0ryn/.local/share/project-source-code/yage/dotwryn/code/config/local/pikachu/bin
for APP in $(find "${0:a:h}" -name apps.\*)
do
echo "looking for $APP"
tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \
|| tmux new-window -dn $APP -t apps: "${0:a:h}/$APP"
done

View File

@ -0,0 +1,13 @@
#!/bin/zsh
cd ${XDG_DATA_HOME:-${HOME}/.local/share}/project-source-code/python/xorg-midi/code
source ../env/bin/activate
while true
do
clear
echo "activating midi controller"
./midi-controller
echo "midi controller died; waiting to reconnect"
sleep 3
done

View File

@ -0,0 +1,6 @@
#!/bin/zsh
xrandr --auto
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
scwrypts desktop screen blank -- enable

View File

@ -0,0 +1,10 @@
#!/bin/zsh
xrandr --auto
xrandr --output HDMI-1-0 --off
sleep 1
xrandr --output HDMI-1-0 --mode 2560x1440
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
scwrypts desktop screen blank -- disable

11
config/local/pikachu/bin/office Executable file
View File

@ -0,0 +1,11 @@
#!/bin/zsh
xrandr --auto
xrandr --output HDMI-1-0 --off
sleep 1
xrandr --output HDMI-1-0 --mode 1920x1080
xrandr --output eDP-1 --off
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
scwrypts desktop screen blank -- disable

View File

@ -0,0 +1 @@
/home/w0ryn/.local/share/wryn/zsh/plugins/scwrypts/scwrypts

View File

@ -0,0 +1,18 @@
#!/bin/bash
[[ $EUID -eq 0 ]] || {
echo "root access required" >&2
exit 1
}
MAX_CHARGE_THRESHOLD=$1
[ "$MAX_CHARGE_THRESHOLD" ] \
|| MAX_CHARGE_THRESHOLD=75
DEVICE_SETTING_FILE=/sys/class/power_supply/BAT1/charge_control_end_threshold
[ "$MAX_CHARGE_THRESHOLD" ] && [[ $MAX_CHARGE_THRESHOLD -ge 40 ]] && [[ $MAX_CHARGE_THRESHOLD -le 100 ]] || {
echo -e "Value '$MAX_CHARGE_THRESHOLD' is invalid. If you REALLY want to do this, overwrite the setting yourself\n$DEVICE_SETTING_FILE" >&2
exit 2
}
echo "$MAX_CHARGE_THRESHOLD" > "$DEVICE_SETTING_FILE"

View File

@ -0,0 +1,7 @@
#!/bin/zsh
xrandr --output HDMI-1-0 --off
xrandr --output eDP-1 --mode 2560x1600
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
scwrypts desktop screen blank -- disable

View File

@ -0,0 +1,40 @@
Section "Files"
ModulePath "/usr/lib/nvidia"
ModulePath "/usr/lib32/nvidia"
ModulePath "/usr/lib32/nvidia/xorg/modules"
ModulePath "/usr/lib32/xorg/modules"
ModulePath "/usr/lib64/nvidia/xorg/modules"
ModulePath "/usr/lib64/nvidia/xorg"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "integrated"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "integrated"
Driver "modesetting"
BusID "PCI:101:0:0"
Option "DRI" "3"
EndSection
Section "Screen"
Identifier "integrated"
Device "integrated"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:100:0:0"
Option "Coolbits" "28"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection

View File

@ -0,0 +1,40 @@
Section "Files"
ModulePath "/usr/lib/nvidia"
ModulePath "/usr/lib32/nvidia"
ModulePath "/usr/lib32/nvidia/xorg/modules"
ModulePath "/usr/lib32/xorg/modules"
ModulePath "/usr/lib64/nvidia/xorg/modules"
ModulePath "/usr/lib64/nvidia/xorg"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "integrated"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "integrated"
Driver "modesetting"
BusID "PCI:101:0:0"
Option "DRI" "3"
EndSection
Section "Screen"
Identifier "integrated"
Device "integrated"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:100:0:0"
Option "Coolbits" "28"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection

View File

@ -0,0 +1 @@
ACTION=="add", RUN+="/home/w0ryn/.local/share/wryn/config/local/pikachu/bin/set-battery-max-charge"

View File

@ -0,0 +1 @@
SUBSYSTEM=="backlight", ACTION=="add", RUN+="/usr/bin/env chgrp video %S%p/brightness", RUN+="/usr/bin/env chmod g+w %S%p/brightness"

View File

@ -0,0 +1,20 @@
--- a/analog-output-speaker.conf
+++ b/analog-output-speaker.conf
@@ -71,12 +71,14 @@
[Element Hardware Master]
switch = mute
-volume = merge
-override-map.1 = all
-override-map.2 = all-left,all-right
+volume = ignore
[Element Master]
switch = mute
+volume = ignore
+
+[Element PCM]
+switch = mute
volume = merge
override-map.1 = all
override-map.2 = all-left,all-right

View File

@ -0,0 +1,2 @@
#!/bin/zsh
sudo patch -p1 -d /usr/share/alsa-card-profile/mixer/paths/ -i "${0:a:h}/pulseaudio.patch"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
[font]
size = 9

View File

@ -14,4 +14,4 @@ pkill compton
scwrypts desktop screen-blank -- disable scwrypts desktop screen-blank -- disable
scwrypts desktop i3 set background -- link-vs-gdizz.jpg scwrypts desktop i3 set background -- link-vs-gdizz.jpg
scwrypts desktop play sound -- gamedock scwrypts desktop play sfx -- gamedock

View File

@ -0,0 +1 @@
../../zsh/plugins/scwrypts/scwrypts

View File

@ -13,5 +13,5 @@ xrandr ${ARGS[@]} \
(pkill compton; sleep 0.5; compton;) & (pkill compton; sleep 0.5; compton;) &
scwrypts desktop screen-blank -- enable scwrypts desktop screen-blank -- enable
scwrypts desktop i3 set background -- random scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg || scwrypts desktop i3 set background -- random
scwrypts desktop play sound -- gamedock scwrypts desktop play sfx -- gamedock

View File

@ -21,7 +21,7 @@ configuration {
/*****----- Global Properties -----*****/ /*****----- Global Properties -----*****/
@import "../colorschemes/active/rofi" @import "./colorschemes/active/rofi"
* { * {
border-colour: var(selected); border-colour: var(selected);
@ -29,18 +29,19 @@ configuration {
background-colour: var(background); background-colour: var(background);
foreground-colour: var(foreground); foreground-colour: var(foreground);
alternate-background: var(background-alt); alternate-background: var(background-alt);
alternate-foreground: var(selected);
normal-background: var(background); normal-background: var(background);
normal-foreground: var(foreground); normal-foreground: var(foreground);
urgent-background: var(urgent); urgent-background: var(urgent);
urgent-foreground: var(background); urgent-foreground: var(background);
active-background: var(active); active-background: var(active);
active-foreground: var(background); active-foreground: var(background);
selected-normal-background: var(selected); selected-normal-background: var(background-alt);
selected-normal-foreground: var(background); selected-normal-foreground: var(selected);
selected-urgent-background: var(active); selected-urgent-background: var(background-alt);
selected-urgent-foreground: var(background); selected-urgent-foreground: var(selected);
selected-active-background: var(urgent); selected-active-background: var(urgent);
selected-active-foreground: var(background); selected-active-foreground: var(selected);
alternate-normal-background: var(background); alternate-normal-background: var(background);
alternate-normal-foreground: var(foreground); alternate-normal-foreground: var(foreground);
alternate-urgent-background: var(urgent); alternate-urgent-background: var(urgent);
@ -176,7 +177,7 @@ element normal.active {
} }
element selected.normal { element selected.normal {
background-color: var(alternate-background); background-color: var(alternate-background);
text-color: var(foreground-colour); text-color: var(alternate-foreground);
} }
element selected.urgent { element selected.urgent {
background-color: var(selected-urgent-background); background-color: var(selected-urgent-background);

View File

@ -3,13 +3,14 @@
# #
SCWRYPTS_SHORTCUT='' # CTRL + W SCWRYPTS_SHORTCUT='' # CTRL + W
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
source "$HOME/.wryn/scwrypts/dotwryn/dotwryn.scwrypts.zsh" #SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
source "$HOME/.wryn/scwrypts/ssh/ssh.scwrypts.zsh" #SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
[ -f "$HOME/Projects/yage/home/code/scwrypts/yagehome.scwrypts.zsh" ] \ SCWRYPTS_GENERATOR__SHOW_HELP=false
&& source "$HOME/Projects/yage/home/code/scwrypts/yagehome.scwrypts.zsh"
[ -f "$HOME/.config/scwrypts/config.local.zsh" ] \ [ ${DOTWRYN} ] || source "${HOME}/.zshrc"
&& source "$HOME/.config/scwrypts/config.local.zsh" SCWRYPTS_GROUP_DIRS+=("${DOTWRYN}/scwrypts")
[ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/scwrypts/config.local.zsh" ] \
&& source "${XDG_CONFIG_HOME:-${HOME}/.config}/scwrypts/config.local.zsh"

View File

@ -1,62 +0,0 @@
#
# scwrypts dot-files config
#
TERMINFO_PATH="$DOTWRYN/config/terminfo"
SAFE_SYMLINKS=0
# lines which begin with '#' are ignored
SYMLINKS="
# --------------------------------------------------------------------------
# fully qualified path ~/.config/THE-REST
# --------------------------------------------------------------------------
$DOTWRYN/bin/i3-utils i3/utils
$DOTWRYN/colorschemes/active/kitty.conf kitty/theme.conf
$DOTWRYN/colorschemes/active/alacritty.toml alacritty/theme.toml
$DOTWRYN/colorschemes/active/alacritty.yaml alacritty/theme.yml
$DOTWRYN/colorschemes/active/getty.sh wryn/tty-colorscheme
$DOTWRYN/config/alacritty.toml alacritty/alacritty.toml
$DOTWRYN/config/alacritty.yaml alacritty/alacritty.yml
$DOTWRYN/config/bat.conf bat/config
$DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh
$DOTWRYN/config/compton.conf compton/compton.conf
$DOTWRYN/config/git.conf git/config
$DOTWRYN/config/htop.conf htop/htoprc
$DOTWRYN/config/i3status.conf i3status/config
$DOTWRYN/config/kitty.conf kitty/kitty.conf
$DOTWRYN/config/mssqlcli.conf mssqlci/config
$DOTWRYN/config/pgcli.conf pgcli/config
$DOTWRYN/config/polybar.ini polybar/config.ini
$DOTWRYN/config/pylint.conf pylintrc
$DOTWRYN/config/ripgrep.conf ripgrep/config
$DOTWRYN/config/scwrypts/config.zsh scwrypts/config.zsh
$DOTWRYN/config/scwrypts/dotfiles.zsh scwrypts/dotfiles.zsh
$DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh
$DOTWRYN/config/tmux.conf tmux/tmux.conf
$DOTWRYN/config/xcompose.conf X11/xcompose
$DOTWRYN/config/xconfig.conf X11/xconfig
$DOTWRYN/config/xinitrc.i3 ../.xinitrc
$DOTWRYN/config/xinitrc.i3 X11/xinitrc
$DOTWRYN/bin/scwrypts ../.local/bin/scwrypts
$DOTWRYN/bin/vim ../.local/bin/vim
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)
$DOTWRYN/config/scwrypts/environments/scwrypts/local scwrypts/environments/scwrypts/local
$DOTWRYN/config/scwrypts/environments/scwrypts/local.altaria scwrypts/environments/scwrypts/local.altaria
$DOTWRYN/config/scwrypts/environments/scwrypts/local.blaziken scwrypts/environments/scwrypts/local.blaziken
$DOTWRYN/config/scwrypts/environments/scwrypts/local.butterfree scwrypts/environments/scwrypts/local.butterfree
$DOTWRYN/config/scwrypts/environments/scwrypts/local.gardevoir scwrypts/environments/scwrypts/local.gardevoir
$DOTWRYN/config/scwrypts/environments/scwrypts/local.umbreon scwrypts/environments/scwrypts/local.umbreon
$DOTWRYN/config/scwrypts/environments/dotwryn/local scwrypts/environments/dotwryn/local
$DOTWRYN/config/scwrypts/environments/dotwryn/local.altaria scwrypts/environments/dotwryn/local.altaria
$DOTWRYN/config/scwrypts/environments/dotwryn/local.blaziken scwrypts/environments/dotwryn/local.blaziken
$DOTWRYN/config/scwrypts/environments/dotwryn/local.butterfree scwrypts/environments/dotwryn/local.butterfree
$DOTWRYN/config/scwrypts/environments/dotwryn/local.gardevoir scwrypts/environments/dotwryn/local.gardevoir
$DOTWRYN/config/scwrypts/environments/dotwryn/local.umbreon scwrypts/environments/dotwryn/local.umbreon
$DOTWRYN/config/scwrypts/environments/remote/local scwrypts/environments/remote/local
$DOTWRYN/config/scwrypts/environments/remote/local.altaria scwrypts/environments/remote/local.altaria
$DOTWRYN/config/scwrypts/environments/remote/local.blaziken scwrypts/environments/remote/local.blaziken
$DOTWRYN/config/scwrypts/environments/remote/local.butterfree scwrypts/environments/remote/local.butterfree
$DOTWRYN/config/scwrypts/environments/remote/local.gardevoir scwrypts/environments/remote/local.gardevoir
$DOTWRYN/config/scwrypts/environments/remote/local.umbreon scwrypts/environments/remote/local.umbreon
"

View File

@ -3,6 +3,9 @@
### scwrypts runtime configuration (group 'dotwryn') ################ ### scwrypts runtime configuration (group 'dotwryn') ################
##################################################################### #####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=
# directory containing sound effects # directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" export DESKTOP__SFX_PATH="$HOME/Media/sfx"
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg"

View File

@ -3,6 +3,9 @@
### scwrypts runtime configuration (group 'dotwryn') ################ ### scwrypts runtime configuration (group 'dotwryn') ################
##################################################################### #####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=
# directory containing sound effects # directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local

View File

@ -3,6 +3,9 @@
### scwrypts runtime configuration (group 'dotwryn') ################ ### scwrypts runtime configuration (group 'dotwryn') ################
##################################################################### #####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=
# directory containing sound effects # directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local

View File

@ -3,6 +3,9 @@
### scwrypts runtime configuration (group 'dotwryn') ################ ### scwrypts runtime configuration (group 'dotwryn') ################
##################################################################### #####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=
# directory containing sound effects # directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local

View File

@ -3,6 +3,9 @@
### scwrypts runtime configuration (group 'dotwryn') ################ ### scwrypts runtime configuration (group 'dotwryn') ################
##################################################################### #####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=
# directory containing sound effects # directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local

View File

@ -0,0 +1,14 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=amdgpu_bl1
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -3,6 +3,9 @@
### scwrypts runtime configuration (group 'dotwryn') ################ ### scwrypts runtime configuration (group 'dotwryn') ################
##################################################################### #####################################################################
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
export DESKTOP__BACKLIGHT_DEVICE=
# directory containing sound effects # directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local

View File

@ -0,0 +1,2 @@
--- # local.altaria > dotwryn
# no configuration set

View File

@ -0,0 +1,2 @@
--- # local.altaria > remote
# no configuration set

View File

@ -0,0 +1,11 @@
--- # local.altaria > scwrypts
media-sync:
targets:
value:
- Pictures
- Documents
- Media
- .local/.porn
- Games/roms
- .local/share/dolphin-emu
- Games/archives

View File

@ -0,0 +1,2 @@
--- # local.blaziken > dotwryn
# no configuration set

View File

@ -0,0 +1,2 @@
--- # local.blaziken > remote
# no configuration set

Some files were not shown because too many files have changed in this diff Show More