Compare commits

..

No commits in common. "85ca7b97e436f623866d80105e1ed61b7efafb8c" and "3e66e37aad11aceab6e50f2eddb5dfa36a17b6be" have entirely different histories.

10 changed files with 59 additions and 19 deletions

View File

@ -1,2 +1 @@
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 -c $nb/cache-news.db" alias nbn="newsboat -u $nb/urls-news-pipe"
alias nbf="newsboat -u $nb/urls-friends -c $nb/cache-friends.db" alias nbf="newsboat -u $nb/urls-friends"

View File

@ -5,10 +5,13 @@ 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,5 +2,4 @@ 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,4 +1,3 @@
https://hnrss.org/frontpage https://www.nasaspaceflight.com/feed/
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,3 +1,20 @@
#!/usr/bin/env bash #!/usr/bin/env bash
. "$HOME/src/dwm-bar/dwm_bar.sh" export BAR_VISIBILITY=$CONFIG/polybar/.visible
[[ -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

21
.scripts/bar/toggle Executable file
View File

@ -0,0 +1,21 @@
#!/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
sh $SCRIPTS/kbd/kbfr setxkbmap gb
sh $SCRIPTS/kbd/capsctrl sh $SCRIPTS/kbd/capsctrl
# keybinds # keybinds
@ -27,9 +27,7 @@ udiskie &
# notifications # notifications
dunst & dunst &
# status bar dwmstatus &
#dwmstatus &
sh "$HOME/src/dwm-bar/dwm_bar.sh" &
# start window manager # start window manager
exec dwm exec dwm

19
.zshrc
View File

@ -1,5 +1,6 @@
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
@ -10,18 +11,16 @@ 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
# start ssh-agent automatically
ssh-agent >/dev/null
eval $(ssh-agent -s) >/dev/null
# zsh stuff
export FFF_HIDDEN=1
export WTTRURL="wttr.in/?0"
export ZSH=$HOME/.oh-my-zsh export ZSH=$HOME/.oh-my-zsh
export WTTRURL="wttr.in/?0"
export FFF_HIDDEN=1
export XDG_CACHE_HOME=$HOME/.cache export XDG_CACHE_HOME=$HOME/.cache
ZSH_THEME="sunaku" ZSH_THEME="sunaku"
@ -37,3 +36,7 @@ if [ -f ~/.zsh_aliases ]; then
. ~/.zsh_aliases . ~/.zsh_aliases
fi fi
# start ssh-agent automatically
ssh-agent
eval $(ssh-agent -s)
clear

1
git/dwmstatus Submodule

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