From 997d9f8ff9ba47aed509c77baa3183a67eaf9596 Mon Sep 17 00:00:00 2001 From: kdamani Date: Wed, 21 Oct 2020 16:13:52 -0400 Subject: updated dotfiles --- Scripts/.config/Scripts/autostart.sh | 9 +- Scripts/.config/Scripts/lock.sh | 9 +- Scripts/.config/Scripts/setbg | 2 +- Scripts/.config/Scripts/wp | 2 +- nvim/.config/nvim/init.vim | 11 +- polybar/.config/polybar/mybar_fedora | 40 +- profile/.Xdefaults | 67 -- profile/.bash_profile | 19 - profile/.bashrc | 65 -- profile/.dir_colors | 243 ----- profile/.emoji | 1644 ---------------------------------- profile/.gtkrc-2.0 | 19 - profile/.ls++.conf | 212 ----- profile/.profile | 9 - profile/.vimrc | 1 - profile/.xinitrc | 16 - profile_min/.Xdefaults | 67 ++ profile_min/.emoji | 1593 ++++++++++++++++++++++++++++++++ profile_min/.profile | 10 + sxhkd/.config/sxhkd/sxhkdrc | 7 +- xprofile/.bash_profile | 19 + xprofile/.xinitrc | 16 + zsh/.zshrc | 6 +- 23 files changed, 1737 insertions(+), 2349 deletions(-) delete mode 100644 profile/.Xdefaults delete mode 100644 profile/.bash_profile delete mode 100644 profile/.bashrc delete mode 100644 profile/.dir_colors delete mode 100644 profile/.emoji delete mode 100644 profile/.gtkrc-2.0 delete mode 100644 profile/.ls++.conf delete mode 100644 profile/.profile delete mode 100644 profile/.vimrc delete mode 100644 profile/.xinitrc create mode 100644 profile_min/.Xdefaults create mode 100644 profile_min/.emoji create mode 100644 profile_min/.profile create mode 100644 xprofile/.bash_profile create mode 100644 xprofile/.xinitrc diff --git a/Scripts/.config/Scripts/autostart.sh b/Scripts/.config/Scripts/autostart.sh index e721c09..2547037 100755 --- a/Scripts/.config/Scripts/autostart.sh +++ b/Scripts/.config/Scripts/autostart.sh @@ -13,9 +13,9 @@ function run { #~/.config/Scripts/screen.sh d && sleep 2s setxkbmap -layout us -variant altgr-intl -option caps:escape xmodmap -e "keycode 135 = Super_R" +setxkbmap -option caps:escape xset s off -dpms run dunst -run mpd run nm-applet run compton setbg ~/.config/wall.png @@ -23,14 +23,15 @@ setbg ~/.config/wall.png FEDORA=$(hostnamectl | grep -qw Fedora && echo $?) if [ "$FEDORA" == 0 ]; then - xinput --set-prop "Synaptics TM3276-031" "Device Enabled" 0 - run vivaldi-stable + xinput --set-prop "Synaptics TM3276-022" "Device Enabled" 0 + run vivaldi run light-locker else synclient TouchpadOff=1 run /usr/bin/xflux -l 43.6404 -g -79.3995 run st -c email -e neomutt run brave + run mpd fi run keepassxc @@ -44,5 +45,5 @@ then else run ~/.config/Scripts/launch_polybar.sh run st -c dropdown -e tmux -f ~/.config/tmux/tmux_start.conf attach - run st -c math -e R + run st -c math -e bc fi diff --git a/Scripts/.config/Scripts/lock.sh b/Scripts/.config/Scripts/lock.sh index dee89b4..4768dd2 100755 --- a/Scripts/.config/Scripts/lock.sh +++ b/Scripts/.config/Scripts/lock.sh @@ -1,9 +1,6 @@ #!/bin/sh -#scrot /tmp/screen.png -#convert /tmp/screen.png -paint 3 /tmp/screen.png -#[[ -f ~/.config/lock.png ]] && convert /tmp/screen.png ~/.config/lock.png -gravity center -composite -matte /tmp/screen.png -#mocp -P -#i3lock -u -e -i /tmp/screen.png +maim --hidecursor --window $(xdotool getactivewindow) /tmp/wall.png +convert /tmp/wall.png -paint 3 /tmp/wall.png -light-locker-command -l +light-locker-command --lock diff --git a/Scripts/.config/Scripts/setbg b/Scripts/.config/Scripts/setbg index 1084471..62457d6 100755 --- a/Scripts/.config/Scripts/setbg +++ b/Scripts/.config/Scripts/setbg @@ -15,4 +15,4 @@ WALLPAPER_HOME="$HOME/.config/wall.png" [ -d "$1" ] && cp -f "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME" "Random Wallpaper chosen." # If pywal is installed, use it. -wal -c && wal -o $HOME/.config/Scripts/done.sh -i "$WALLPAPER_HOME" +/usr/local/bin/wal -c && /usr/local/bin/wal -o $HOME/.config/Scripts/done.sh -i "$WALLPAPER_HOME" diff --git a/Scripts/.config/Scripts/wp b/Scripts/.config/Scripts/wp index 05dcfb4..29789cc 100755 --- a/Scripts/.config/Scripts/wp +++ b/Scripts/.config/Scripts/wp @@ -1,3 +1,3 @@ #!/bin/sh -find $HOME/Pictures/wallpapers -type f | shuf | sxiv - +find $HOME/wallpapers -type f | shuf | sxiv - diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 67e8384..04e14e4 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -1,4 +1,13 @@ -call plug#begin() +" auto-install vim-plug +if empty(glob('~/.config/nvim/autoload/plug.vim')) + silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs + \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + "autocmd VimEnter * PlugInstall + "autocmd VimEnter * PlugInstall | source $MYVIMRC +endif + +call plug#begin('~/.config/nvim/autoload/plugged') +"call plug#begin() Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' Plug 'ncm2/ncm2-bufword' diff --git a/polybar/.config/polybar/mybar_fedora b/polybar/.config/polybar/mybar_fedora index 3a25bfd..fb37a85 100644 --- a/polybar/.config/polybar/mybar_fedora +++ b/polybar/.config/polybar/mybar_fedora @@ -29,8 +29,6 @@ highlight = ${xrdb:color5:#f00} lowlight = ${xrdb:color6:#f00} alert = #bd2c40 -;mpd_color = ${xrdb:color11} -mpd_color = ${self.lowlight} bspwm_color = ${self.highlight} bspwm_color_unfocused_bg= ${self.background} i3_color = ${self.highlight} @@ -72,8 +70,8 @@ font-0 = Source Code Pro:style=Regular:size=12:weight=Bold font-1 = unifont:fontformat=truetype:size=14:antialias=false;0 font-2 = siji:pixelsize=14;1 -modules-left = mpd -modules-center = bspwm date +modules-left = bspwm +modules-center = date ;modules-right = filesystem pulseaudio memory eth battery modules-right = filesystem pulseaudio memory wlan eth battery-combined-udev @@ -188,36 +186,6 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding} ; Separator in between workspaces ; label-separator = | -[module/mpd] -type = internal/mpd -format-online = -format-online-foreground = ${colors.mpd_color} - -icon-play = ▶ -icon-pause =  -icon-stop = ⏹ -icon-prev = ⏮ -icon-next = ⏭ -icon-seekb = ⏪ -icon-seekf = ⏩ -icon-random = 🔀 -icon-repeat = 🔁 -icon-repeatone = 🔂 - -label-offline = 🎜 mpd is offline - -label-song = %artist% - %title% -label-song-maxlen = 50 -label-song-ellipsis = true - -toggle-on-foreground = #ff -toggle-off-foreground = #55 - -bar-progress-width = 10 -bar-progress-indicator = | -bar-progress-fill = ─ -bar-progress-empty = ─ - [module/xbacklight] type = internal/xbacklight @@ -254,7 +222,7 @@ label-foreground = ${colors.memory_color} [module/wlan] type = internal/network -interface = wlp4s0 +interface = wlp3s0 interval = 3.0 format-connected = @@ -368,7 +336,7 @@ tail = true format =