Compare commits

...

7 Commits

Author SHA1 Message Date
joelchrono12 8ac91d5255
.gitignore won't show nvim stuff 2023-01-04 19:16:38 -06:00
joelchrono12 3f8cb03165
bashrc for void 2023-01-04 19:16:16 -06:00
joelchrono12 b8c7d54836
alacritty 2023-01-04 19:15:47 -06:00
joelchrono12 281bd65f31
awesomewm 2023-01-04 19:14:11 -06:00
joelchrono12 6eb9971a90
updated nvim theme to tokyo-night 2023-01-04 19:13:31 -06:00
joelchrono12 5b86da617b
modified bar 2023-01-04 19:12:20 -06:00
joelchrono12 e829be2ca2
changed to tokyo-night colorscheme 2023-01-04 19:11:51 -06:00
7 changed files with 72 additions and 53 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
stow_home/nvim/.config/nvim/autoload/plugged/*
stow_home/nvim/.config/nvim/autoload/
stow_home/nvim/.config/nvim/vim-plug/
stow_home/tut/.config/tut/accounts.toml
stow_home/newsboat/.config/newsboat/.rss/*

View File

@ -45,10 +45,11 @@ alias ..='cd ..'
alias .2='cd ../..'
alias .3='cd ../../..'
alias .4='cd ../../../..'
alias xin='sudo dnf install'
alias xup='sudo dnf update'
alias xun='sudo dnf remove'
alias xs='dnf search'
alias xin='sudo xbps-install'
alias xup='sudo xbps-install -Su'
#alias xup='sudo dnf update'
alias xun='sudo xbps-remove -Ro'
alias xs='xbps-query -Rs'
alias sysinfo='inxi -Frxz'
alias cp='cp -i'
alias rm='rm -i'
@ -99,5 +100,5 @@ export CALIBRE_USE_DARK_PALETTE=1
#pfetch &
#fortune -s wisdom | cowsay -f tux
#neofetch
neofetch
#cat school.md

View File

@ -34,7 +34,7 @@ window:
#
# Blank space added around the window in pixels. This padding is scaled
# by DPI and the specified value is always added at both opposing sides.
opacity: 0.8
opacity: 1
padding:
x: 1
y: 2
@ -110,7 +110,7 @@ font:
family: mononoki Nerd Font
bold_italic:
family: mononoki Nerd Font
size: 13.0
size: 9.0
offset:
x: 0
@ -225,6 +225,7 @@ schemes:
magenta: '0xbb9af7'
cyan: '0x0db9d7'
white: '0xacb0d0'
nord: &nord
primary:
background: '#2e3440'
@ -243,9 +244,9 @@ schemes:
matches:
foreground: CellBackground
background: '#88c0d0'
bar:
background: '#434c5e'
foreground: '#d8dee9'
#bar:
#background: '#434c5e'
#foreground: '#d8dee9'
normal:
black: '#3b4252'
red: '#bf616a'
@ -274,8 +275,8 @@ schemes:
cyan: '#6d96a5'
white: '#aeb3bb'
#colors: *nord
colors: *tokyo-night
#colors: *tokyo-night-storm
# Background opacity
#
# Window opacity as a floating point number from `0.0` to `1.0`.

View File

@ -230,14 +230,14 @@ root.buttons(gears.table.join(
-- {{{ Key bindings
globalkeys = gears.table.join(
awful.key({}, "XF86AudioLowerVolume", function()
awful.spawn.with_shell("pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send 'volume down'")end),
awful.key({}, "XF86AudioRaiseVolume", function()
awful.spawn.with_shell("pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send 'volume up'")end),
awful.key({ }, "XF86MonBrightnessDown", function ()
awful.spawn.with_shell("brightnessctl set 8%-") end),
awful.key({ }, "XF86MonBrightnessUp", function ()
awful.spawn.with_shell("brightnessctl set 8%+") end),
--awful.key({}, "XF86AudioLowerVolume", function()
--awful.spawn.with_shell("pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send 'volume down'")end),
--awful.key({}, "XF86AudioRaiseVolume", function()
--awful.spawn.with_shell("pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send 'volume up'")end),
--awful.key({ }, "XF86MonBrightnessDown", function ()
--awful.spawn.with_shell("brightnessctl set 8%-") end),
--awful.key({ }, "XF86MonBrightnessUp", function ()
--awful.spawn.with_shell("brightnessctl set 8%+") end),
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
{description="show help", group="awesome"}),
@ -658,21 +658,23 @@ autorunApps =
--"pipewire",
"volumeicon",
"picom",
--"lxpolkit",
"lxpolkit",
"xfce4-power-manager",
"nm-applet",
"/usr/libexec/polkit-mate-authentication-agent-1",
"timeshift-launcher",
--"timeshift-launcher",
"syncthing -no-browser",
"flameshot &",
--"/home/joelchrono12/.config/polybar/launch.sh",
--"touchpad-indicator",
"setxkbmap -layout latam",
"nitrogen --restore",
--"nitrogen --restore",
"/home/chrono/.local/bin/activitywatch/aw-qt",
--"megasync",
"keepassxc",
--"firefox",
--"cbatticon",
"cbatticon",
"kdeconnect-indicator",
}
if autorun then
for app = 1, #autorunApps do

View File

@ -18,7 +18,7 @@ set smartcase
set incsearch
" Example config in VimScript
let g:tokyonight_style = "night"
"let g:tokyonight_style = "night"
"let g:tokyonight_italic_functions = 1
"let g:tokyonight_sidebars = [ "qf", "vista_kind", "terminal", "packer" ]
@ -29,7 +29,7 @@ let g:tokyonight_style = "night"
"\ }
colorscheme tokyonight
colorscheme tokyonight-night
let g:lightline = {
\ 'colorscheme': 'tokyonight',
\ }

View File

@ -1,6 +1,6 @@
# network status
network() {
wifi="$(ip a | grep wlo0 | grep inet | wc -l)"
wifi="$(ip a | grep wlo1 | grep inet | wc -l)"
wire="$(ip a | grep enp1s0 | grep inet | wc -l)"
if [ $wire = 1 ]; then
echo " "
@ -16,20 +16,21 @@ bat() {
batstat="$(cat /sys/class/power_supply/BAT0/status)"
battery="$(cat /sys/class/power_supply/BAT0/capacity)"
if [ $batstat = 'Unknown' ]; then
batstat=""
elif [[ $battery -ge 5 ]] && [[ $battery -le 19 ]]; then
batstat=""
elif [[ $battery -ge 20 ]] && [[ $battery -le 39 ]]; then
batstat=""
elif [[ $battery -ge 40 ]] && [[ $battery -le 59 ]]; then
batstat=""
elif [[ $battery -ge 60 ]] && [[ $battery -le 79 ]]; then
batstat=""
elif [[ $battery -ge 80 ]] && [[ $battery -le 95 ]]; then
batstat=""
elif [[ $battery -ge 96 ]] && [[ $battery -le 100 ]]; then
batstat=""
#batstat=""
if [ $batstat = 'Unknown']; then
batstat=""
elif [[ $battery -ge 5 ]] && [[ $battery -le 19 ]]; then
batstat=""
elif [[ $battery -ge 20 ]] && [[ $battery -le 39 ]]; then
batstat=""
elif [[ $battery -ge 40 ]] && [[ $battery -le 59 ]]; then
batstat=""
elif [[ $battery -ge 60 ]] && [[ $battery -le 79 ]]; then
batstat=""
elif [[ $battery -ge 80 ]] && [[ $battery -le 95 ]]; then
batstat=""
elif [[ $battery -ge 96 ]] && [[ $battery -le 100 ]]; then
batstat=""
fi
echo "$batstat $battery"
@ -72,7 +73,8 @@ cpu() {
# Loop to update bar output
update(){
echo "$(cpu)+@fg=3; +@bg=1;+@fg=1;  $(mem) +@fg=4;+@bg=2;+@fg=1;  $(hdd) +@fg=5;+@bg=3;+@fg=1; $(vol) +@fg=7;+@bg=5;+@fg=1; $(bat) +@fg=8;+@bg=6;+@fg=1; $(network) +@fg=1;+@bg=0;"
#echo " $(cpu)+@fg=3; +@bg=1;+@fg=1;  $(mem) +@fg=4;+@bg=2;+@fg=1;  $(hdd) +@fg=5;+@bg=3;+@fg=1; $(vol) +@fg=7;+@bg=5;+@fg=1; $(bat) +@fg=8;+@bg=6;+@fg=1; $(network) +@fg=1;+@bg=0;"
echo " +@fg=3; +@bg=1;+@fg=1;  $(mem) +@fg=4;+@bg=2;+@fg=1;  $(hdd) +@fg=5;+@bg=3;+@fg=1; $(vol) +@fg=7;+@bg=5;+@fg=1; $(bat) +@fg=8;+@bg=6;+@fg=1; $(network) +@fg=1;+@bg=0;"
wait
}
while :; do

View File

@ -1,6 +1,6 @@
# Initial setup config
workspace_limit = 9
focus_mode = manual
focus_mode = default
focus_close = previous
focus_close_wrap = 0
focus_default = last
@ -10,24 +10,34 @@ warp_focus = 0
warp_pointer = 0
# Window decorations & boundaries
border_width = 3
color_focus = rgb:b4/8e/ad
color_unfocus = rgb:2e/34/40
region_padding = 5
tile_gap = 5
border_width = 2
color_focus = rgb:7a/a2/f7
color_unfocus = rgb:1a/1b/26
region_padding = 8
tile_gap = 8
boundary_width = 50
# Bar configuration
bar_enabled = 1
bar_action_expand = 1
bar_action = ~/.config/spectrwm/baraction.sh
#bar_action = ~/.config/spectrwm/polybar/launch.sh
bar_border_width = 1
bar_border[1] = rgb:18/18/18
bar_border_unfocus[1] = rgb:18/18/18
bar_color[1] = rgb:2e/34/40,rgb:eb/cb/8b,rgb:a3/be/8c,rgb:bf/61/6a,rgb:b4/8e/ad,rgb:88/c0/d0,rgb:d0/87/70,rgb:3b/42/52,rgb:4c/56/6a
bar_color_selected[1] = rgb:88/c0/d0
bar_font_color[1] = rgb:ec/ef/f4,rgb:2e/34/40,rgb:2e/34/40,rgb:eb/cb/8b,rgb:a3/be/8c,rgb:bf/61/6a,rgb:b4/8e/ad,rgb:88/c0/d0,rgb:d0/87/70,rgb:3b/42/52,rgb:4c/56/6a
# Nord Color Scheme
#bar_color[1] = rgb:2e/34/40,rgb:eb/cb/8b,rgb:a3/be/8c,rgb:bf/61/6a,rgb:b4/8e/ad,rgb:88/c0/d0,rgb:d0/87/70,rgb:3b/42/52,rgb:4c/56/6a
# Tokyo Night Color Scheme
#
# background, yellow, green red red blue white
bar_color[1] = rgb:1a/1b/26, rgb:e0/af/68, rgb:9e/ce/6a, rgb:f7/76/8e, rgb:f7/76/8e, rgb:7a/a2/f7, rgb:78/7c/99,rgb:3b/42/52,rgb:4c/56/6a
#bar_color_selected[1] = rgb:ff/ff/44
#bar_font_color[1] = rgb:ec/ef/f4,rgb:2e/34/40,rgb:2e/34/40,rgb:eb/cb/8b,rgb:a3/be/8c,rgb:f7/76/8e,rgb:b4/8e/ad,rgb:88/c0/d0,rgb:d0/87/70,rgb:3b/42/52,rgb:4c/56/6a
# foreground bg/negative yellow green red blue blue white
bar_font_color[1] = rgb:a9/b1/d6, rgb:1a/1b/26, rgb:1a/1b/26, rgb:e0/af/68, rgb:9e/ce/6a,rgb:f7/76/8e, rgb:7a/a2/f7,rgb:7a/a2/f7,rgb:78/7c/99,rgb:3b/42/52,rgb:4c/56/6a
bar_font = mononoki Nerd Font:pixelsize=15:antialias=true
bar_action = ~/.config/spectrwm/baraction.sh
bar_action_expand = 1
bar_justify = right
bar_format = +|L +@bg=0;+S +L +@bg=0; +@bg=8; +C +@fg=0; +|2R +A +@bg=0;+@fg=0; %a, %b %d %R +<
bar_at_bottom = 0
@ -48,6 +58,8 @@ urgent_collapse = 0
autorun = ws[1]:nitrogen --restore
autorun = ws[1]:alacritty
autorun = ws[1]:pipewire
autorun = ws[1]:aw-qt
autorun = ws[1]:keepassxc
autorun = ws[1]:pipewire-pulse
autorun = ws[1]:volumeicon
autorun = ws[1]:xfce4-power-manager