Compare commits

...

7 Commits

Author SHA1 Message Date
ktyl 85ca7b97e4 update zshrc 2023-11-20 23:58:41 +00:00
ktyl 47395292cd feat(newsboat): category caching 2023-11-20 23:57:22 +00:00
ktyl c4f5e6ee25 use dwm_bar 2023-11-15 00:10:31 +00:00
ktyl 2ac297bd1c update default keyboard layout 2023-11-15 00:09:25 +00:00
ktyl d150f3b40f remove git dir 2023-11-15 00:08:37 +00:00
ktyl 0e85014f42 update .gitignore 2023-11-15 00:08:08 +00:00
ktyl 4d3c14277d remove dwmstatus 2023-11-15 00:07:40 +00:00
10 changed files with 17 additions and 57 deletions

View File

@ -1 +1,2 @@
cache.db cache.db
history.cmdline

View File

@ -1,5 +1,5 @@
nb="~/.newsboat" nb="~/.newsboat"
alias nb="newsboat" alias nb="newsboat"
alias nbn="newsboat -u $nb/urls-news-pipe" alias nbn="newsboat -u $nb/urls-news-pipe -c $nb/cache-news.db"
alias nbf="newsboat -u $nb/urls-friends" alias nbf="newsboat -u $nb/urls-friends -c $nb/cache-friends.db"

View File

@ -5,13 +5,10 @@ https://dynomight.substack.com/feed
https://esoteric.codes/rss https://esoteric.codes/rss
https://garry.blog/feed https://garry.blog/feed
https://hadarford.blogspot.com/rss.xml https://hadarford.blogspot.com/rss.xml
https://hnrss.org/frontpage
https://idlewords.com/index.xml https://idlewords.com/index.xml
https://ktyl.dev/blog/index.xml https://ktyl.dev/blog/index.xml
https://lord.re/posts/index.xml https://lord.re/posts/index.xml
https://maggieappleton.com/rss.xml https://maggieappleton.com/rss.xml
https://myst.rs/blog/feed.xml
https://nasablueberry.com/feed/
https://ploum.net/atom_en.xml https://ploum.net/atom_en.xml
https://ploum.net/atom_fr.xml https://ploum.net/atom_fr.xml
https://qntm.org/rss.php?blog https://qntm.org/rss.php?blog

View File

@ -2,4 +2,5 @@ https://adichandra.in/feed/
https://alvinpab.com/rss.xml https://alvinpab.com/rss.xml
https://billyeatcookies.github.io/feed https://billyeatcookies.github.io/feed
https://blog.oliverbooth.dev/feed https://blog.oliverbooth.dev/feed
https://myst.rs/blog/feed.xml
https://reese.ovine.xyz/feed.rss https://reese.ovine.xyz/feed.rss

View File

@ -1,3 +1,4 @@
https://www.nasaspaceflight.com/feed/ https://hnrss.org/frontpage
https://nasaspaceflight.com/feed/
https://phys.org/rss-feed/breaking/space-news https://phys.org/rss-feed/breaking/space-news
https://thequietus.com/feed https://thequietus.com/feed

View File

@ -1,20 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export BAR_VISIBILITY=$CONFIG/polybar/.visible . "$HOME/src/dwm-bar/dwm_bar.sh"
[[ -f $BAR_VISIBILITY ]] && rm $BAR_VISIBILITY
# create a file to keep track of the bar's visibility
# file exists -> bar visible
# file doesnt exist -> bar hidden
#touch $BAR_VISIBILITY
# terminate already running bar instances
killall -q polybar
# wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# launch bar
polybar example & # launch bar
#touch $BAR_VISIBILITY

View File

@ -1,21 +0,0 @@
#!/usr/bin/env bash
visible=$CONFIG/polybar/.visible
barheight=27
padding=0
if [ -f $visible ]; then
polybar-msg cmd hide
rm $visible
else
#bspc config top_padding ((padding+$barheight))
polybar-msg cmd show
((padding=padding+barheight))
touch $visible
fi
bspc config top_padding $padding

View File

@ -9,7 +9,7 @@ xsetroot -cursor_name left_ptr
xbanish & xbanish &
# set keyboard layout, map caps lock to ctrl and esc # set keyboard layout, map caps lock to ctrl and esc
setxkbmap gb sh $SCRIPTS/kbd/kbfr
sh $SCRIPTS/kbd/capsctrl sh $SCRIPTS/kbd/capsctrl
# keybinds # keybinds
@ -27,7 +27,9 @@ udiskie &
# notifications # notifications
dunst & dunst &
dwmstatus & # status bar
#dwmstatus &
sh "$HOME/src/dwm-bar/dwm_bar.sh" &
# start window manager # start window manager
exec dwm exec dwm

15
.zshrc
View File

@ -1,6 +1,5 @@
export CONFIG=$HOME/.config export CONFIG=$HOME/.config
export PROJECTS=$HOME/prj export PROJECTS=$HOME/prj
export GOPATH=$PROJECTS/go
export PATH=$PATH:$GOPATH/bin export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/bin export PATH=$PATH:$HOME/bin
@ -11,16 +10,18 @@ export PATH=$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin
export SCRIPTS=$HOME/.scripts export SCRIPTS=$HOME/.scripts
source $SCRIPTS/include.sh source $SCRIPTS/include.sh
source $SCRIPTS/func.sh source $SCRIPTS/func.sh
source $HOME/git/include.sh
export TERMINAL=/usr/bin/kitty export TERMINAL=/usr/bin/kitty
export EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/nvim
export ZSH=$HOME/.oh-my-zsh
export WTTRURL="wttr.in/?0" # start ssh-agent automatically
ssh-agent >/dev/null
eval $(ssh-agent -s) >/dev/null
# zsh stuff
export FFF_HIDDEN=1 export FFF_HIDDEN=1
export WTTRURL="wttr.in/?0"
export ZSH=$HOME/.oh-my-zsh
export XDG_CACHE_HOME=$HOME/.cache export XDG_CACHE_HOME=$HOME/.cache
ZSH_THEME="sunaku" ZSH_THEME="sunaku"
@ -36,7 +37,3 @@ if [ -f ~/.zsh_aliases ]; then
. ~/.zsh_aliases . ~/.zsh_aliases
fi fi
# start ssh-agent automatically
ssh-agent
eval $(ssh-agent -s)
clear

@ -1 +0,0 @@
Subproject commit 625670e789f9a9ec7e0cf473d43f5c34f051b1e0