From 992321399309a6b00702e1d04e60c41800d31feb Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 2 Jun 2025 23:09:17 -0400 Subject: [PATCH] wal update! rofi + conky configs are now in /wal/ --- .bashrc | 53 +++++++++--------- .vimrc | 14 +++++ Scripts/package-e-search | 3 + Scripts/set_wallpaper | 12 ++++ ff_theme.zip | Bin 727 -> 0 bytes i3blocks.conf | 31 ++++++----- i3config | 77 ++++++++++++++++---------- rofi_theme.rasi | 111 ------------------------------------- wal/templates/conky.conf | 88 +++++++++++++++++++++++++++++ wal/templates/theme.rasi | 116 +++++++++++++++++++++++++++++++++++++++ 10 files changed, 324 insertions(+), 181 deletions(-) create mode 100644 .vimrc create mode 100755 Scripts/package-e-search create mode 100755 Scripts/set_wallpaper delete mode 100644 ff_theme.zip delete mode 100644 rofi_theme.rasi create mode 100644 wal/templates/conky.conf create mode 100644 wal/templates/theme.rasi diff --git a/.bashrc b/.bashrc index 9fa01a1..ab93a2f 100644 --- a/.bashrc +++ b/.bashrc @@ -5,48 +5,51 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -force_color_prompt=yes - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - +# Prompt setup +color_prompt=yes if [ "$color_prompt" = yes ]; then - PS1='\[\033[0;37m\]--[\t]--\n\u in \[\033[01;32m\]\w\[\033[0;37m\]\$\[\033[0;00m\] ' + PS1='\n\[\033[0;37m\]--[\t]--\n\u in \[\033[01;32m\]\w\[\033[0;37m\]\$\[\033[0;00m\] ' else PS1='[\u@\h \W]\$ ' fi -unset color_prompt force_color_prompt +unset color_prompt # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias l='ls' - alias ls='ls -l --color=auto' + + alias l='ls -l --color=auto' + alias ls='ls --color=auto' alias la='ls -la --color=auto' alias grep='grep --color=auto' + alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0' - #alias dir='dir --color=auto' - #alias vdir='vdir --color=auto' + alias v='vim' + alias s='sudo' + alias p='pacman' - #alias grep='grep --color=auto' - #alias fgrep='fgrep --color=auto' - #alias egrep='egrep --color=auto' + alias dir='dir --color=auto' + alias vdir='vdir --color=auto' + + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' fi +# Cautious deletion by default alias rm='rm -i' +# Set up fzf key bindings and fuzzy completion +eval "$(fzf --bash)" + +fcd() { + cd "$(find -type d | fzf --preview 'tree -C {} | head -200' --preview-window 'up:60%')" +} + +# Set color scheme based on wallpaper (set by i3/feh) +wal -Rneq + +# Set visibility of my custom scripts export PATH=$PATH:/home/slime/Scripts # Created by `pipx` on 2024-09-02 22:36:15 diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..af31fb9 --- /dev/null +++ b/.vimrc @@ -0,0 +1,14 @@ +" basic yummies +syntax on +set incsearch +set hlsearch +set relativenumber + +" basic file explorer +let g:netrw_banner = 0 +let g:netrw_browse_split = 4 +let g:netrw_winsize = 25 +let g:netrw_altv = 1 +let g:netrw_alto = 1 + +map :Lexplore diff --git a/Scripts/package-e-search b/Scripts/package-e-search new file mode 100755 index 0000000..5f6c3da --- /dev/null +++ b/Scripts/package-e-search @@ -0,0 +1,3 @@ +#! /bin/bash + +pacman -Qeq | fzf --preview="pacman -Qi {}" diff --git a/Scripts/set_wallpaper b/Scripts/set_wallpaper new file mode 100755 index 0000000..4fdfc45 --- /dev/null +++ b/Scripts/set_wallpaper @@ -0,0 +1,12 @@ +#! /bin/bash + +# get color scheme based on wallpaper provided to first (laptop) monitor +wal -i /home/slime/Pictures/papes/${1} --cols16 -n + +# set wallpapers +feh --bg-scale /home/slime/Pictures/papes/${1} /home/slime/Pictures/papes/${2} + +# link configs for non-supported wal programs +ln -sf ~/.cache/wal/theme.rasi ~/.config/rofi/theme.rasi +ln -sf ~/.cache/wal/conky.conf ~/.config/conky/conky.conf + diff --git a/ff_theme.zip b/ff_theme.zip deleted file mode 100644 index 41b3ca186c45a145d3ed380a1fdb9990b42a46ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 727 zcmaJfDK+WAx*)yhWZIydNm%%QWjjLyJXoKlZLBbYWxmo$AWMG zHq0(>9&aAQ?4pZHhuG`qT0YNjXWuVVLhL;U?7*bRcx4uEm69iiQnx|k53Vbrq`Reo zXA}R=uD@8ih)H(fKyb4xHm@Aci2fb7)at>D;=poV0qs=VG$5r`CD%su(Y-2^Mjo<& zXOt=urfmhCCwKnZqYoR8ZXWNk5Ne${vEiSlC5C}VgQX3tb%&ejv)^Ggmc$9$zvo&V zW!e)Bg3zOWxUyl{5p4`)f){D)V9Y8qd)oehVFPvwA+g8S^N@#9mB(_lHZpoOhqR