diff --git a/README b/README index 535a060..c751a14 100644 --- a/README +++ b/README @@ -55,6 +55,7 @@ KNOWLEDGE - nsxiv for image viewing - dooble for browser - links for quick html rendering + - zathura and zathura-pdf-mupdf as pdf viewer - pcmanfm as a file manager * non-packaged packages diff --git a/files/.config/vis/visrc.lua b/files/.config/vis/visrc.lua index 7260419..2c54c07 100644 --- a/files/.config/vis/visrc.lua +++ b/files/.config/vis/visrc.lua @@ -3,6 +3,15 @@ require("vis") vis.events.subscribe(vis.events.INIT, function() vis:command("set theme kento2") + vis.options.autoindent = true + vis.options.breakat = " " + + vis:map(vis.modes.NORMAL, 'h', 'gh') + vis:map(vis.modes.NORMAL, 'j', 'gj') + vis:map(vis.modes.NORMAL, 'k', 'gk') + vis:map(vis.modes.NORMAL, 'l', 'gl') + vis:map(vis.modes.NORMAL, '0', 'g0') + vis:command("map! normal n ") vis:map(vis.modes.VISUAL, ' y', '"+y') vis:map(vis.modes.VISUAL, ' p', '"+p') @@ -13,3 +22,8 @@ vis.events.subscribe(vis.events.INIT, function() vis:map(vis.modes.NORMAL, ' d', '"+d') vis:map(vis.modes.NORMAL, ' x', '"+x') end) + +vis.events.subscribe(vis.events.WIN_OPEN, function(win) + win.options.tabwidth = 3 + win.options.wrapcolumn = 80 +end) diff --git a/files/.config/zathura/zathurarc b/files/.config/zathura/zathurarc new file mode 100644 index 0000000..253954a --- /dev/null +++ b/files/.config/zathura/zathurarc @@ -0,0 +1 @@ +set selection-clipboard clipboard \ No newline at end of file diff --git a/files/.local/bin/bar.sh b/files/.local/bin/bar.sh index c4bddf0..4003a16 100755 --- a/files/.local/bin/bar.sh +++ b/files/.local/bin/bar.sh @@ -61,6 +61,7 @@ workspaces() if $focused; then # clicking the layout symbol will cycle the layout lyt="%{A:dkcmd set layout cycle:}${layouts[$layout]}%{A}" + WIN="${title:0:50}" f="$hi" fi # clicking on a workspace name will view it diff --git a/files/.zshrc b/files/.zshrc index 85c54a4..4aa2f81 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -21,4 +21,3 @@ alias pc='pass -c' alias pe='pass edit' date -printf 'BAT %s%%\n' "$(cat /sys/class/power_supply/BAT0/capacity)"