Browse Source

Fixed some vifm stuff and am moving back to ranger for the time being while I slowly bring vifm up to speed

tags/v0.5.0
Micah Halter 3 months ago
parent
commit
cda68311f2

+ 1
- 1
i3/.config/i3/config View File

@@ -3,7 +3,7 @@ set $mod Mod1
3 3
 floating_modifier $mod
4 4
 
5 5
 # set variables
6
-set $file     'vifm'
6
+set $file     'ranger'
7 7
 set $browser  'qutebrowser'
8 8
 set $term     'urxvt'
9 9
 set $cliprog --no-startup-id zsh $HOME/.config/i3/scripts/cliprog

+ 1
- 1
scripts/.config/Scripts/dmenumount View File

@@ -16,4 +16,4 @@ if [[ ! -d "$mountpoint" ]]; then
16 16
   mkdiryn=$(echo -e "No\nYes" | $dmenu -i -p "Create?")
17 17
   [[ "$mkdiryn" = Yes ]] && sudo mkdir -p "$mountpoint"
18 18
 fi
19
-sudo mount $chosen $mountpoint && pgrep -x dunst && notify-send "$chosen mounted to $mountpoint"
19
+sudo mount $chosen $mountpoint && notify-send "$chosen mounted to $mountpoint"

+ 1
- 1
scripts/.config/Scripts/dmenuumount View File

@@ -9,4 +9,4 @@ drives=$(lsblk -lp | grep "\(part\|lvm\)[[:space:]]\+/" | grep -v "$exclusionreg
9 9
 [[ "$drives" = "" ]] && exit
10 10
 chosen=$(echo "$drives" | $dmenu -i -p "Unmount:" | awk '{print $1}')
11 11
 [[ "$chosen" = "" ]] && exit
12
-sudo umount $chosen && pgrep -x dunst && notify-send "$chosen unmounted."
12
+sudo umount $chosen && notify-send "$chosen unmounted."

+ 1
- 1
scripts/.config/Scripts/dmenuunicode View File

@@ -4,4 +4,4 @@ source ~/.cache/wal/colors.sh
4 4
 
5 5
 grep -v "#" $HOME/.config/Scripts/unicode | dmenu -nb "$background" -nf "$foreground" -sb "$foreground" -sf "$background" -fn "xos4 Terminus-16" -i -l 20 | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard
6 6
 
7
-[ "$(xclip -o -selection clipboard)" != "" ] && pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard) copied to clipboard."
7
+[ "$(xclip -o -selection clipboard)" != "" ] && notify-send "$(xclip -o -selection clipboard) copied to clipboard."

+ 8
- 4
vifm/.config/vifm/vifmrc View File

@@ -3,6 +3,8 @@ source $HOME/.config/vifm/vifmshortcuts
3 3
 
4 4
 let $VIFM_SERVER_NAME = v:servername
5 5
 
6
+fileview */ tree %c -L 1
7
+
6 8
 map <C-h> <C-w>h
7 9
 map <C-j> <C-w>j
8 10
 map <C-k> <C-w>k
@@ -11,12 +13,12 @@ map <C-o> <C-w>o
11 13
 map <C-s> <C-w>s
12 14
 map <C-v> <C-w>v
13 15
 
14
-nnoremap o :file &<cr>l
16
+nnoremap o :file &<CR>l
15 17
 map E :!$EDITOR %f<CR>
16 18
 map mkd :mkdir<space>
17
-map x :!chmod +x %f
18
-map X :!$HOME/.config/Scripts/extract %f
19
-map Tg :!tar -cvzf %c:r.tar.gz %f
19
+map x :!chmod +x %f<CR>
20
+map X :!$HOME/.config/Scripts/extract %f<CR>
21
+map Tg :!tar -cvzf %c:r.tar.gz %f<CR>
20 22
 
21 23
 " document commands
22 24
 map Mk :!compiler %f<CR>
@@ -174,3 +176,5 @@ nnoremap ,c :write | edit $MYVIFMRC | restart<cr>
174 176
 
175 177
 " Toggle wrap setting on ,w key
176 178
 nnoremap ,w :set wrap!<cr>
179
+
180
+view

+ 1
- 1
zsh/.zshrc View File

@@ -19,7 +19,7 @@ export SPACESHIP_VI_MODE_SUFFIX=''
19 19
 export SPACESHIP_VI_MODE_COLOR=$SPACESHIP_CHAR_COLOR_SUCCESS
20 20
 
21 21
 # set up environmental variables
22
-export FILE="vifm"
22
+export FILE="ranger"
23 23
 export EDITOR="nvim"
24 24
 export USE_EDITOR=$EDITOR
25 25
 export VISUAL=$EDITOR

Loading…
Cancel
Save