A lot. More. Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Sat, 21 Sep 2019 18:24:44 +0530
6 files changed,
29 insertions(+),
24 deletions(-)
M
bash/.bashrc
→
bash/.bashrc
@@ -16,7 +16,6 @@ shopt -s histappend
export HISTCONTROL=ignoreboth:erasedups HISTSIZE=1000 HISTFILESIZE=2000 -#export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" # cool options for cool kids shopt -s \@@ -48,3 +47,9 @@
# source aliases and prompt source ~/.bash/aliases source ~/.bash/prompt + +# autojump +[[ -s /home/icy/.autojump/etc/profile.d/autojump.sh ]] && source /home/icy/.autojump/etc/profile.d/autojump.sh + +# title +trap 'echo -ne "\033]0;$BASH_COMMAND\007"' DEBUG
M
bash/aliases
→
bash/aliases
@@ -33,16 +33,3 @@ fff "$@"
cd "$(cat "${XDG_CACHE_HOME:=${HOME}/.cache}/fff/.fff_d")" } -function git_branch() { - local git_status="$(git status 2> /dev/null)" - local on_branch="On branch ([^${IFS}]*)" - local on_commit="HEAD detached at ([^${IFS}]*)" - - if [[ $git_status =~ $on_branch ]]; then - local branch=${BASH_REMATCH[1]} - echo -ne "───${grn} $branch ${rst}" - elif [[ $git_status =~ $on_commit ]]; then - local commit=${BASH_REMATCH[1]} - echo -ne "───${ylw} $commit ${rst}" - fi -}
M
bash/prompt
→
bash/prompt
@@ -37,5 +37,5 @@ echo -ne "›"
fi } -PS1='\n$(prompt_pwd)$(git_branch)\n$(rootornot) ' +PS1='\n\w$(git_branch)\n$(rootornot) ' PS2="> "
M
bin/info
→
bin/info
@@ -24,13 +24,14 @@
user=$(whoami) host=$(hostname) kernel=$(uname -r) -uptime=$(uptime -p) # too long to print +#uptime=$(uptime -p) # too long to print shell=$(basename $SHELL) os() { os=$(source /etc/os-release && echo $ID) export os } + wm() { id=$(xprop -root -notype _NET_SUPPORTING_WM_CHECK)@@ -43,9 +44,15 @@ wm=${wm,,}
export wm } +pkgs() { + pkgs=$(apk info | wc -l) + export pkgs +} +# get our vars os wm +pkgs COL=$(tput cols) ROW=$(tput lines)@@ -73,10 +80,10 @@
#printf "%s%b" "$PADC" "$COLOR_BARS\n\n" printf "%s%b" "$PADC" "${CYN}$user${RST}@${CYN}$host${RST}\n" printf "%s%b" "$PADC" "os: ${CYN}$os${RST}\n" -printf "%s%b" "$PADC" "kernel: ${CYN}$kernel${RST}\n" -#printf "%s%b" "$PADC" "uptime: ${CYN}$uptime${RST}\n" +printf "%s%b" "$PADC" "kernel:${CYN}$kernel${RST}\n" +printf "%s%b" "$PADC" "pkgs: ${CYN}$pkgs${RST}\n" printf "%s%b" "$PADC" "wm: ${CYN}$wm${RST}\n" -printf "%s%b" "$PADC" "shell: ${CYN}$shell${RST}\n" +printf "%s%b" "$PADC" "shell: ${CYN}$shell${RST}\n" printf "%s%b" "$PADC" "$COLOR_BARS\n" tput civis
M
config/libinput-gestures.conf
→
config/libinput-gestures.conf
@@ -8,6 +8,6 @@
# Browser go back (works only for Xorg, and Xwayland clients) gesture swipe right 4 xdotool key alt+Left -# gesture pinch in xdotool key super+s -# gesture pinch out xdotool key super+s +gesture pinch in xdotool key ctrl+minus +gesture pinch out xdotool key ctrl+plus
M
weechat/weechat.conf
→
weechat/weechat.conf
@@ -212,7 +212,7 @@ command_inline = on
default_template = "%(nicks)|%(irc_channels)" nick_add_space = on nick_case_sensitive = off -nick_completer = "," +nick_completer = ": " nick_first_only = off nick_ignore_chars = "[]-^" partial_completion_alert = on@@ -347,7 +347,7 @@ nicklist.color_fg = default
nicklist.conditions = "nicklist" nicklist.filling_left_right = vertical nicklist.filling_top_bottom = columns_vertical -nicklist.hidden = on +nicklist.hidden = off nicklist.items = "buffer_nicklist" nicklist.position = right nicklist.priority = 200@@ -386,7 +386,13 @@ title.type = window
[layout] default.buffer = "core;weechat;1" -default.window = "1;0;0;0;core;weechat" +default.buffer = "irc;server.rizon;1" +default.buffer = "irc;rizon.#rice;2" +default.buffer = "irc;rizon.#homescreen;3" +default.buffer = "irc;rizon.#avpd;4" +default.buffer = "irc;rizon.#linux;5" +default.buffer = "irc;rizon.nerdypepper;6" +default.window = "1;0;0;0;irc;rizon.nerdypepper" default.current = on [notify]