initial pikachu configuration
This commit is contained in:
1932
config/pikachu/X11/xkeymap
Normal file
1932
config/pikachu/X11/xkeymap
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,5 @@
|
||||
include-file = $DOTWRYN/colorschemes/active/polybar.ini
|
||||
include-file = $HOME/.config/polybar/local.ini
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
@ -10,8 +11,6 @@ width = 100%
|
||||
height = 24pt
|
||||
radius = 0
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
@ -64,7 +63,7 @@ label-urgent-padding = 1
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-center = tray
|
||||
modules-center = tray battery0 battery1
|
||||
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
@ -72,12 +71,70 @@ type = internal/tray
|
||||
format-margin = 8pt
|
||||
tray-spacing = 8pt
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
format = <bar>
|
||||
|
||||
[module/battery0]
|
||||
type = internal/battery
|
||||
|
||||
battery = BAT0
|
||||
|
||||
interval = 31
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-0-foreground = ${colors.alert}
|
||||
ramp-capacity-1-foreground = ${colors.foreground}
|
||||
ramp-capacity-2-foreground = ${colors.secondary-gradient-2}
|
||||
ramp-capacity-3-foreground = ${colors.secondary-gradient-3}
|
||||
ramp-capacity-4-foreground = ${colors.secondary-gradient-4}
|
||||
format-charging = <ramp-capacity>
|
||||
format-discharging = <ramp-capacity>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-low = <ramp-capacity> <label-low>
|
||||
full-at = 74
|
||||
label-full = c:
|
||||
label-full-foreground = ${colors.secondary-gradient-4}
|
||||
low-at = 39
|
||||
label-low = ⚠
|
||||
label-low-foreground = ${colors.alert}
|
||||
|
||||
[module/battery1]
|
||||
type = internal/battery
|
||||
|
||||
battery = BAT1
|
||||
|
||||
interval = 31
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-0-foreground = ${colors.alert}
|
||||
ramp-capacity-1-foreground = ${colors.foreground}
|
||||
ramp-capacity-2-foreground = ${colors.secondary-gradient-2}
|
||||
ramp-capacity-3-foreground = ${colors.secondary-gradient-3}
|
||||
ramp-capacity-4-foreground = ${colors.secondary-gradient-4}
|
||||
format-charging = <ramp-capacity>
|
||||
format-discharging = <ramp-capacity>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-low = <ramp-capacity> <label-low>
|
||||
full-at = 74
|
||||
label-full = c:
|
||||
label-full-foreground = ${colors.secondary-gradient-4}
|
||||
low-at = 39
|
||||
label-low = ⚠
|
||||
label-low-foreground = ${colors.alert}
|
||||
|
||||
#####################################################################
|
||||
### modules-right ###################################################
|
||||
#####################################################################
|
||||
|
||||
[bar/i3]
|
||||
modules-right = fs memory cpu wlan eth datetime backlight battery
|
||||
modules-right = fs memory cpu wlan eth datetime backlight
|
||||
|
||||
[module/fs]
|
||||
type = internal/fs
|
||||
@ -133,19 +190,3 @@ type = custom/script
|
||||
label-foreground = ${colors.foreground}
|
||||
interval = 0.5
|
||||
exec = echo $(date +"%A %B %d, %Y : %I:%M:%S-%P") $(TZ=UTC date +"{%H:%M-UTC}")
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
format = <bar>
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
|
||||
interval = 13
|
||||
format-charging = <bar-capacity>
|
||||
format-discharging = <bar-capacity>
|
||||
format-full = <bar-capacity>
|
||||
format-low = <bar-capacity> <label-low>
|
||||
low-at = 10
|
||||
label-low = ⚠
|
||||
label-low-foreground = ${colors.alert}
|
||||
|
@ -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=
|
@ -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
|
||||
|
7
config/scwrypts/environments/remote/local.pikachu
Normal file
7
config/scwrypts/environments/remote/local.pikachu
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/zsh
|
||||
#####################################################################
|
||||
### scwrypts runtime configuration (group 'remote') #################
|
||||
#####################################################################
|
||||
|
||||
# session name for remote connection (default 'remote')
|
||||
export REMOTE_TMUX_SESSION=
|
51
config/scwrypts/environments/scwrypts/local.pikachu
Normal file
51
config/scwrypts/environments/scwrypts/local.pikachu
Normal file
@ -0,0 +1,51 @@
|
||||
#!/bin/zsh
|
||||
#####################################################################
|
||||
### scwrypts runtime configuration (group 'scwrypts') ###############
|
||||
#####################################################################
|
||||
|
||||
# standard AWS environment variables used by awscli and other tools
|
||||
export AWS_ACCOUNT=088935110352 # from local
|
||||
export AWS_PROFILE=yage # from local
|
||||
export AWS_REGION=us-east-2 # from local
|
||||
|
||||
# fully-qualified path to mount the EFS drive
|
||||
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # from local
|
||||
|
||||
# details for a directus instance
|
||||
export DIRECTUS__API_TOKEN=
|
||||
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
|
||||
|
||||
# details for discord bot
|
||||
export DISCORD__BOT_TOKEN=
|
||||
export DISCORD__CONTENT_FOOTER=
|
||||
export DISCORD__CONTENT_HEADER='<@380809228450922507> ' # from local
|
||||
export DISCORD__DEFAULT_AVATAR_URL=
|
||||
export DISCORD__DEFAULT_CHANNEL_ID=
|
||||
export DISCORD__DEFAULT_USERNAME=
|
||||
export DISCORD__DEFAULT_WEBHOOK=
|
||||
|
||||
# linear.app project management configuration
|
||||
export LINEAR__API_TOKEN=
|
||||
|
||||
# s3 bucket name and filesystem targets for media backups
|
||||
export MEDIA_SYNC__S3_BUCKET=yage # from local
|
||||
export MEDIA_SYNC__TARGETS=(
|
||||
Pictures
|
||||
Documents
|
||||
Media
|
||||
.local/.porn
|
||||
.local/share/dolphin-emu
|
||||
Games/roms
|
||||
)
|
||||
|
||||
# redis connection credentials
|
||||
export REDIS_AUTH=
|
||||
export REDIS_HOST=
|
||||
export REDIS_PORT=
|
||||
|
||||
# twilio account / credentials
|
||||
export TWILIO__ACCOUNT_SID=ACac926b109b3cd8a78685a2a0994d0271 # from local
|
||||
export TWILIO__API_KEY=
|
||||
export TWILIO__API_SECRET=
|
||||
export TWILIO__DEFAULT_PHONE_FROM=
|
||||
export TWILIO__DEFAULT_PHONE_TO=
|
@ -0,0 +1 @@
|
||||
ACTION=="add", RUN+="/home/w0ryn/.wryn/bin/pikachu/set-battery-max-charge"
|
1
config/system/pikachu/udev/rules.d/91-backlight.rules
Normal file
1
config/system/pikachu/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"
|
40
config/system/pikachu/xinit/10-optimus-manager.conf
Normal file
40
config/system/pikachu/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,2 @@
|
||||
Host *
|
||||
IdentityAgent ~/.1password/agent.sock
|
@ -0,0 +1,5 @@
|
||||
PasswordAuthentication no
|
||||
|
||||
Match Address 192.168.68.*
|
||||
PasswordAuthentication yes
|
||||
Match All
|
@ -28,7 +28,7 @@ set -g mouse off
|
||||
set -g status-style fg=brightmagenta,bg=black
|
||||
set -g window-status-current-style fg=black,bg=brightmagenta
|
||||
|
||||
set -g status-right "#(cat /sys/class/power_supply/BAT0/capacity)% | #[fg=magneta]%d %b %R | #(ip address 2>&1 | grep wlp0 | sed -n 's/^.*\\(192.[^/]*\\)\\/.*$/\\1/p') "
|
||||
set -g status-right "#(cat /sys/class/power_supply/BAT[01]/capacity | head -n1)% | #[fg=magneta]%d %b %R | #(ip address 2>&1 | grep wlp0 | sed -n 's/^.*\\(192.[^/]*\\)\\/.*$/\\1/p') "
|
||||
|
||||
#####################################################################
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
include "%L"
|
||||
|
||||
<Multi_key> <n> <n> : "ñ"
|
||||
<Multi_key> <N> <N> : "Ñ"
|
||||
|
@ -21,4 +21,10 @@ done
|
||||
|
||||
for XINITRC in $(find /etc/X11/xinit/xinitrc.d); do source "$XINITRC"; done
|
||||
|
||||
[ -f "$HOME/.config/X11/xmodmap" ] \
|
||||
&& xmodmap "$HOME/.config/X11/xmodmap"
|
||||
|
||||
[ -f "$HOME/.config/X11/xkeymap" ] \
|
||||
&& xkbcomp "$HOME/.config/X11/xkeymap" ${DISPLAY}
|
||||
|
||||
unset PREFERRED_TERMINAL PREFERRED_BROWSER XINITRC
|
||||
|
Reference in New Issue
Block a user