Compare commits
82 Commits
0d8f46dc32
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
afaae932cd
|
|||
|
1ac3ac1858
|
|||
|
6839c3c8b3
|
|||
|
468de89920
|
|||
|
e2970c9f4d
|
|||
|
0efb33c947
|
|||
|
882ea6ebc1
|
|||
|
f6acbd3cb7
|
|||
|
7c2d35cd30
|
|||
|
d3fd54049d
|
|||
|
60bc819ba7
|
|||
|
4227e1697f
|
|||
|
3264693663
|
|||
|
5276d2fb79
|
|||
|
af6c15c774
|
|||
|
0db79302d7
|
|||
|
a20d23ad5e
|
|||
|
a3410d9b15
|
|||
|
f11c6dfad6
|
|||
|
1b70e44700
|
|||
|
623828461e
|
|||
|
9aac8ab514
|
|||
|
7dba5a85ce
|
|||
|
1df4b35d63
|
|||
|
65336b03b6
|
|||
|
6180c7e6be
|
|||
|
53cee5aa02
|
|||
|
9ee67e844b
|
|||
|
1b0ecf16b0
|
|||
|
7b54257c54
|
|||
|
d6578c5d4a
|
|||
|
19ff28d77c
|
|||
|
be771bcb7b
|
|||
|
683ab967db
|
|||
|
f5daa98dc3
|
|||
| 498868c676 | |||
|
a7496b926a
|
|||
|
9301a32090
|
|||
| 7b70567a67 | |||
| 74323b7568 | |||
| a29a07c0aa | |||
| 31c50177f5 | |||
| bfcc3d0495 | |||
| 8fb43d9754 | |||
| f67e0266b5 | |||
| 50b7525530 | |||
| 3865dec90e | |||
| 926e373942 | |||
| bfeee39b5d | |||
| cebedf3e07 | |||
| 37b562b5c9 | |||
| c93dcace2b | |||
| 1b71221ca5 | |||
| c109674cf9 | |||
| 40992361c0 | |||
| 89afcef89e | |||
| 3a807ef786 | |||
| c5fa4d1056 | |||
| 95f26a6322 | |||
| ad66d50b11 | |||
| 466d4ec77d | |||
| 466d07923c | |||
| d0cfe58dd2 | |||
| 7dff111a84 | |||
| 6b003c87a2 | |||
| 160941a8fb | |||
| 814a9d3cdf | |||
| 7853dc185c | |||
| 3120e46e77 | |||
| 33b2c6d615 | |||
| 99ec6e9f5a | |||
| 0a992dae3e | |||
| b395d0e339 | |||
| 4d4943840b | |||
| 9ee4014737 | |||
| c3a86efa1b | |||
| 8ccec170b9 | |||
| a0e2024f42 | |||
| a130a3ed15 | |||
| 3648f741e6 | |||
| 9e0a7f3251 | |||
| e34b8c3e05 |
@@ -1,10 +0,0 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
XRANDR_SET \
|
||||
--compositing disable \
|
||||
--screen-blank disable \
|
||||
--background link-vs-gdizz.jpg \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__livingroom__1080p[@]} --pos 0x0 --primary \
|
||||
;
|
||||
@@ -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 \
|
||||
;
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
XRANDR_SET \
|
||||
--compositing disable \
|
||||
--screen-blank disable \
|
||||
--background vegeta.jpg \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__livingroom__2k[@]} --pos 0x0 --primary \
|
||||
;
|
||||
@@ -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 \
|
||||
;
|
||||
@@ -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 \
|
||||
;
|
||||
@@ -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 \
|
||||
;
|
||||
@@ -1,73 +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_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_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
|
||||
scwrypts desktop/play-sound -- $SOUND_EFFECT
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
tmux new -d -s apps -n 'foreman' 'htop' \; \
|
||||
split-window -d -t apps:foreman "while true; do clear; ${0:a:h}/apps; echo 'Keeping apps fresh...'; sleep 30; done" \
|
||||
2>/dev/null
|
||||
|
||||
for APP in $(ls ${0:a:h} | grep -v 'apps')
|
||||
do
|
||||
tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \
|
||||
|| tmux new-window -dn $APP -t apps: "${0:a:h}/$APP"
|
||||
done
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
cd $HOME/Projects/python/xorg-midi/code
|
||||
source ../env/bin/activate
|
||||
|
||||
./midi-controller
|
||||
|
||||
deactivate
|
||||
56
bin/i3-utils
56
bin/i3-utils
@@ -1,56 +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/i3/lock -- ;;
|
||||
|
||||
bgrandomize ) scwrypts desktop/i3/set-background -- random ;;
|
||||
|
||||
alternateterm ) scwrypts desktop/kitty-alternate-theme -- ;;
|
||||
|
||||
logout ) scwrypts desktop/i3/logout -- ;;
|
||||
|
||||
launch )
|
||||
local PROGRAM
|
||||
local ARGS=()
|
||||
case $2 in
|
||||
messages ) PROGRAM=android-messages-desktop ;;
|
||||
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
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/zsh
|
||||
__X="$SCWRYPTS_ENV"
|
||||
source $HOME/.config/wryn/env.zsh
|
||||
|
||||
SCWRYPTS_ENV="$__X" "$DOTWRYN/zsh/plugins/scwrypts/scwrypts" $@
|
||||
@@ -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
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
/home/w0ryn/.wryn/colorschemes/main.conf
|
||||
@@ -1,27 +0,0 @@
|
||||
# do not edit; generated by scwrypts
|
||||
[colors.cursor]
|
||||
cursor = '0xE0D0FF'
|
||||
|
||||
[colors.primary]
|
||||
background = '0x000505'
|
||||
foreground = '0xCFC2E9'
|
||||
|
||||
[colors.normal]
|
||||
black = '0x000505'
|
||||
red = '0xC80064'
|
||||
green = '0x00C864'
|
||||
yellow = '0x6400C8'
|
||||
blue = '0x007D96'
|
||||
magenta = '0x9600FA'
|
||||
cyan = '0x00FAC8'
|
||||
white = '0x7E707E'
|
||||
|
||||
[colors.bright]
|
||||
black = '0x424253'
|
||||
red = '0x640032'
|
||||
green = '0x006432'
|
||||
yellow = '0x320064'
|
||||
blue = '0x00324B'
|
||||
magenta = '0x640096'
|
||||
cyan = '0x009664'
|
||||
white = '0xC0B0C0'
|
||||
@@ -1,26 +0,0 @@
|
||||
--- # yamllint disable rule:colons
|
||||
# do not edit; generated by scwrypts
|
||||
colors:
|
||||
primary:
|
||||
background: '0x000505'
|
||||
foreground: '0xCFC2E9'
|
||||
cursor:
|
||||
cursor: '0xE0D0FF'
|
||||
normal:
|
||||
black: '0x000505'
|
||||
red: '0xC80064'
|
||||
green: '0x00C864'
|
||||
yellow: '0x6400C8'
|
||||
blue: '0x007D96'
|
||||
magenta: '0x9600FA'
|
||||
cyan: '0x00FAC8'
|
||||
white: '0x7E707E'
|
||||
bright:
|
||||
black: '0x424253'
|
||||
red: '0x640032'
|
||||
green: '0x006432'
|
||||
yellow: '0x320064'
|
||||
blue: '0x00324B'
|
||||
magenta: '0x640096'
|
||||
cyan: '0x009664'
|
||||
white: '0xC0B0C0'
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
# source this file to apply colorscheme to linux getty
|
||||
[[ "$TERM" =~ ^linux$ ]] || return 0
|
||||
|
||||
/bin/echo -e " ]P0000505 ]P1C80064 ]P200C864 ]P36400C8 ]P4007D96 ]P59600FA ]P600FAC8 ]P7CFC2E9 ]P8640032 ]P9006432 ]PA320064 ]PB00324B ]PC640096 ]PD009664 ]PE7E707E ]PFC0B0C0 "
|
||||
[ ! $NO_CLEAR ] && clear
|
||||
return 0
|
||||
@@ -1,29 +0,0 @@
|
||||
background #0a0603
|
||||
foreground #f4e2c8
|
||||
selection_background #f5994c
|
||||
selection_foreground #000000
|
||||
cursor #f5492c
|
||||
|
||||
color0 #000000
|
||||
color8 #b3f7ad
|
||||
|
||||
color1 #d5252b
|
||||
color9 #d33449
|
||||
|
||||
color2 #58dd5a
|
||||
color10 #83e613
|
||||
|
||||
color3 #bd8a13
|
||||
color11 #ddaa33
|
||||
|
||||
color4 #ffb930
|
||||
color12 #ffd960
|
||||
|
||||
color5 #8b2487
|
||||
color13 #bb24b7
|
||||
|
||||
color6 #672f99
|
||||
color14 #875fca
|
||||
|
||||
color7 #ff9e3c
|
||||
color15 #f9ffde
|
||||
@@ -1,29 +0,0 @@
|
||||
background #000505
|
||||
foreground #ccddff
|
||||
selection_background #002210
|
||||
selection_foreground #ff0047
|
||||
cursor #46ffb6
|
||||
|
||||
color0 #22262b
|
||||
color8 #3d444e
|
||||
|
||||
color1 #a2152d
|
||||
color9 #ff1440
|
||||
|
||||
color2 #288b52
|
||||
color10 #55c9b5
|
||||
|
||||
color3 #489358
|
||||
color11 #5bf887
|
||||
|
||||
color4 #0ea1ee
|
||||
color12 #00ffff
|
||||
|
||||
color5 #a03c6f
|
||||
color13 #cf4663
|
||||
|
||||
color6 #8195a2
|
||||
color14 #dff5fe
|
||||
|
||||
color7 #486a8a
|
||||
color15 #ebfff2
|
||||
@@ -1,29 +0,0 @@
|
||||
background #000500
|
||||
foreground #7aff30
|
||||
selection_background #ffff00
|
||||
selection_foreground #000000
|
||||
cursor #aaff00
|
||||
|
||||
color0 #282a2e
|
||||
color8 #373b41
|
||||
|
||||
color1 #bb3852
|
||||
color9 #ff6683
|
||||
|
||||
color2 #4f69bc
|
||||
color10 #a6bcea
|
||||
|
||||
color3 #b37128
|
||||
color11 #fcf160
|
||||
|
||||
color4 #27a14a
|
||||
color12 #81f26c
|
||||
|
||||
color5 #754a8d
|
||||
color13 #bba6c7
|
||||
|
||||
color6 #faf37f
|
||||
color14 #898909
|
||||
|
||||
color7 #707880
|
||||
color15 #c5c8c6
|
||||
@@ -1,29 +0,0 @@
|
||||
background #100010
|
||||
foreground #ffddee
|
||||
selection_background #aa00ff
|
||||
selection_foreground #200010
|
||||
cursor #ff6d00
|
||||
|
||||
color0 #100000
|
||||
color8 #424242
|
||||
|
||||
color1 #5fff00
|
||||
color9 #71fe9a
|
||||
|
||||
color2 #ff8200
|
||||
color10 #ee9500
|
||||
|
||||
color3 #ffde48
|
||||
color11 #bbb875
|
||||
|
||||
color4 #ff0000
|
||||
color12 #dd4e4e
|
||||
|
||||
color5 #cd00ff
|
||||
color13 #8a41d5
|
||||
|
||||
color6 #cc4ccc
|
||||
color14 #994999
|
||||
|
||||
color7 #999999
|
||||
color15 #696969
|
||||
@@ -1,29 +0,0 @@
|
||||
background #000505
|
||||
foreground #cfc2e9
|
||||
selection_background #01b282
|
||||
selection_foreground #441580
|
||||
cursor #e0d0ff
|
||||
|
||||
color0 #000505
|
||||
color8 #424253
|
||||
|
||||
color1 #c80064
|
||||
color9 #640032
|
||||
|
||||
color2 #00c864
|
||||
color10 #006432
|
||||
|
||||
color3 #6400c8
|
||||
color11 #320064
|
||||
|
||||
color4 #007d96
|
||||
color12 #00324b
|
||||
|
||||
color5 #9600fa
|
||||
color13 #640096
|
||||
|
||||
color6 #00fac8
|
||||
color14 #009664
|
||||
|
||||
color7 #7e707e
|
||||
color15 #c0b0c0
|
||||
@@ -1,29 +0,0 @@
|
||||
background #020009
|
||||
foreground #dff5ff
|
||||
selection_background #01b282
|
||||
selection_foreground #441580
|
||||
cursor #dff5ff
|
||||
|
||||
color0 #282a2e
|
||||
color8 #373b41
|
||||
|
||||
color1 #970909
|
||||
color9 #eb3d3d
|
||||
|
||||
color2 #01b282
|
||||
color10 #35ebba
|
||||
|
||||
color3 #441580
|
||||
color11 #8f45ed
|
||||
|
||||
color4 #055e6b
|
||||
color12 #4fe1f6
|
||||
|
||||
color5 #036042
|
||||
color13 #49e1b0
|
||||
|
||||
color6 #2e36aa
|
||||
color14 #5059e0
|
||||
|
||||
color7 #707880
|
||||
color15 #c5c8c6
|
||||
@@ -1,29 +0,0 @@
|
||||
background #000505
|
||||
foreground #ffffff
|
||||
selection_background #008847
|
||||
selection_foreground #000000
|
||||
cursor #008847
|
||||
|
||||
color0 #101313
|
||||
color8 #3a4044
|
||||
|
||||
color1 #d1006b
|
||||
color9 #91002b
|
||||
|
||||
color2 #47f447
|
||||
color10 #006610
|
||||
|
||||
color3 #9e00db
|
||||
color11 #5f0096
|
||||
|
||||
color4 #0030f6
|
||||
color12 #000099
|
||||
|
||||
color5 #fafa70
|
||||
color13 #663000
|
||||
|
||||
color6 #20aab7
|
||||
color14 #003c35
|
||||
|
||||
color7 #a0a9aa
|
||||
color15 #787884
|
||||
@@ -1,29 +0,0 @@
|
||||
background #050500
|
||||
foreground #ddfda8
|
||||
selection_background #ffff00
|
||||
selection_foreground #000000
|
||||
cursor #aaff00
|
||||
|
||||
color0 #40a000
|
||||
color8 #00dd33
|
||||
|
||||
color1 #ffff00
|
||||
color9 #aaaa00
|
||||
|
||||
color2 #2aef7c
|
||||
color10 #5cbc84
|
||||
|
||||
color3 #78ff00
|
||||
color11 #008b20
|
||||
|
||||
color4 #00ff88
|
||||
color12 #bfea83
|
||||
|
||||
color5 #00a000
|
||||
color13 #003000
|
||||
|
||||
color6 #07ff4f
|
||||
color14 #648800
|
||||
|
||||
color7 #305830
|
||||
color15 #002800
|
||||
@@ -1,29 +0,0 @@
|
||||
background #050000
|
||||
foreground #ddffdd
|
||||
selection_background #a52000
|
||||
selection_foreground #000000
|
||||
cursor #a52000
|
||||
|
||||
color0 #101313
|
||||
color8 #3a4044
|
||||
|
||||
color1 #e60000
|
||||
color9 #a61515
|
||||
|
||||
color2 #53ab00
|
||||
color10 #5ed200
|
||||
|
||||
color3 #bcba00
|
||||
color11 #f0f674
|
||||
|
||||
color4 #2a8dae
|
||||
color12 #6187cf
|
||||
|
||||
color5 #ab0494
|
||||
color13 #f04ec9
|
||||
|
||||
color6 #ff8800
|
||||
color14 #d78e53
|
||||
|
||||
color7 #a0a9aa
|
||||
color15 #787884
|
||||
@@ -1,29 +0,0 @@
|
||||
background #150600
|
||||
foreground #f8ead7
|
||||
selection_background #e5591c
|
||||
selection_foreground #1b0024
|
||||
cursor #f8ead7
|
||||
|
||||
color0 #1f0303
|
||||
color8 #3a3836
|
||||
|
||||
color1 #d04f4e
|
||||
color9 #990906
|
||||
|
||||
color2 #b674f5
|
||||
color10 #8b21fe
|
||||
|
||||
color3 #ebbe77
|
||||
color11 #ffd100
|
||||
|
||||
color4 #8b583b
|
||||
color12 #693d00
|
||||
|
||||
color5 #d55f41
|
||||
color13 #ff4928
|
||||
|
||||
color6 #cdb10d
|
||||
color14 #14ff7c
|
||||
|
||||
color7 #e5e5e5
|
||||
color15 #ffffff
|
||||
@@ -1,29 +0,0 @@
|
||||
background #150015
|
||||
foreground #e3dfd2
|
||||
selection_background #ff00aa
|
||||
selection_foreground #ffffff
|
||||
cursor #ffdddd
|
||||
|
||||
color0 #460020
|
||||
color8 #900045
|
||||
|
||||
color1 #db133f
|
||||
color9 #df5472
|
||||
|
||||
color2 #dc39dc
|
||||
color10 #ed7bee
|
||||
|
||||
color3 #7918f4
|
||||
color11 #7d72fe
|
||||
|
||||
color4 #951255
|
||||
color12 #e75ba2
|
||||
|
||||
color5 #7d1295
|
||||
color13 #934ba3
|
||||
|
||||
color6 #f1195a
|
||||
color14 #e75c84
|
||||
|
||||
color7 #deb88d
|
||||
color15 #fee3cd
|
||||
@@ -1,29 +0,0 @@
|
||||
background #000505
|
||||
foreground #e0f7ff
|
||||
selection_background #1e4862
|
||||
selection_foreground #ffffff
|
||||
cursor #aad7e6
|
||||
|
||||
color0 #02140d
|
||||
color8 #02db88
|
||||
|
||||
color1 #d05023
|
||||
color9 #d38677
|
||||
|
||||
color2 #027b9b
|
||||
color10 #618c98
|
||||
|
||||
color3 #7b70af
|
||||
color11 #7d72fe
|
||||
|
||||
color4 #3d8890
|
||||
color12 #1abcdd
|
||||
|
||||
color5 #68d3f0
|
||||
color13 #bbe3ee
|
||||
|
||||
color6 #50a3b5
|
||||
color14 #86abb3
|
||||
|
||||
color7 #deb88d
|
||||
color15 #fee3cd
|
||||
@@ -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
|
||||
0
config/altaria/user/i3/local.yaml
Normal file
0
config/altaria/user/i3/local.yaml
Normal file
0
config/altaria/user/polybar/local.ini
Normal file
0
config/altaria/user/polybar/local.ini
Normal file
38
config/bin/arch-linux-rank-mirrors
Executable file
38
config/bin/arch-linux-rank-mirrors
Executable 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"
|
||||
66
config/bin/i3-utils
Executable file
66
config/bin/i3-utils
Executable file
@@ -0,0 +1,66 @@
|
||||
#!/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 $(hostnamectl --static) in
|
||||
( pikachu )
|
||||
export DESKTOP__BACKLIGHT_DEVICE=amdgpu_bl1
|
||||
;;
|
||||
esac
|
||||
|
||||
#####################################################################
|
||||
|
||||
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=youtube-music-desktop-app ARGS+=(-c '"YouTube Music Desktop App"' --has-statusbar-icon) ;;
|
||||
|
||||
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=youtube-music-desktop-app ARGS+=(-c '"YouTube Music Desktop App"' --has-statusbar-icon) ;;
|
||||
|
||||
* ) 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
|
||||
8
config/bin/polybar
Executable file
8
config/bin/polybar
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
command -v /usr/bin/polybar || return 0
|
||||
|
||||
killall -q polybar
|
||||
|
||||
while pgrep -x polybar &>/dev/null; do sleep 0.1; done
|
||||
|
||||
/usr/bin/polybar i3 &
|
||||
14
config/bin/reload-xkeymap
Executable file
14
config/bin/reload-xkeymap
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
[ "${DISPLAY}" ] || DISPLAY=":0"
|
||||
|
||||
XKEYMAP_FILE="${XDG_CONFIG_HOME:-${HOME}/.config}/X11/xkeymap"
|
||||
|
||||
[ -f "${XKEYMAP_FILE}" ] || return 0
|
||||
|
||||
command -v xkbcomp &>/dev/null || {
|
||||
echo "ERROR : missing 'xkbcomp' so I couldn't load ${XKEYMAP_FILE}"
|
||||
return 1
|
||||
}
|
||||
|
||||
xkbcomp "${XKEYMAP_FILE}" "${DISPLAY}"
|
||||
20
config/bin/xorg-activate-default
Executable file
20
config/bin/xorg-activate-default
Executable 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
|
||||
Binary file not shown.
74
config/colorschemes/active/default.yaml
Normal file
74
config/colorschemes/active/default.yaml
Normal file
@@ -0,0 +1,74 @@
|
||||
--- # yamllint disable rule:colons
|
||||
ansi:
|
||||
red:
|
||||
regular: .material.base.error
|
||||
bright: .material.error.200
|
||||
|
||||
green:
|
||||
regular: .material.base.secondary
|
||||
bright: .material.secondary.200
|
||||
|
||||
yellow:
|
||||
regular: .material.base.primary
|
||||
bright: .material.primary.200
|
||||
|
||||
gray:
|
||||
black: '#000505'
|
||||
regular: '#424253'
|
||||
bright: '#7e707e'
|
||||
white: '#d0f0f0'
|
||||
|
||||
|
||||
background: .ansi.gray.black
|
||||
foreground: .ansi.gray.white
|
||||
|
||||
selection:
|
||||
background: .material.base.primary
|
||||
foreground: .material.base.foreground.primary
|
||||
|
||||
cursor: .material.primary.50
|
||||
|
||||
material:
|
||||
base:
|
||||
primary: .material.primary.500
|
||||
secondary: .material.secondary.500
|
||||
error: .material.error.500
|
||||
foreground:
|
||||
primary: .material.foreground.primary.500
|
||||
secondary: .material.foreground.secondary.500
|
||||
error: .material.foreground.error.500
|
||||
|
||||
foreground: # default (50-400 = black) (500-900 = white)
|
||||
primary:
|
||||
50: .ansi.gray.black
|
||||
100: .ansi.gray.black
|
||||
200: .ansi.gray.black
|
||||
300: .ansi.gray.black
|
||||
400: .ansi.gray.black
|
||||
500: .ansi.gray.white
|
||||
600: .ansi.gray.white
|
||||
700: .ansi.gray.white
|
||||
800: .ansi.gray.white
|
||||
900: .ansi.gray.white
|
||||
secondary:
|
||||
50: .ansi.gray.black
|
||||
100: .ansi.gray.black
|
||||
200: .ansi.gray.black
|
||||
300: .ansi.gray.black
|
||||
400: .ansi.gray.black
|
||||
500: .ansi.gray.white
|
||||
600: .ansi.gray.white
|
||||
700: .ansi.gray.white
|
||||
800: .ansi.gray.white
|
||||
900: .ansi.gray.white
|
||||
error:
|
||||
50: .ansi.gray.black
|
||||
100: .ansi.gray.black
|
||||
200: .ansi.gray.black
|
||||
300: .ansi.gray.black
|
||||
400: .ansi.gray.black
|
||||
500: .ansi.gray.white
|
||||
600: .ansi.gray.white
|
||||
700: .ansi.gray.white
|
||||
800: .ansi.gray.white
|
||||
900: .ansi.gray.white
|
||||
11
config/colorschemes/active/getty.sh
Normal file
11
config/colorschemes/active/getty.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# do not edit; generated by scwrypts
|
||||
# theme : winter
|
||||
#
|
||||
# source this file to apply colorscheme to linux getty
|
||||
#
|
||||
[[ "$TERM" =~ ^linux$ ]] || return 0
|
||||
/bin/echo -e " ]P0000505 ]P1d11455 ]P2906556 ]P300ffe7 ]P43d8890 ]P57b70af ]P650a3b5 ]P7d0f0f0 ]P8f48bae ]P9cfb8af ]PA8bfff4 ]PB1abcdd ]PC7d72fe ]PD86abb3 ]PEd0f0f0 ]PF7e707e "
|
||||
[ ! $NO_CLEAR ] && clear
|
||||
return 0
|
||||
sed $d
|
||||
1
config/colorschemes/active/name.txt
Normal file
1
config/colorschemes/active/name.txt
Normal file
@@ -0,0 +1 @@
|
||||
winter
|
||||
14
config/colorschemes/active/rofi.rasi
Normal file
14
config/colorschemes/active/rofi.rasi
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* do not edit; generated by scwrypts
|
||||
* theme : winter
|
||||
**/
|
||||
|
||||
*{
|
||||
background: #100906;
|
||||
foreground: #d0f0f0;
|
||||
background-alt: #007469;
|
||||
foreground-alt: #d0f0f0;
|
||||
selected: #d0f0f0;
|
||||
active: #00ffe7;
|
||||
urgent: #d11455;
|
||||
}
|
||||
1
config/colorschemes/active/source.yaml
Symbolic link
1
config/colorschemes/active/source.yaml
Symbolic link
@@ -0,0 +1 @@
|
||||
../winter.yaml
|
||||
74
config/colorschemes/burning-death.yaml
Normal file
74
config/colorschemes/burning-death.yaml
Normal 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
|
||||
73
config/colorschemes/halloween.yaml
Normal file
73
config/colorschemes/halloween.yaml
Normal 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
|
||||
61
config/colorschemes/main.yaml
Normal file
61
config/colorschemes/main.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
--- # yamllint disable rule:colons
|
||||
ansi:
|
||||
blue:
|
||||
regular: '#2262bb'
|
||||
bright: '#229df6'
|
||||
|
||||
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: '#eeddff'
|
||||
100: '#dd88ff'
|
||||
200: '#aa44ff'
|
||||
300: '#9922dd'
|
||||
400: '#8811cc'
|
||||
500: '#6911aa'
|
||||
600: '#490099'
|
||||
700: '#420069'
|
||||
800: '#220069'
|
||||
900: '#110029'
|
||||
|
||||
secondary: # replaces ANSI green
|
||||
50: '#ddffff'
|
||||
100: '#88ffff'
|
||||
200: '#44dddd'
|
||||
300: '#22ccba'
|
||||
400: '#11bb98'
|
||||
500: '#00aa79'
|
||||
600: '#009949'
|
||||
700: '#006942'
|
||||
800: '#006922'
|
||||
900: '#001129'
|
||||
|
||||
error: # replaces ANSI red
|
||||
50: '#ffddff'
|
||||
100: '#ff88ff'
|
||||
200: '#ff44ff'
|
||||
300: '#ee22ba'
|
||||
400: '#dd1198'
|
||||
500: '#c80064'
|
||||
600: '#990049'
|
||||
700: '#790032'
|
||||
800: '#690022'
|
||||
900: '#290011'
|
||||
|
||||
foreground:
|
||||
secondary:
|
||||
500: .ansi.gray.black
|
||||
error:
|
||||
400: .ansi.gray.white
|
||||
87
config/colorschemes/spring-sunset.yaml
Normal file
87
config/colorschemes/spring-sunset.yaml
Normal 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
|
||||
86
config/colorschemes/winter.yaml
Normal file
86
config/colorschemes/winter.yaml
Normal file
@@ -0,0 +1,86 @@
|
||||
--- # yamllint disable rule:colons
|
||||
ansi:
|
||||
blue:
|
||||
regular: '#3d8890'
|
||||
bright: '#1abcdd'
|
||||
|
||||
magenta:
|
||||
regular: '#7b70af'
|
||||
bright: '#7d72fe'
|
||||
|
||||
cyan:
|
||||
regular: '#50a3b5'
|
||||
bright: '#86abb3'
|
||||
|
||||
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
|
||||
|
||||
rofi:
|
||||
background-alt: .material.primary.800
|
||||
foreground-alt: .material.foreground.primary.800
|
||||
selected: .material.foreground.primary.800
|
||||
|
||||
polybar:
|
||||
background-alt: .material.primary.800
|
||||
|
||||
material:
|
||||
base:
|
||||
secondary: .material.secondary.500
|
||||
foreground:
|
||||
secondary: .material.foreground.secondary.500
|
||||
|
||||
primary: # replaces ANSI yellow
|
||||
50: '#e8fffd'
|
||||
100: '#b9fff9'
|
||||
200: '#8bfff4'
|
||||
300: '#5dfff0'
|
||||
400: '#2effec'
|
||||
500: '#00ffe7'
|
||||
600: '#00d1bd'
|
||||
700: '#00a293'
|
||||
800: '#007469'
|
||||
900: '#00463f'
|
||||
|
||||
secondary: # replaces ANSI green
|
||||
50: '#f5f1ef'
|
||||
100: '#e2d4cf'
|
||||
200: '#cfb8af'
|
||||
300: '#bc9b8f'
|
||||
400: '#a97f6f'
|
||||
500: '#906556'
|
||||
600: '#704f43'
|
||||
700: '#503830'
|
||||
800: '#30221d'
|
||||
900: '#100906'
|
||||
|
||||
|
||||
error: # replaces ANSI red
|
||||
50: '#e8fffd'
|
||||
100: '#f8b9cf'
|
||||
200: '#f48bae'
|
||||
300: '#ef5c8e'
|
||||
400: '#eb2e6e'
|
||||
500: '#d11455'
|
||||
600: '#a31042'
|
||||
700: '#740b2f'
|
||||
800: '#46071c'
|
||||
900: '#170209'
|
||||
|
||||
foreground:
|
||||
secondary:
|
||||
500: .ansi.gray.black
|
||||
error:
|
||||
400: .ansi.gray.white
|
||||
@@ -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>"
|
||||
" }}}
|
||||
@@ -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")
|
||||
2
config/etc/ssh/ssh_config.d/30-1password-ssh-agent.conf
Normal file
2
config/etc/ssh/ssh_config.d/30-1password-ssh-agent.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
Host *
|
||||
IdentityAgent ~/.1password/agent.sock
|
||||
@@ -0,0 +1,5 @@
|
||||
PasswordAuthentication no
|
||||
|
||||
Match Address 192.168.68.*
|
||||
PasswordAuthentication yes
|
||||
Match All
|
||||
155
config/i3.conf
155
config/i3.conf
@@ -4,51 +4,52 @@
|
||||
|
||||
set $alt Mod1
|
||||
set $mod Mod4
|
||||
font pango:Monaspace Argon 20
|
||||
font pango:Monaspace Argon, pango:Noto Color Emoji, pango:Symbols Nerd Font 16
|
||||
|
||||
exec --no-startup-id 1password
|
||||
|
||||
################################################################################
|
||||
## Custom Utility ##############################################################
|
||||
################################################################################
|
||||
|
||||
set $UTILS /home/w0ryn/.config/i3/utils
|
||||
set $UTILS exec --no-startup-id $DOTWRYN/config/bin/i3-utils
|
||||
|
||||
# Audio
|
||||
bindsym XF86AudioRewind exec --no-startup-id $UTILS prev
|
||||
bindsym XF86AudioPrev exec --no-startup-id $UTILS prev
|
||||
bindsym XF86AudioForward exec --no-startup-id $UTILS next
|
||||
bindsym XF86AudioNext exec --no-startup-id $UTILS next
|
||||
bindsym XF86AudioPlay exec --no-startup-id $UTILS play
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id $UTILS volumeup
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id $UTILS volumedown
|
||||
bindsym XF86AudioMute exec --no-startup-id $UTILS volumemute
|
||||
bindsym XF86AudioMicMute exec --no-startup-id $UTILS micmute
|
||||
bindsym XF86AudioRewind $UTILS previous
|
||||
bindsym XF86AudioPrev $UTILS previous
|
||||
bindsym XF86AudioForward $UTILS next
|
||||
bindsym XF86AudioNext $UTILS next
|
||||
bindsym XF86AudioPlay $UTILS play-pause
|
||||
bindsym XF86AudioRaiseVolume $UTILS volumeup
|
||||
bindsym XF86AudioLowerVolume $UTILS volumedown
|
||||
bindsym XF86AudioMute $UTILS volumemute
|
||||
bindsym XF86AudioMicMute $UTILS micmute
|
||||
|
||||
# Screen brightness
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id $UTILS backlightup
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id $UTILS backlightdown
|
||||
bindsym XF86MonBrightnessUp $UTILS backlightup
|
||||
bindsym XF86MonBrightnessDown $UTILS backlightdown
|
||||
|
||||
# Quick applications
|
||||
bindsym $mod+Shift+m exec --no-startup-id $UTILS launch messages
|
||||
bindsym $mod+Shift+d exec --no-startup-id $UTILS launch discord
|
||||
bindsym $mod+c exec --no-startup-id $UTILS launch voice
|
||||
bindsym $mod+m exec --no-startup-id $UTILS launch ytmusic
|
||||
bindsym $mod+Shift+s exec --no-startup-id $UTILS launch spotify
|
||||
bindsym $mod+a exec --no-startup-id $UTILS launch pavuctrl
|
||||
bindsym $mod+Shift+p exec --no-startup-id $UTILS launch scrcpy
|
||||
bindsym $mod+Shift+o exec --no-startup-id $UTILS launch obs
|
||||
bindsym $mod+Shift+m $UTILS launch messages
|
||||
bindsym $mod+Shift+d $UTILS launch discord
|
||||
bindsym $mod+c $UTILS launch voice
|
||||
bindsym $mod+m $UTILS launch ytmusic
|
||||
bindsym $mod+Shift+s $UTILS launch spotify
|
||||
bindsym $mod+a $UTILS launch pavuctrl
|
||||
bindsym $mod+Shift+p $UTILS launch scrcpy
|
||||
bindsym $mod+Shift+o $UTILS launch obs
|
||||
|
||||
# Terminal
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+shift+Return exec --no-startup-id $UTILS alternateterm
|
||||
bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
|
||||
|
||||
# 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+backslash exec --no-startup-id $UTILS screenshot
|
||||
bindsym $mod+backslash $UTILS screenshot
|
||||
|
||||
################################################################################
|
||||
## Window Management and Navigation ############################################
|
||||
@@ -78,16 +79,17 @@ bindsym $mod+Shift+f focus parent; fullscreen; focus child
|
||||
|
||||
bindsym $mod+BackSpace open
|
||||
|
||||
bindsym $mod+1 workspace number "1"; bar mode dock
|
||||
bindsym $mod+2 workspace number "2"; bar mode hide
|
||||
bindsym $mod+3 workspace number "3"; bar mode dock
|
||||
bindsym $mod+4 workspace number "4"; bar mode hide
|
||||
bindsym $mod+5 workspace number "5"; bar mode dock
|
||||
bindsym $mod+6 workspace number "6"; bar mode hide
|
||||
bindsym $mod+7 workspace number "7"; bar mode dock
|
||||
bindsym $mod+8 workspace number "8"; bar mode hide
|
||||
bindsym $mod+9 workspace number "9"; bar mode dock
|
||||
bindsym $mod+0 workspace number "0"; bar mode hide
|
||||
bindsym $mod+1 workspace number "1"; exec --no-startup-id polybar-msg cmd show
|
||||
bindsym $mod+2 workspace number "2"; exec --no-startup-id polybar-msg cmd hide; exec --no-startup-id [[ $(tmux -L omni.socket list-clients 2>/dev/null | wc -l) -eq 0 ]] && i3-sensible-terminal
|
||||
bindsym $mod+3 workspace number "3"; exec --no-startup-id polybar-msg cmd show
|
||||
bindsym $mod+4 workspace number "4"; exec --no-startup-id polybar-msg cmd hide
|
||||
bindsym $mod+5 workspace number "5"; exec --no-startup-id polybar-msg cmd show
|
||||
bindsym $mod+6 workspace number "6"; exec --no-startup-id polybar-msg cmd hide
|
||||
bindsym $mod+7 workspace number "7"; exec --no-startup-id polybar-msg cmd show
|
||||
bindsym $mod+8 workspace number "8"; exec --no-startup-id polybar-msg cmd hide
|
||||
bindsym $mod+9 workspace number "9"; exec --no-startup-id polybar-msg cmd show
|
||||
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+2 move container to workspace number "2"
|
||||
@@ -98,7 +100,8 @@ bindsym $mod+Shift+6 move container to workspace number "6"
|
||||
bindsym $mod+Shift+7 move container to workspace number "7"
|
||||
bindsym $mod+Shift+8 move container to workspace number "8"
|
||||
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" {
|
||||
bindsym h resize grow width 10 px or 10 ppt
|
||||
@@ -121,12 +124,29 @@ floating_modifier $mod
|
||||
bindsym $mod+Shift+Tab move scratchpad
|
||||
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
|
||||
|
||||
set $TERMINAL_EMULATOR_CLASSES ^(Alacritty)$
|
||||
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 #################################################################
|
||||
################################################################################
|
||||
@@ -136,19 +156,43 @@ bindsym Control+$alt+Delete exit
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# for use after any command which should refresh the statusbar
|
||||
set $refresh_statusbar killall -SIGUSR1 i3status
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
# i3-gaps settings
|
||||
for_window [class="^.*"] border pixel 4
|
||||
gaps inner 0
|
||||
gaps outer 0
|
||||
hide_edge_borders smart_no_gaps
|
||||
|
||||
workspace "1" gaps inner 8
|
||||
workspace "1" gaps outer 8
|
||||
|
||||
workspace "2" gaps inner 0
|
||||
workspace "2" gaps outer 0
|
||||
|
||||
workspace "3" gaps inner 8
|
||||
workspace "3" gaps outer 8
|
||||
|
||||
workspace "4" gaps inner 0
|
||||
workspace "4" gaps outer 0
|
||||
|
||||
workspace "5" gaps inner 8
|
||||
workspace "5" gaps outer 8
|
||||
|
||||
workspace "6" gaps inner 0
|
||||
workspace "6" gaps outer 0
|
||||
|
||||
workspace "7" gaps inner 8
|
||||
workspace "7" gaps outer 8
|
||||
|
||||
workspace "8" gaps inner 0
|
||||
workspace "8" gaps outer 0
|
||||
|
||||
workspace "9" gaps inner 8
|
||||
workspace "9" gaps outer 8
|
||||
|
||||
workspace "🎧" gaps inner 0
|
||||
workspace "🎧" gaps outer 0
|
||||
workspace "🎮" gaps inner 0
|
||||
workspace "🎮" 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+shift+z gaps outer current minus 2; gaps inner current minus 2;
|
||||
@@ -158,6 +202,8 @@ bindsym $mod+shift+z gaps outer current minus 2; gaps inner current minus 2;
|
||||
################################################################################
|
||||
|
||||
exec --no-startup-id compton
|
||||
exec --no-startup-id 1password --silent
|
||||
exec --no-startup-id scwrypts omni tmux -- --background
|
||||
|
||||
# color settings
|
||||
set $FOCUSED_BORDER #006942
|
||||
@@ -195,3 +241,18 @@ client.focused_inactive $INACTIVE_BORDER $INACTIVE_BACKGROUND $INACTIVE_TEXT $IN
|
||||
client.unfocused $UNFOCUSED_BORDER $UNFOCUSED_BACKGROUND $UNFOCUSED_TEXT $UNFOCUSED_INDICATOR $UNFOCUSED_CHILD_BORDER
|
||||
client.urgent $URGENT_BORDER $URGENT_BACKGROUND $URGENT_TEXT $URGENT_INDICATOR $URGENT_CHILD_BORDER
|
||||
client.placeholder $PLACEHOLDER_BORDER $PLACEHOLDER_BACKGROUND $PLACEHOLDER_TEXT $PLACEHOLDER_INDICATOR $PLACEHOLDER_CHILD_BORDER
|
||||
|
||||
#####################################################################
|
||||
### Legacy Defaults #################################################
|
||||
#####################################################################
|
||||
|
||||
# These settings are system-specific and are removed by
|
||||
# 'scwrypts generate i3 config' I've left them in place so my
|
||||
# defaults are in place on machines which still use the symlinked
|
||||
# version of this config file rather than the generated one.
|
||||
|
||||
# for use after any command which should refresh the statusbar
|
||||
set $refresh_statusbar killall -SIGUSR1 i3status
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
30
config/i3.config.yaml
Normal file
30
config/i3.config.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
--- # used by scwrypts i3 generate config (override at ~/.config/i3/local.yaml)
|
||||
font:
|
||||
size: 14
|
||||
family: >-
|
||||
pango:Monaspace Argon,
|
||||
pango:Noto Color Emoji,
|
||||
pango:Symbols Nerd Font,
|
||||
FontAwesome
|
||||
|
||||
application-launcher: >-
|
||||
"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:
|
||||
odd:
|
||||
inner: 8
|
||||
outer: 8
|
||||
|
||||
even:
|
||||
inner: 0
|
||||
outer: 0
|
||||
|
||||
statusbar:
|
||||
# supported values are 'polybar' and 'i3status'
|
||||
type: polybar
|
||||
|
||||
# a list of i3config excerpts that should be appended to the generated config
|
||||
i3configs: []
|
||||
12
config/local/altaria/bin/apps
Executable file
12
config/local/altaria/bin/apps
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
|
||||
for APP in $(find "${0:a:h}" -name apps.\* | sed 's/.*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}/apps.$APP"
|
||||
done
|
||||
8
config/local/altaria/bin/apps.midi
Executable file
8
config/local/altaria/bin/apps.midi
Executable 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
|
||||
15
config/local/altaria/bin/beeg-game
Executable file
15
config/local/altaria/bin/beeg-game
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/zsh
|
||||
[ $1 ] && RESOLUTION=$1 || RESOLUTION=4k
|
||||
source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
|
||||
|
||||
#DISABLE+=(splitter)
|
||||
DISABLE+=(desk)
|
||||
|
||||
XRANDR_OFF ${DISABLE[@]}
|
||||
|
||||
XRANDR_SET \
|
||||
--compositing enable \
|
||||
--screen-blank disable \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__splitter[@]} --pos 0x0 --primary \
|
||||
;
|
||||
26
config/local/altaria/bin/default
Executable file
26
config/local/altaria/bin/default
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/zsh
|
||||
[ $1 ] && RESOLUTION=$1 || RESOLUTION=2k
|
||||
source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
|
||||
|
||||
case $MONITOR_CONFIGURATION in
|
||||
( home )
|
||||
# now I'm trying both again :)
|
||||
#xrandr --output DP-4 --off # I'm trying out using just HDMI for a bit
|
||||
XRANDR_SET \
|
||||
--compositing enable \
|
||||
--screen-blank disable \
|
||||
--sound-effect login \
|
||||
--background ${I3_DEFAULT_THEME_BACKGROUND} \
|
||||
${XRANDR_ARGS__desk[@]} --pos 0x0 --primary \
|
||||
${XRANDR_ARGS__splitter[@]} --pos 0x0 \
|
||||
;;
|
||||
|
||||
( 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
|
||||
15
config/local/altaria/bin/smol-game
Executable file
15
config/local/altaria/bin/smol-game
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/zsh
|
||||
[ $1 ] && RESOLUTION=$1 || RESOLUTION=4k
|
||||
source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
|
||||
|
||||
DISABLE+=(splitter)
|
||||
#DISABLE+=(desk)
|
||||
|
||||
XRANDR_OFF ${DISABLE[@]}
|
||||
|
||||
XRANDR_SET \
|
||||
--compositing enable \
|
||||
--screen-blank disable \
|
||||
--sound-effect gamedock \
|
||||
${XRANDR_ARGS__desk[@]} --pos 0x0 --primary \
|
||||
;
|
||||
131
config/local/altaria/bin/xorg.zsh
Normal file
131
config/local/altaria/bin/xorg.zsh
Normal file
@@ -0,0 +1,131 @@
|
||||
#!/bin/zsh
|
||||
#####################################################################
|
||||
|
||||
XRANDR_OUTPUT__splitter='HDMI-0'
|
||||
XRANDR_OUTPUT__desk='DP-4'
|
||||
|
||||
I3_DEFAULT_THEME_BACKGROUND=$(scwrypts -n get theme).png
|
||||
|
||||
MONITOR_CONFIGURATION=unknown
|
||||
|
||||
: \
|
||||
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__splitter} connected" \
|
||||
&& MONITOR_CONFIGURATION=home \
|
||||
;
|
||||
#&& xrandr --query | grep -q "^${XRANDR_OUTPUT__desk} connected" \
|
||||
|
||||
#####################################################################
|
||||
|
||||
case $1 in
|
||||
( 1080 | 1080p )
|
||||
XRANDR_MODE=(--mode 1920x1080)
|
||||
XRANDR_OFFSET_X=1920
|
||||
XRANDR_OFFSET_Y=1080
|
||||
|
||||
EXTRA_ARGS__splitter=()
|
||||
EXTRA_ARGS__desk=()
|
||||
|
||||
I3_BACKGROUND=link-vs-gdizz.jpg
|
||||
;;
|
||||
|
||||
( 1440 | 1440p | 2k )
|
||||
XRANDR_MODE=(--mode 2560x1440)
|
||||
XRANDR_OFFSET_X=2560
|
||||
XRANDR_OFFSET_Y=1440
|
||||
|
||||
EXTRA_ARGS__splitter=(--rate 120.00)
|
||||
EXTRA_ARGS__desk=(--rate 120.00)
|
||||
|
||||
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__splitter=(--rate 120.00)
|
||||
EXTRA_ARGS__desk=(--rate 120.00)
|
||||
|
||||
I3_BACKGROUND=${I3_DEFAULT_THEME_BACKGROUND[@]}
|
||||
;;
|
||||
|
||||
( * )
|
||||
echo "error : unknown resolution '$1'"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
XRANDR_ARGS__splitter=(--output ${XRANDR_OUTPUT__splitter[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__splitter[@]})
|
||||
XRANDR_ARGS__desk=(--output ${XRANDR_OUTPUT__desk[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__desk[@]})
|
||||
|
||||
##########################################
|
||||
|
||||
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 media play sfx -- ${SOUND_EFFECT}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/zsh
|
||||
source "$HOME/.config/wryn/env.zsh"
|
||||
source "${HOME}/.config/wryn/env.zsh"
|
||||
NATIVE_MONITOR='eDP1'
|
||||
|
||||
GET_PRIMARY_MONITOR() {
|
||||
@@ -15,7 +15,7 @@ GET_ALL_EXTERNAL_MONITORS() {
|
||||
xrandr \
|
||||
| grep ' connect' \
|
||||
| awk '{print $1;}' \
|
||||
| grep -v "$NATIVE_MONITOR" \
|
||||
| grep -v "${NATIVE_MONITOR}" \
|
||||
2>/dev/null
|
||||
}
|
||||
GET_DEFAULT_EXTERNAL_MONITOR() {
|
||||
@@ -34,19 +34,19 @@ DISCONNECT_OTHER() {
|
||||
|
||||
for ACTIVE_MONITOR in ${@:2}
|
||||
do
|
||||
INACTIVE_MONITORS=$(echo $INACTIVE_MONITORS | grep -v "^$ACTIVE_MONITOR$")
|
||||
INACTIVE_MONITORS=$(echo ${INACTIVE_MONITORS} | grep -v "^${ACTIVE_MONITOR}$")
|
||||
done
|
||||
|
||||
local MONITOR
|
||||
for MONITOR in $INACTIVE_MONITORS
|
||||
for MONITOR in ${INACTIVE_MONITORS}
|
||||
do
|
||||
xrandr --output $MONITOR --off
|
||||
xrandr --output ${MONITOR} --off
|
||||
done
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
13
config/local/pikachu/bin/apps
Executable file
13
config/local/pikachu/bin/apps
Executable 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
|
||||
13
config/local/pikachu/bin/apps.midi
Executable file
13
config/local/pikachu/bin/apps.midi
Executable 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
|
||||
6
config/local/pikachu/bin/default
Executable file
6
config/local/pikachu/bin/default
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/zsh
|
||||
|
||||
xrandr --auto
|
||||
|
||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
|
||||
scwrypts desktop screen blank -- enable
|
||||
10
config/local/pikachu/bin/livingroom
Executable file
10
config/local/pikachu/bin/livingroom
Executable 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
11
config/local/pikachu/bin/office
Executable 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
|
||||
1
config/local/pikachu/bin/scwrypts
Symbolic link
1
config/local/pikachu/bin/scwrypts
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/w0ryn/.local/share/wryn/zsh/plugins/scwrypts/scwrypts
|
||||
18
config/local/pikachu/bin/set-battery-max-charge
Executable file
18
config/local/pikachu/bin/set-battery-max-charge
Executable 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"
|
||||
7
config/local/pikachu/bin/undock
Executable file
7
config/local/pikachu/bin/undock
Executable 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
|
||||
40
config/local/pikachu/etc/X11/xinit/10-optimus-manager.conf
Normal file
40
config/local/pikachu/etc/X11/xinit/10-optimus-manager.conf
Normal 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
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
ACTION=="add", RUN+="/home/w0ryn/.local/share/wryn/config/local/pikachu/bin/set-battery-max-charge"
|
||||
1
config/local/pikachu/etc/udev/rules.d/91-backlight.rules
Normal file
1
config/local/pikachu/etc/udev/rules.d/91-backlight.rules
Normal 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"
|
||||
20
config/local/pikachu/misc/pulseaudio.patch
Normal file
20
config/local/pikachu/misc/pulseaudio.patch
Normal 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
|
||||
2
config/local/pikachu/misc/pulseaudio.patch.apply
Executable file
2
config/local/pikachu/misc/pulseaudio.patch.apply
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/zsh
|
||||
sudo patch -p1 -d /usr/share/alsa-card-profile/mixer/paths/ -i "${0:a:h}/pulseaudio.patch"
|
||||
1932
config/local/pikachu/user/X11/xkeymap
Normal file
1932
config/local/pikachu/user/X11/xkeymap
Normal file
File diff suppressed because it is too large
Load Diff
2
config/local/pikachu/user/alacritty/local.toml
Normal file
2
config/local/pikachu/user/alacritty/local.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[font]
|
||||
size = 9.9
|
||||
@@ -12,6 +12,6 @@ xrandr ${ARGS[@]} \
|
||||
|
||||
pkill compton
|
||||
|
||||
scwrypts desktop/screen-blank -- disable
|
||||
scwrypts desktop/i3/set-background -- link-vs-gdizz.jpg
|
||||
scwrypts desktop/play-sound -- gamedock
|
||||
scwrypts desktop screen-blank -- disable
|
||||
scwrypts desktop i3 set background -- link-vs-gdizz.jpg
|
||||
scwrypts desktop play sfx -- gamedock
|
||||
1
config/local/umbreon/bin/scwrypts
Symbolic link
1
config/local/umbreon/bin/scwrypts
Symbolic link
@@ -0,0 +1 @@
|
||||
../../zsh/plugins/scwrypts/scwrypts
|
||||
@@ -12,6 +12,6 @@ xrandr ${ARGS[@]} \
|
||||
|
||||
(pkill compton; sleep 0.5; compton;) &
|
||||
|
||||
scwrypts desktop/screen-blank -- enable
|
||||
scwrypts desktop/i3/set-background -- random
|
||||
scwrypts desktop/play-sound -- gamedock
|
||||
scwrypts desktop screen-blank -- enable
|
||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg || scwrypts desktop i3 set background -- random
|
||||
scwrypts desktop play sfx -- gamedock
|
||||
275
config/rofi.theme.rasi
Normal file
275
config/rofi.theme.rasi
Normal file
@@ -0,0 +1,275 @@
|
||||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Rofi Theme File
|
||||
* Rofi Version: 1.7.3
|
||||
**/
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
modi: "drun";
|
||||
show-icons: true;
|
||||
display-drun: "💻";
|
||||
display-run: "☕";
|
||||
display-filebrowser: "📂";
|
||||
display-window: "🪟";
|
||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
|
||||
@import "./colorschemes/active/rofi"
|
||||
|
||||
* {
|
||||
border-colour: var(selected);
|
||||
handle-colour: var(selected);
|
||||
background-colour: var(background);
|
||||
foreground-colour: var(foreground);
|
||||
alternate-background: var(background-alt);
|
||||
alternate-foreground: var(selected);
|
||||
normal-background: var(background);
|
||||
normal-foreground: var(foreground);
|
||||
urgent-background: var(urgent);
|
||||
urgent-foreground: var(background);
|
||||
active-background: var(active);
|
||||
active-foreground: var(background);
|
||||
selected-normal-background: var(background-alt);
|
||||
selected-normal-foreground: var(selected);
|
||||
selected-urgent-background: var(background-alt);
|
||||
selected-urgent-foreground: var(selected);
|
||||
selected-active-background: var(urgent);
|
||||
selected-active-foreground: var(selected);
|
||||
alternate-normal-background: var(background);
|
||||
alternate-normal-foreground: var(foreground);
|
||||
alternate-urgent-background: var(urgent);
|
||||
alternate-urgent-foreground: var(background);
|
||||
alternate-active-background: var(active);
|
||||
alternate-active-foreground: var(background);
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 800px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
cursor: "default";
|
||||
background-color: @background-colour;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 16px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listview" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px 0px 10px 10px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @background-colour;
|
||||
text-color: @foreground-colour;
|
||||
children: [ "prompt", "entry" ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: "::";
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
/*****----- Listview -----*****/
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 12;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
cursor: "default";
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 5px ;
|
||||
handle-color: @handle-colour;
|
||||
border-radius: 0px;
|
||||
background-color: @alternate-background;
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 5px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
cursor: pointer;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: var(normal-background);
|
||||
text-color: var(normal-foreground);
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: var(urgent-background);
|
||||
text-color: var(urgent-foreground);
|
||||
}
|
||||
element normal.active {
|
||||
background-color: var(active-background);
|
||||
text-color: var(active-foreground);
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: var(alternate-background);
|
||||
text-color: var(alternate-foreground);
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: var(selected-urgent-background);
|
||||
text-color: var(selected-urgent-foreground);
|
||||
}
|
||||
element selected.active {
|
||||
background-color: var(selected-active-background);
|
||||
text-color: var(selected-active-foreground);
|
||||
}
|
||||
element alternate.normal {
|
||||
background-color: var(alternate-normal-background);
|
||||
text-color: var(alternate-normal-foreground);
|
||||
}
|
||||
element alternate.urgent {
|
||||
background-color: var(alternate-urgent-background);
|
||||
text-color: var(alternate-urgent-foreground);
|
||||
}
|
||||
element alternate.active {
|
||||
background-color: var(alternate-active-background);
|
||||
text-color: var(alternate-active-foreground);
|
||||
}
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 24px;
|
||||
cursor: inherit;
|
||||
}
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
}
|
||||
|
||||
/*****----- Mode Switcher -----*****/
|
||||
mode-switcher{
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
}
|
||||
button {
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @alternate-background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
button selected {
|
||||
background-color: var(selected-normal-background);
|
||||
text-color: var(selected-normal-foreground);
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
}
|
||||
textbox {
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @alternate-background;
|
||||
text-color: @foreground-colour;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
highlight: none;
|
||||
placeholder-color: @foreground-colour;
|
||||
blink: true;
|
||||
markup: true;
|
||||
}
|
||||
error-message {
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: @background-colour;
|
||||
text-color: @foreground-colour;
|
||||
}
|
||||
@@ -3,13 +3,14 @@
|
||||
#
|
||||
|
||||
SCWRYPTS_SHORTCUT='' # CTRL + W
|
||||
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
|
||||
|
||||
source "$HOME/.wryn/scwrypts/dotwryn/dotwryn.scwrypts.zsh"
|
||||
source "$HOME/.wryn/scwrypts/ssh/ssh.scwrypts.zsh"
|
||||
#SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
|
||||
#SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
|
||||
|
||||
[ -f "$HOME/Projects/yage/home/code/scwrypts/yagehome.scwrypts.zsh" ] \
|
||||
&& source "$HOME/Projects/yage/home/code/scwrypts/yagehome.scwrypts.zsh"
|
||||
SCWRYPTS_GENERATOR__SHOW_HELP=false
|
||||
|
||||
[ -f "$HOME/.config/scwrypts/config.local.zsh" ] \
|
||||
&& source "$HOME/.config/scwrypts/config.local.zsh"
|
||||
[ ${DOTWRYN} ] || source "${HOME}/.zshrc"
|
||||
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"
|
||||
|
||||
@@ -2,61 +2,18 @@
|
||||
# scwrypts dot-files config
|
||||
#
|
||||
|
||||
TERMINFO_PATH="$DOTWRYN/config/terminfo"
|
||||
SAFE_SYMLINKS=0
|
||||
#TERMINFO_PATH=/path/to/sourced/terminfo/files
|
||||
|
||||
#
|
||||
# SAFE_SYMLINKS=1, makes a backup of config files that already exist
|
||||
# SAFE_SYMLINKS=0, deletes existing config file
|
||||
#
|
||||
#SAFE_SYMLINKS=1
|
||||
|
||||
|
||||
# lines which begin with '#' are ignored
|
||||
SYMLINKS="
|
||||
# --------------------------------------------------------------------------
|
||||
# fully qualified path ~/.config/THE-REST
|
||||
# --------------------------------------------------------------------------
|
||||
$DOTWRYN/bin/i3-utils i3/utils
|
||||
$DOTWRYN/colorschemes/active.main kitty/theme.conf
|
||||
$DOTWRYN/colorschemes/active.main.alacritty alacritty/theme.toml
|
||||
$DOTWRYN/colorschemes/active.main.alacritty.yml alacritty/theme.yml
|
||||
$DOTWRYN/colorschemes/active.main.getty 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/i3.conf i3/config
|
||||
$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/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 X11/xinitrc
|
||||
$DOTWRYN/config/xinitrc.i3 ../.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
|
||||
# fully qualified path ~/.config/THE-REST
|
||||
# ---------------------------------------------
|
||||
# /path/to/your/kitty.conf kitty/kitty.conf
|
||||
"
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
### scwrypts runtime configuration (group 'dotwryn') ################
|
||||
#####################################################################
|
||||
|
||||
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
|
||||
export DESKTOP__BACKLIGHT_DEVICE=
|
||||
|
||||
# directory containing sound effects
|
||||
export DESKTOP__SFX_PATH="$HOME/Media/sfx"
|
||||
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg"
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
### scwrypts runtime configuration (group 'dotwryn') ################
|
||||
#####################################################################
|
||||
|
||||
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
|
||||
export DESKTOP__BACKLIGHT_DEVICE=
|
||||
|
||||
# directory containing sound effects
|
||||
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
|
||||
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
### scwrypts runtime configuration (group 'dotwryn') ################
|
||||
#####################################################################
|
||||
|
||||
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
|
||||
export DESKTOP__BACKLIGHT_DEVICE=
|
||||
|
||||
# directory containing sound effects
|
||||
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
|
||||
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
### scwrypts runtime configuration (group 'dotwryn') ################
|
||||
#####################################################################
|
||||
|
||||
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
|
||||
export DESKTOP__BACKLIGHT_DEVICE=
|
||||
|
||||
# directory containing sound effects
|
||||
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
|
||||
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
### scwrypts runtime configuration (group 'dotwryn') ################
|
||||
#####################################################################
|
||||
|
||||
# enlighten BACKLIGHT_DEVICE (see 'man enlighten')
|
||||
export DESKTOP__BACKLIGHT_DEVICE=
|
||||
|
||||
# directory containing sound effects
|
||||
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
|
||||
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
|
||||
|
||||
14
config/scwrypts/environments/dotwryn/local.pikachu
Normal file
14
config/scwrypts/environments/dotwryn/local.pikachu
Normal 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=
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user