From bcbfda7273fe5763a6b6d29bcf47001fe9d1684b Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Mon, 25 May 2020 13:35:02 -0400 Subject: reconcoled with arch --- Scripts/.config/Scripts/autostart.sh | 2 +- Scripts/.config/Scripts/wp | 1 - sxhkd/.config/sxhkd/sxhkdrc | 6 ++-- tmux/.tmux/plugins/dwm.tmux/README.md | 43 ----------------------------- tmux/.tmux/plugins/dwm.tmux/dwm.tmux | 41 --------------------------- tmux/.tmux/plugins/dwm.tmux/screenshot.png | Bin 467353 -> 0 bytes tmux/.tmux/plugins/tmux-pain-control | 1 - tmux/.tmux/plugins/tmux-resurrect | 1 - tmux/.tmux/plugins/tmux-sensible | 1 - tmux/.tmux/plugins/tmux-themepack | 1 - tmux/.tmux/plugins/tmux-yank | 1 - tmux/.tmux/plugins/tpm | 1 - wal/.config/wal/update_dunst.sh | 4 ++- 13 files changed, 7 insertions(+), 96 deletions(-) delete mode 100644 tmux/.tmux/plugins/dwm.tmux/README.md delete mode 100644 tmux/.tmux/plugins/dwm.tmux/dwm.tmux delete mode 100644 tmux/.tmux/plugins/dwm.tmux/screenshot.png delete mode 160000 tmux/.tmux/plugins/tmux-pain-control delete mode 160000 tmux/.tmux/plugins/tmux-resurrect delete mode 160000 tmux/.tmux/plugins/tmux-sensible delete mode 160000 tmux/.tmux/plugins/tmux-themepack delete mode 160000 tmux/.tmux/plugins/tmux-yank delete mode 160000 tmux/.tmux/plugins/tpm diff --git a/Scripts/.config/Scripts/autostart.sh b/Scripts/.config/Scripts/autostart.sh index 7f8ef83..9111102 100755 --- a/Scripts/.config/Scripts/autostart.sh +++ b/Scripts/.config/Scripts/autostart.sh @@ -21,7 +21,7 @@ run compton setbg ~/.config/wall.png FEDORA=$(hostnamectl | grep -qw Fedora && echo $?) -if [ $FEDORA -eq 0 ]; +if [ "$FEDORA" == 0 ]; then xinput --set-prop "Synaptics TM3276-031" "Device Enabled" 0 run vivaldi-stable diff --git a/Scripts/.config/Scripts/wp b/Scripts/.config/Scripts/wp index e36b9e0..05dcfb4 100755 --- a/Scripts/.config/Scripts/wp +++ b/Scripts/.config/Scripts/wp @@ -1,4 +1,3 @@ #!/bin/sh find $HOME/Pictures/wallpapers -type f | shuf | sxiv - - diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 2a57f12..c63a527 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -54,15 +54,15 @@ super + bracket{left,right} XF86AudioMute pamixer --allow-boost -t && notify-send "🎧 $(pamixer --get-volume-human)" -{XF86AudioLowerVolume, XF86AudioRaiseVolume} - pamixer --allow-boost -{d,i} 10 && notify-send "🎧 $(pamixer --get-volume-human)" +{XF86AudioLowerVolume, XF86AudioRaiseVolume, F2, F3} + pamixer --allow-boost -{d,i,d,i} 10 && notify-send "🎧 $(pamixer --get-volume-human)" super + F1 amixer -c 0 set Headphone 100% unmute && notify-send -t 1000 "🎧 Unmuted!" # Brightness control {XF86MonBrightnessDown, XF86MonBrightnessUp} - light -{U,A} 10; notify-send "💡 $(light -G)"; + light -{U,A} 10; notify-send "💡 $(light -G)"; # Misc super + shift + f diff --git a/tmux/.tmux/plugins/dwm.tmux/README.md b/tmux/.tmux/plugins/dwm.tmux/README.md deleted file mode 100644 index c971e77..0000000 --- a/tmux/.tmux/plugins/dwm.tmux/README.md +++ /dev/null @@ -1,43 +0,0 @@ -dwm.tmux -=== -[dwm](http://dwm.suckless.org/)-inspired tiling pane management for Tmux. - -![](https://raw.githubusercontent.com/saysjonathan/dwm.tmux/master/screenshot.png) - -## Usage -dwm.tmux defines several keybindings to assist with pane management: - -- `Meta-N` Create a new pane and place it in the Main pane -- `Meta-W` Create a new pane starting in the same directory and place it in the Main pane -- `Meta-C` Close the current pane. If the pane is in the Main pane, close the pane and promote the first pane in the stack to the Main pane -- `Meta-J` Select the next pane (clockwise) -- `Meta-K` Select the previous pane (counterclockwise) -- `Meta-,` Rotate panes counterclockwise -- `Meta-.` Rotate panes clockwise -- `Meta-R` Refresh layout -- `Meta-space` Place select pane in the Main pane -- `Meta-m` Zoom selected pane - -## Details - -Similar to dwm, windows are always organised as follows: - -``` - ==================================== -| | S1 | -| |================== -| M(0) | S2 | -| |================== -| | S3 | - ==================================== -``` - -A large Master pane is placed on the left side of the screen while a stack of smaller panes is placed on the right. The Master pane is always pane 0, while the stack of panes is numbered sequentially in ascending order. - -## Setup -To use dwm.tmux: - -- `git clone git@github.com/saysjonathan/dwm.tmux.git $HOME/.dwm.tmux` -- `echo 'source-file $HOME/.dwm.tmux/dwm.tmux' >> $HOME/.tmux.conf` - -dwm.tmux requires tmux > 2.0. diff --git a/tmux/.tmux/plugins/dwm.tmux/dwm.tmux b/tmux/.tmux/plugins/dwm.tmux/dwm.tmux deleted file mode 100644 index 9a3a218..0000000 --- a/tmux/.tmux/plugins/dwm.tmux/dwm.tmux +++ /dev/null @@ -1,41 +0,0 @@ -# Create new pane -bind -n M-n split-window -t :.0 \;\ - swap-pane -s :.0 -t :.1 \;\ - select-layout main-vertical \;\ - run "tmux resize-pane -t :.0 -x \"$(echo \"#{window_width}/2/1\" | bc)\"" - -# Create new pane in current directory -bind -n M-w split-window -t :.0 -c "#{pane_current_path}" \;\ - swap-pane -s :.0 -t :.1 \;\ - select-layout main-vertical \;\ - run "tmux resize-pane -t :.0 -x \"$(echo \"#{window_width}/2/1\" | bc)\"" - -# Kill pane -bind -n M-c kill-pane -t :. \;\ - select-layout main-vertical \;\ - run "tmux resize-pane -t :.0 -x \"$(echo \"#{window_width}/2/1\" | bc)\"" \;\ - select-pane -t :.0 - - -# Next pane -bind -n M-j select-pane -t :.+ - -# Prev pane -bind -n M-k select-pane -t :.- - -# Rotate counterclockwise -bind -n M-, rotate-window -U \; select-pane -t 0 - -# Rotate clockwise -bind -n M-. rotate-window -D \; select-pane -t 0 - -# Focus selected pane -bind -n M-Space swap-pane -s :. -t :.0 \; select-pane -t :.0 - -# Refresh layout -bind -n M-r select-layout main-vertical \;\ - run "tmux resize-pane -t :.0 -x \"$(echo \"#{window_width}/2/1\" | bc)\"" - -# Zoom selected pane -unbind M-m -bind -n M-m resize-pane -Z diff --git a/tmux/.tmux/plugins/dwm.tmux/screenshot.png b/tmux/.tmux/plugins/dwm.tmux/screenshot.png deleted file mode 100644 index 1efed57..0000000 Binary files a/tmux/.tmux/plugins/dwm.tmux/screenshot.png and /dev/null differ diff --git a/tmux/.tmux/plugins/tmux-pain-control b/tmux/.tmux/plugins/tmux-pain-control deleted file mode 160000 index 7316676..0000000 --- a/tmux/.tmux/plugins/tmux-pain-control +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 731667692da46d51a6a9dffb4c43384a5d68ff28 diff --git a/tmux/.tmux/plugins/tmux-resurrect b/tmux/.tmux/plugins/tmux-resurrect deleted file mode 160000 index e3f05dd..0000000 --- a/tmux/.tmux/plugins/tmux-resurrect +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e3f05dd34f396a6f81bd9aa02f168e8bbd99e6b2 diff --git a/tmux/.tmux/plugins/tmux-sensible b/tmux/.tmux/plugins/tmux-sensible deleted file mode 160000 index e91b178..0000000 --- a/tmux/.tmux/plugins/tmux-sensible +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e91b178ff832b7bcbbf4d99d9f467f63fd1b76b5 diff --git a/tmux/.tmux/plugins/tmux-themepack b/tmux/.tmux/plugins/tmux-themepack deleted file mode 160000 index 126150d..0000000 --- a/tmux/.tmux/plugins/tmux-themepack +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 126150da5e89b262fec94dd7b3d8bcd0966646a9 diff --git a/tmux/.tmux/plugins/tmux-yank b/tmux/.tmux/plugins/tmux-yank deleted file mode 160000 index 30bfd78..0000000 --- a/tmux/.tmux/plugins/tmux-yank +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 30bfd780061f1752d1133016f217a13add4d4e86 diff --git a/tmux/.tmux/plugins/tpm b/tmux/.tmux/plugins/tpm deleted file mode 160000 index 06d4122..0000000 --- a/tmux/.tmux/plugins/tpm +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 06d41226af02ca4f5bcf58169dd4f0a2aa42218c diff --git a/wal/.config/wal/update_dunst.sh b/wal/.config/wal/update_dunst.sh index 249d388..954dd0d 100755 --- a/wal/.config/wal/update_dunst.sh +++ b/wal/.config/wal/update_dunst.sh @@ -4,5 +4,7 @@ ln -sf ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc # Restart dunst with the new color scheme -pkill dunst +#pkill dunst +killall dunst + dunst & -- cgit v1.2.3