+ Added elearning-isitup (personal purposes).

+ Added DWM Autostart script
+ Added Conky Launcher Script for DWM
+ More cleaning up
This commit is contained in:
ziro 2020-05-12 20:48:20 +07:00
parent c1db823131
commit 28d74082e0
5 changed files with 24 additions and 3 deletions

4
.config/dwm/autostart.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
nitrogen --restore &
picom &
$HOME/.scripts/launch-conky_dwm.sh &

View file

@ -60,14 +60,14 @@ alias upElearn='sh $HOME/.scripts/elearning-isitup.sh'
#config shortcuts #config shortcuts
alias cfvim='vim $XDG_CONFIG_HOME/vim/vimrc' alias cfvim='vim $XDG_CONFIG_HOME/vim/vimrc'
alias cfbash='vim $HOME/.bashrc' alias cfbash='vim $HOME/.bashrc'
alias cfzsh='vim $HOME/.zshrc' alias cfzsh='vim $XDG_CONFIG_HOME/zsh/.zshrc'
alias cfxres='vim $HOME/.Xresources' alias cfxres='vim $XDG_CONFIG_HOME/Xresources'
alias cfbsp='vim $XDG_CONFIG_HOME/bspwm/bspwmrc' alias cfbsp='vim $XDG_CONFIG_HOME/bspwm/bspwmrc'
alias cfpoly='vim $XDG_CONFIG_HOME/polybar/config' alias cfpoly='vim $XDG_CONFIG_HOME/polybar/config'
alias cfkeys='vim $XDG_CONFIG_HOME/sxhkd/sxhkdrc' alias cfkeys='vim $XDG_CONFIG_HOME/sxhkd/sxhkdrc'
alias cfalias='vim $XDG_CONFIG_HOME/zsh/aliases' alias cfalias='vim $XDG_CONFIG_HOME/zsh/aliases'
alias cfbind='vim $XDG_CONFIG_HOME/zsh/keybinds' alias cfbind='vim $XDG_CONFIG_HOME/zsh/keybinds'
alias cfprofile='vim $HOME/.zprofile' alias cfprofile='vim $XDG_CONFIG_HOME/zsh/.zprofile'
alias cfcompt='vim $XDG_CONFIG_HOME/picom/compton.conf' alias cfcompt='vim $XDG_CONFIG_HOME/picom/compton.conf'
alias cfenv='vim $HOME/.zshenv' alias cfenv='vim $HOME/.zshenv'

View file

@ -0,0 +1,5 @@
curl -s "https://isitup.org/elearning.binadarma.ac.id" > /tmp/isitup.html
cat /tmp/isitup.html | grep "data-text" | cut -d'"' -f2 > /tmp/isitup.txt
cat /tmp/isitup.txt

6
.scripts/launch-conky_dwm.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/dash
killall conky
while pgrep -u $UID -x conky >/dev/null; do sleep 1; done
conky --config=$HOME/.config/conky/conkyrc_dwm -b

View file

@ -29,6 +29,12 @@ export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export WGETRC="$XDG_CONFIG_HOME/wgetrc" export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer" export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="${XDG_DATA_HOME:-$HOME/.local/share}/oh-my-zsh" export ZSH="${XDG_DATA_HOME:-$HOME/.local/share}/oh-my-zsh"