From cba0fcc03d9cbab623eae419d308c5b1f7c1b193 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 16 Nov 2020 18:06:41 -0500 Subject: [PATCH] old stuff removed many files renamed, possible breakage --- .config/bspwm/bspwm/bspwmrc | 40 -- .config/bspwm/bspwmrc | 34 -- .config/files | 17 - .config/i3/config | 359 ----------------- .config/i3blocks/config | 68 ---- .config/nvim/init.vim | 8 +- .config/polybar/config | 413 -------------------- .config/ranger/README.MD | 85 ----- .config/ranger/commands.py | 208 ---------- .config/ranger/rc.conf | 508 ------------------------- .config/ranger/rifle.conf | 236 ------------ .config/ranger/scope.sh | 120 ------ .config/ranger/shortcuts.conf | 0 .config/{ => readline}/inputrc | 0 .config/{ => shell}/aliasrc | 0 .config/{ => shell}/directories | 0 .config/shell/files | 23 ++ .config/shell/inputrc | 19 + .config/shell/profile | 145 +++++++ .config/sxhkd/sxhkdrc | 270 ------------- .config/vifm/colors/luke.vifm | 33 -- .config/vifm/vifmrc | 78 ---- .config/x11/xinitrc | 17 + .config/x11/xprofile | 13 + .config/{Xresources => x11/xresources} | 0 .config/xinitrc | 21 - .config/zsh/.zshrc | 8 +- .local/bin/shortcuts | 13 +- .profile | 2 +- .xinitrc | 2 +- .xprofile | 18 +- .zprofile | 146 +------ README.md | 29 +- 33 files changed, 251 insertions(+), 2682 deletions(-) delete mode 100755 .config/bspwm/bspwm/bspwmrc delete mode 100755 .config/bspwm/bspwmrc delete mode 100644 .config/files delete mode 100644 .config/i3/config delete mode 100644 .config/i3blocks/config delete mode 100644 .config/polybar/config delete mode 100644 .config/ranger/README.MD delete mode 100755 .config/ranger/commands.py delete mode 100644 .config/ranger/rc.conf delete mode 100644 .config/ranger/rifle.conf delete mode 100755 .config/ranger/scope.sh delete mode 100644 .config/ranger/shortcuts.conf rename .config/{ => readline}/inputrc (100%) rename .config/{ => shell}/aliasrc (100%) rename .config/{ => shell}/directories (100%) create mode 100644 .config/shell/files create mode 100644 .config/shell/inputrc create mode 100644 .config/shell/profile delete mode 100644 .config/sxhkd/sxhkdrc delete mode 100644 .config/vifm/colors/luke.vifm delete mode 100644 .config/vifm/vifmrc create mode 100755 .config/x11/xinitrc create mode 100755 .config/x11/xprofile rename .config/{Xresources => x11/xresources} (100%) delete mode 100755 .config/xinitrc mode change 100755 => 120000 .xprofile mode change 100644 => 120000 .zprofile diff --git a/.config/bspwm/bspwm/bspwmrc b/.config/bspwm/bspwm/bspwmrc deleted file mode 100755 index f0d4809..0000000 --- a/.config/bspwm/bspwm/bspwmrc +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -# If refreshing bspwm, remove all previous rules to prevent doubling up. -bspc rule -r "*" - -xsetroot -cursor_name left_ptr - -# We look for a non-laptop monitor to use for default, but use the laptop -# screen (LVDS) if there's nothing else. This is because I assume that if you -# have an extra screen attached to a laptop, you want to use that. -mainmonitor="$(bspc query --monitors --names | grep -v LVDS | head -n 1)" - -# if ! echo "$mainmonitor" | grep LVDS >/dev/null 2>&1; then -# xrandr --output "$mainmonitor" --auto --output LVDS1 --off -# else -# mainmonitor="LVDS1" -# xrandr --output LVDS1 --auto -# fi - -# Start workspaces on the main monitor. -bspc monitor "$mainmonitor" -d 1 2 3 4 5 6 7 8 9 10 -bspc desktop -f 1 - -# If you want a multi-monitor display or something else, I leave that to you to -# arrange. I have this sensible default for most people's use cases. - -bspc config border_width 3 -bspc config window_gap 15 -bspc config top_padding 24 # top_padding I set equal to polybar's height -bspc config focus_follows_pointer true - -bspc rule -a Zathura state=tiled - -dropdownname="dropdown" -bspc query -N -n .hidden >/dev/null || setsid -f "$TERMINAL" -n "$dropdownname" -e dropdown >/dev/null 2>&1 -bspc rule -a St:$dropdownname hidden=on -bspc rule -a St:$dropdownname sticky=on -bspc rule -a St:$dropdownname state=floating - -bspc config external_rules_command "$(which floaters)" diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc deleted file mode 100755 index 36b9abc..0000000 --- a/.config/bspwm/bspwmrc +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# If refreshing bspwm, remove all previous rules to prevent doubling up. -bspc rule -r "*" - -# We look for a non-laptop monitor to use for default, but use the laptop -# screen (LVDS) if there's nothing else. This is because I assume that if you -# have an extra screen attached to a laptop, you want to use that. -mainmonitor="$(bspc query --monitors --names | grep -v LVDS | head -n 1)" - -if ! echo "$mainmonitor" | grep LVDS >/dev/null 2>&1; then - xrandr --output "$mainmonitor" --auto --output LVDS1 --off -fi - -# Start workspaces on the main monitor. -bspc monitor "$mainmonitor" -d 1 2 3 4 5 6 7 8 9 10 -bspc desktop -f 1 - -# If you want a multi-monitor display or something else, I leave that to you to -# arrange. I have this sensible default for most people's use cases. - - -bspc config border_width 3 -bspc config window_gap 15 -bspc config top_padding 24 # top_padding I set equal to polybar's height -bspc config focus_follows_pointer true - -dropdownname="dropdown" -bspc query -N -n .hidden >/dev/null || setsid -f "$TERMINAL" -n "$dropdownname" -e dropdown >/dev/null 2>&1 -bspc rule -a St:$dropdownname hidden=on -bspc rule -a St:$dropdownname sticky=on -bspc rule -a St:$dropdownname state=floating - -bspc config external_rules_command "$(which floaters)" diff --git a/.config/files b/.config/files deleted file mode 100644 index ac69a3b..0000000 --- a/.config/files +++ /dev/null @@ -1,17 +0,0 @@ -bf ${XDG_CONFIG_HOME:-$HOME/.config}/files -bd ${XDG_CONFIG_HOME:-$HOME/.config}/directories -bw ${XDG_CONFIG_HOME:-$HOME/.config}/bookmarks -cfa ${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc -cfz $ZDOTDIR/.zshrc -cfv ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/init.vim -cft ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/.tmux.conf -cfm ${XDG_CONFIG_HOME:-$HOME/.config}/mutt/muttrc -cfx ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources -cfu ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls -cfn ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/config -cfmb ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/bindings -cfmc ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/config -cfk ${XDG_CONFIG_HOME:-$HOME/.config}/sxhkd/sxhkdrc -cfi ${XDG_CONFIG_HOME:-$HOME/.config}/i3/config -cfb ${XDG_CONFIG_HOME:-$HOME/.config}/i3blocks/config -cff ${XDG_CONFIG_HOME:-$HOME/.config}/fontconfig/fonts.conf diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index 5647389..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,359 +0,0 @@ -# vim: filetype=i3 -# File originally by Luke Smith - -# This config file will use environmental variables such as $BROWSER and $TERMINAL. -# You can set these variables in ~/.profile or ~/.bash_profile if you have it as below: -# -# export TERMINAL="st" - -# #---Basic Definitions---# # -set $inner_gaps 15 -set $outer_gaps 15 -set $term --no-startup-id $TERMINAL -set $mod Mod4 -set $stoprec --no-startup-id dmenurecord kill -set $shutdown sudo -A shutdown -h now -set $reboot sudo -A reboot -set $netrefresh --no-startup-id sudo -A systemctl restart NetworkManager -set $hibernate sudo -A systemctl suspend - -# #---Gaps---# # -for_window [class="^.*"] border pixel 2 -gaps inner $inner_gaps -gaps outer $outer_gaps - -# #---Dropdown Windows---# # -# General dropdown window traits. The order can matter. -for_window [instance="dropdown_*"] floating enable -for_window [instance="dropdown_*"] move scratchpad -for_window [instance="dropdown_*"] sticky enable -for_window [instance="dropdown_*"] scratchpad show -for_window [instance="dropdown_tmuxdd"] resize set 625 450 -for_window [instance="dropdown_dropdowncalc"] resize set 800 300 -for_window [instance="dropdown_tmuxdd"] border pixel 3 -for_window [instance="dropdown_dropdowncalc"] border pixel 2 -for_window [instance="dropdown_*"] move position center - -bar { - font pango:mono 10 - status_command i3blocks - position top - mode dock - modifier None -} - -# #---Basic Bindings---# # -bindsym $mod+Return exec $term -bindsym $mod+Shift+Return exec --no-startup-id samedir - -bindsym $mod+Shift+space floating toggle -bindsym $mod+space focus mode_toggle - -bindsym $mod+Escape workspace prev -bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3 exit" - -# bindsym $mod+BackSpace -bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Reboot computer?" "$reboot" - -bindsym $mod+grave exec --no-startup-id dmenuunicode -##bindsym $mod+asciitilde - -#STOP/HIDE EVERYTHING: -bindsym $mod+Shift+Delete exec --no-startup-id pulsemixer --mute ; exec --no-startup-id mpc pause && pkill -RTMIN+10 i3blocks ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e lf - -# Show selection: -bindsym $mod+Insert exec --no-startup-id notify-send "📋 Clipboard contents:" "$(xclip -o -selection clipboard)" -##bindsym $mod+Pause - -# #---Letter Key Bindings---# # -bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill -bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec --no-startup-id kill -9 `xdotool getwindowfocus getwindowpid` - -bindsym $mod+w exec --no-startup-id $BROWSER -bindsym $mod+Shift+w exec $term -e nmtui - -bindsym $mod+e exec $term -e neomutt && pkill -RTMIN+12 i3blocks -bindsym $mod+Shift+e exec --no-startup-id tutorialvids - -bindsym $mod+r exec $term -e lf -bindsym $mod+Shift+r exec --no-startup-id winresize - -bindsym $mod+t split toggle -bindsym $mod+Shift+t gaps inner current set $inner_gaps; gaps outer current set $outer_gaps - -bindsym $mod+y exec $term -e calcurse -bindsym $mod+Shift+y exec --no-startup-id i3resize left - -bindsym $mod+u exec --no-startup-id ddspawn tmuxdd -bindsym $mod+Shift+u exec --no-startup-id i3resize down - -bindsym $mod+i exec $term -e htop -bindsym $mod+Shift+i exec --no-startup-id i3resize up - -bindsym $mod+o sticky toggle -bindsym $mod+Shift+o exec --no-startup-id i3resize right - -bindsym $mod+p exec --no-startup-id mpc toggle -bindsym $mod+Shift+p exec --no-startup-id mpc pause - -bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24 -bindsym $mod+Shift+a exec $term -e pulsemixer - -bindsym $mod+s gaps inner current plus 5 -bindsym $mod+Shift+s gaps inner current minus 5 - -bindsym $mod+d exec --no-startup-id dmenu_run -bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0 - -set $freeze Distraction-free mode (super+shift+f to reactivate bindings) -mode "$freeze" { bindsym $mod+Shift+f mode "default" -} - -bindsym $mod+f fullscreen toggle -bindsym $mod+Shift+f mode "$freeze" ;; exec --no-startup-id notify-send "Distraction-free mode activated." "Press Super+Shift+f to return." - -bindsym $mod+g workspace prev -bindsym $mod+Shift+g exec --no-startup-id gimp; workspace $ws5 - -bindsym $mod+h focus left -bindsym $mod+Shift+h move left 30 -bindsym $mod+Ctrl+h move workspace to output left - -bindsym $mod+j focus down -bindsym $mod+Shift+j move down 30 -bindsym $mod+Ctrl+j move workspace to output down - -bindsym $mod+k focus up -bindsym $mod+Shift+k move up 30 -bindsym $mod+Ctrl+k move workspace to output up - -bindsym $mod+l focus right -bindsym $mod+Shift+l move right 30 -bindsym $mod+Ctrl+l move workspace to output right - -bindsym $mod+z gaps outer current plus 5 -bindsym $mod+Shift+z gaps outer current minus 5 - -bindsym $mod+x exec --no-startup-id xset dpms force off && mpc pause && pauseallmpv && slock & -bindsym $mod+Shift+x exec --no-startup-id prompt "Shutdown computer?" "$shutdown" - -bindsym $mod+c exec --no-startup-id cabl -bindsym $mod+Shift+c exec --no-startup-id camtoggle - -bindsym $mod+v exec --no-startup-id $term -e $EDITOR -c "VimwikiIndex" -#bindsym $mod+Shift+v - -bindsym $mod+b bar mode toggle -bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id hover left - -bindsym $mod+n exec $term -e newsboat && pkill -RTMIN+6 i3blocks -bindsym $mod+Shift+n floating toggle; sticky toggle; exec --no-startup-id hover right - -bindsym $mod+m exec --no-startup-id $term -e ncmpcpp -bindsym $mod+Shift+m exec --no-startup-id pulsemixer --toggle-mute && pkill -RTMIN+10 i3blocks - -# #---Workspace Bindings---# # -bindsym $mod+Home workspace $ws1 -bindsym $mod+Shift+Home move container to workspace $ws1 -bindsym $mod+End workspace $ws10 -bindsym $mod+Shift+End move container to workspace $ws10 -bindsym $mod+Prior workspace prev -bindsym $mod+Shift+Prior move container to workspace prev -bindsym $mod+Next workspace next -bindsym $mod+Shift+Next move container to workspace next -bindsym $mod+Tab workspace back_and_forth -bindsym $mod+XF86Back workspace prev -bindsym $mod+Shift+XF86Back move container to workspace prev -bindsym $mod+XF86Forward workspace next -bindsym $mod+Shift+XF86Forward move container to workspace next -bindsym $mod+semicolon workspace next -bindsym $mod+apostrophe split horizontal ;; exec $term -bindsym $mod+slash split vertical ;; exec $term -bindsym $mod+Shift+slash kill -bindsym $mod+backslash workspace back_and_forth - -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -for_window [class="Pinentry"] sticky enable -for_window [class="sent"] border pixel 0px -for_window [title="GIMP Startup"] move workspace $ws5 -for_window [class="Gimp"] move workspace $ws5 -for_window [window_role="GtkFileChooserDialog"] resize set 800 600 -for_window [window_role="GtkFileChooserDialog"] move position center -for_window [title="Default - Wine desktop"] floating enable - -# Bindings to make the webcam float and stick. -for_window [title="mpvfloat"] floating enable -for_window [title="mpvfloat"] sticky enable -for_window [title="mpvfloat"] border pixel 0 -no_focus [title="mpvfloat"] - -# #---Function Buttons---# # -bindsym $mod+F1 exec --no-startup-id groff -mom ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/readme.mom -Tpdf | zathura - -bindsym $mod+F2 restart -bindsym $mod+F3 exec --no-startup-id displayselect -bindsym $mod+F4 exec --no-startup-id prompt "Hibernate computer?" "$hibernate" -bindsym $mod+F5 exec --no-startup-id $netrefresh -bindsym $mod+F6 exec --no-startup-id torwrap -bindsym $mod+F7 exec --no-startup-id td-toggle -bindsym $mod+F8 exec --no-startup-id mw sync -bindsym $mod+F9 exec --no-startup-id dmenumount -bindsym $mod+F10 exec --no-startup-id dmenuumount -bindsym $mod+F11 exec --no-startup-id ducksearch -bindsym $mod+F12 exec $term -e nmtui -bindsym $mod+Shift+F1 exec --no-startup-id toggle-welcome - -# #---Arrow Keys---# # -bindsym $mod+Left focus left -bindsym $mod+Shift+Left move left -bindsym $mod+Ctrl+Left move workspace to output left -bindsym $mod+Down focus down -bindsym $mod+Shift+Down move down -bindsym $mod+Ctrl+Down move workspace to output down -bindsym $mod+Up focus up -bindsym $mod+Shift+Up move up -bindsym $mod+Ctrl+Up move workspace to output up -bindsym $mod+Right focus right -bindsym $mod+Shift+Right move right -bindsym $mod+Ctrl+Right move workspace to output right - -# #---Media Keys---# # -# Volume keys -bindsym $mod+plus exec --no-startup-id pulsemixer --change-volume +5 && pkill -RTMIN+10 i3blocks -bindsym $mod+Shift+plus exec --no-startup-id pulsemixer --change-volume +15 && pkill -RTMIN+10 i3blocks -bindsym $mod+minus exec --no-startup-id pulsemixer --change-volume -5 && pkill -RTMIN+10 i3blocks -bindsym $mod+Shift+minus exec --no-startup-id pulsemixer --change-volume -15 && pkill -RTMIN+10 i3blocks -bindsym $mod+less exec --no-startup-id mpc prev -bindsym $mod+Shift+less exec --no-startup-id mpc seek 0% -bindsym $mod+greater exec --no-startup-id mpc next -bindsym $mod+Shift+greater exec --no-startup-id mpc next - -# For advancing forward/backward in an mpd song -bindsym $mod+bracketleft exec --no-startup-id mpc seek -10 -bindsym $mod+Shift+bracketleft exec --no-startup-id mpc seek -120 -bindsym $mod+bracketright exec --no-startup-id mpc seek +10 -bindsym $mod+Shift+bracketright exec --no-startup-id mpc seek +120 - -# For screenshots and recording -bindsym Print exec --no-startup-id maim pic-full-"$(date '+%y%m%d-%H%M-%S').png" -bindsym Shift+Print exec --no-startup-id maimpick -bindsym $mod+Print exec --no-startup-id dmenurecord -bindsym $mod+Scroll_Lock exec --no-startup-id "killall screenkey || screenkey" -bindsym $mod+Delete exec $stoprec -bindsym XF86Launch1 exec --no-startup-id xset dpms force off - -# #---Extra XF86 Keys---# # -bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute && pkill -RTMIN+10 i3blocks -bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 && pkill -RTMIN+10 i3blocks -bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -10 && pkill -RTMIN+10 i3blocks -bindsym Control+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -1 && pkill -RTMIN+10 i3blocks -bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 && pkill -RTMIN+10 i3blocks -bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +10 && pkill -RTMIN+10 i3blocks -bindsym Control+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +1 && pkill -RTMIN+10 i3blocks -bindsym XF86PowerOff exec --no-startup-id prompt "Shutdown computer?" "$shutdown" -##bindsym XF86Copy exec -##bindsym XF86Open exec -##bindsym XF86Paste exec -##bindsym XF86Cut exec -##bindsym XF86MenuKB exec -bindsym XF86Calculator exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24 -##bindsym XF86Sleep This binding is typically mapped by systemd automatically. -##bindsym XF86WakeUp exec -bindsym XF86Explorer exec $term -e lf -##bindsym XF86Send exec -##bindsym XF86Xfer exec -bindsym XF86WWW exec --no-startup-id $BROWSER -##bindsym XF86DOS exec -bindsym XF86ScreenSaver exec exec --no-startup-id lockscreen -##bindsym XF86RotateWindows exec -##bindsym XF86TaskPane exec -##bindsym XF86Favorites exec -bindsym XF86MyComputer exec $term -e lf -##bindsym XF86Back exec -##bindsym XF86Forward exec -bindsym XF86Eject exec --no-startup-id dmenuumount -bindsym XF86AudioNext exec --no-startup-id mpc next -bindsym XF86AudioPlay exec --no-startup-id mpc toggle -bindsym XF86AudioPrev exec --no-startup-id mpc prev -bindsym XF86AudioStop exec --no-startup-id mpc toggle -##bindsym XF86AudioRecord -bindsym XF86AudioRewind exec --no-startup-id mpc seek -10 -bindsym XF86AudioForward exec --no-startup-id mpc seek +10 -##bindsym XF86Phone exec -##bindsym XF86Tools exec -bindsym XF86HomePage exec $BROWSER https://lukesmith.xyz -bindsym XF86Reload restart -##bindsym XF86ScrollUp exec -##bindsym XF86ScrollDown exec -##bindsym XF86New exec -##bindsym XF86LaunchA exec -##bindsym XF86LaunchB exec -##bindsym XF86Launch2 exec -##bindsym XF86Launch3 exec -##bindsym XF86Launch4 exec -##bindsym XF86Launch5 exec -##bindsym XF86Launch6 exec -##bindsym XF86Launch7 exec -##bindsym XF86Launch8 exec -##bindsym XF86Launch9 exec -#bindsym XF86AudioMicMute exec $micmute -bindsym XF86TouchpadToggle exec --no-startup-id toggletouchpad -bindsym XF86TouchpadOn exec --no-startup-id synclient TouchpadOff=0 -bindsym XF86TouchpadOff exec --no-startup-id synclient TouchpadOff=1 -bindsym XF86Suspend exec --no-startup-id lockscreen -bindsym XF86Close kill -bindsym XF86WebCam exec --no-startup-id camtoggle -bindsym XF86Mail exec $term -e neomutt && pkill -RTMIN+12 i3blocks -bindsym XF86Messenger exec $term -e weechat -bindsym XF86Search exec $BROWSER https://duckduckgo.com -##bindsym XF86Go exec -##bindsym XF86Finance exec -##bindsym XF86Game exec -bindsym XF86Shop exec $BROWSER https://ebay.com -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 15 -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 15 -bindsym XF86AudioMedia exec --no-startup-id $term -e ncmpcpp -bindsym XF86Display exec --no-startup-id displayselect -#bindsym XF86KbdLightOnOff exec -#bindsym XF86KbdBrightnessDown exec -#bindsym XF86KbdBrightnessUp exec -##bindsym XF86Reply exec -##bindsym XF86MailForward exec -##bindsym XF86Save exec -bindsym XF86Documents exec $term -e lf ~/Documents -##bindsym XF86Battery exec -##bindsym XF86Bluetooth exec -bindsym XF86WLAN exec $netrefresh diff --git a/.config/i3blocks/config b/.config/i3blocks/config deleted file mode 100644 index e83de5a..0000000 --- a/.config/i3blocks/config +++ /dev/null @@ -1,68 +0,0 @@ -command=~/.local/bin/statusbar/$BLOCK_NAME -separator_block_width=15 -markup=pango - -[record] -command=cat /tmp/recordingicon -interval=once -signal=9 - -[music] -label=🎼 -interval=once -signal=11 - -[news] -interval=once -signal=6 - -#[iplocate] -#interval=30 - -[pacpackages] -interval=once -signal=8 - -[torrent] -interval=20 -signal=7 - -[weather] -interval=18000 -signal=5 - -[mailbox] -interval=180 -signal=12 - -#[memory] -#interval=30 - -#[cpu] -#interval=15 - -[volume] -interval=once -signal=10 - -#[disk] -#interval=60 -#command=disk / - -#[disk] -#interval=60 -#command=disk /home - -[battery] -command=battery BAT0 -interval=5 - -[clock] -label=📅 -interval=30 - -[internet] -interval=10 - -[help-icon] -interval=once diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b078a78..8deb34a 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -11,13 +11,11 @@ call plug#begin(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/plugged" Plug 'tpope/vim-surround' Plug 'preservim/nerdtree' Plug 'junegunn/goyo.vim' -Plug 'PotatoesMaster/i3-vim-syntax' Plug 'jreybert/vimagit' Plug 'lukesmithxyz/vimling' Plug 'vimwiki/vimwiki' Plug 'bling/vim-airline' Plug 'tpope/vim-commentary' -Plug 'kovetskiy/sxhkd-vim' Plug 'ap/vim-css-color' call plug#end() @@ -114,11 +112,9 @@ set clipboard+=unnamedplus autocmd BufWritepre * %s/\n\+\%$//e " When shortcut files are updated, renew bash and ranger configs with new material: - autocmd BufWritePost files,directories !shortcuts + autocmd BufWritePost bm-files,bm-dirs !shortcuts " Run xrdb whenever Xdefaults or Xresources are updated. - autocmd BufWritePost *Xresources,*Xdefaults !xrdb % -" Update binds when sxhkdrc is updated. - autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd + autocmd BufWritePost *Xresources,*Xdefaults,*xresources,*xdefaults !xrdb % " Turns off highlighting on the bits of code that are changed, so the line that is changed is highlighted but the actual text that has changed stands out on the line and is readable. if &diff diff --git a/.config/polybar/config b/.config/polybar/config deleted file mode 100644 index d89c016..0000000 --- a/.config/polybar/config +++ /dev/null @@ -1,413 +0,0 @@ -; vim:ft=dosini -;===================================================== -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;===================================================== - -[colors] -black = ${xrdb:color0:#1d2021} -darkred = ${xrdb:color1:#cc241d} -darkgreen = ${xrdb:color2:#98971a} -darkyellow = ${xrdb:color3:#d79921} -darkblue = ${xrdb:color4:#458588} -darkmagenta = ${xrdb:color5:#b16286} -darkcyan = ${xrdb:color6:#689d6a} -lightgray = ${xrdb:color7:#a89984} -gray = ${xrdb:color8:#928374} -red = ${xrdb:color9:#fb4934} -green = ${xrdb:color10:#b8bb26} -yellow = ${xrdb:color11:#fabd2f} -blue = ${xrdb:color12:#83a598} -magenta = ${xrdb:color13:#d3869b} -cyan = ${xrdb:color14:#8ec07c} -white = ${xrdb:color15:#ebdbb2} -background = ${xrdb:color256:#1d2021} -foreground = ${xrdb:color257:#ebdbb2} - -[bar/default] -;monitor = ${env:MONITOR:LVDS-1} -;monitor = ${env:MONITOR:HDMI-1} -enable-ipc = true -width = 100% -height = 24 -;offset-x = 1% -;offset-y = 1% -;radius = 6.0 -fixed-center = false - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = {$xrdb:red} - -border-size = 0 -border-color = ${colors.white} - -padding-left = 0 -padding-right = 0 - -module-margin-left = 1 -module-margin-right = 1 - -font-0 = mono:pixelsize=9;1 -font-1 = Inconsolata Nerd Font:size=8;1 -font-2 = Noto Color Emoji:scale=10:style=Regular;2 -font-3 = Symbola:pixelsize=9;1 - - -; Other modules: xkeyboard filesystem xbacklight backlight-acpi cpu memory temperature powermenu weather -modules-left = bspwm xwindow -;modules-center = -modules-right = mpd volume mutt-wizard wlan eth battery date - -tray-position = right -tray-padding = 0 - -wm-restack = bspwm - -;override-redirect = true - -scroll-up = bspwm-desknext -scroll-down = bspwm-deskprev - -[module/mutt-wizard] - -type = custom/script -exec = mailbox -interval = 5 -format-prefix = " " -format-underline = ${colors.red} - -click-left = $TERMINAL -e neomutt - - -[module/weather] - -type = custom/script -exec = weather -interval = 5000 -;format-underline = - -[module/xwindow] -type = internal/xwindow -label = %title:0:45:...% -format-foreground = ${colors.blue} - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = " " -format-prefix-foreground = ${colors.gray} -format-prefix-underline = ${colors.darkmagenta} - -label-layout = %layout% -label-layout-underline = ${colors.darkmagenta} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.darkmagenta} -label-indicator-underline = ${colors.darkmagenta} - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / -mount-1 = /home - -label-mounted-underline = ${colors.cyan} -label-mounted = /: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.gray} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-foreground = ${colors.black} -label-focused-background = ${colors.blue} -label-focused-underline= ${colors.yellow} -label-focused-padding = 1 - -label-occupied = %index% -label-occupied-underline = ${colors.blue} -label-occupied-padding = 1 - -label-urgent = %index%! -label-urgent-background = ${colors.red} -label-urgent-padding = 1 - -label-empty = %index% -label-empty-foreground = ${colors.lightgray} -label-empty-padding = 1 - -[module/i3] -type = internal/i3 -format = -index-sort = true -wrapping-scroll = false - -; Only show workspaces on the same output as the bar -;pin-workspaces = true - -label-mode-padding = 2 -label-mode-foreground = ${colors.white} -label-mode-background = ${colors.darkyellow} - -; focused = Active workspace on focused monitor -label-focused = %index% -label-focused-background = ${colors:black} -;label-focused-background = ${module/bspwm.label-focused-background} -label-focused-underline = ${module/bspwm.label-focused-underline} -label-focused-padding = ${module/bspwm.label-focused-padding} - -; unfocused = Inactive workspace on any monitor -label-unfocused = %index% -label-unfocused-padding = ${module/bspwm.label-occupied-padding} - -; visible = Active workspace on unfocused monitor -label-visible = %index% -label-visible-background = ${self.label-focused-background} -label-visible-underline = ${self.label-focused-underline} -label-visible-padding = ${self.label-focused-padding} - -; urgent = Workspace with urgency hint set -label-urgent = %index% -label-urgent-background = ${module/bspwm.label-urgent-background} -label-urgent-padding = ${module/bspwm.label-urgent-padding} - -[module/mpd] -type = internal/mpd -format-online = - -click-left = $TERMINAL -e ncmpcpp -click-right = mpc toggle - -label-song = %artist% - %title% -label-song-maxlen = 70 -label-song-ellipsis = true - -format-paused-foreground = ${colors.gray} - -[module/xbacklight] -type = internal/xbacklight - -format =