dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 39b8acfca860b57f057e8514f74d5289ccf2a901
parent a976e7c59c2d91993c9c883b4e9272bfcb0d95c9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 14 Jun 2019 13:18:59 +0200

Update various configuration and bindings

Diffstat:
M.compton.conf | 2+-
M.config/sxhkd/sxhkdrc | 2++
M.config/vis/visrc.lua | 26++++++++++++++++++++++----
M.xprofile | 2+-
4 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/.compton.conf b/.compton.conf @@ -65,7 +65,7 @@ shadow-offset-x = -5; # The top offset for shadows. (default -15) shadow-offset-y = -5; # The translucency for shadows. (default .75) -shadow-opacity = 0.8; +shadow-opacity = 0.2; # Set if you want different colour shadows # shadow-red = 0.0; diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -74,6 +74,8 @@ super + s firejail --profile=~/.config/firejail/signal-desktop.profile signal-desktop super + t message -p +super + shift + o + $TERMINAL -e htop super + alt + t textqr super + y diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -4,27 +4,45 @@ require('vis') leader = '<Space>' vis.events.subscribe(vis.events.INIT, function() - -- Your global configuration options + -- global configuration options vis:command('set theme adbasic') vis:map(vis.modes.NORMAL, leader..'n', ':set numbers!<Enter>') vis:map(vis.modes.NORMAL, leader..'N', ':set relativenumbers!<Enter>') vis:map(vis.modes.NORMAL, leader..'l', ':set show-newline!<Enter>') + vis:map(vis.modes.NORMAL, leader..'w', ':w<Enter>') + vis:map(vis.modes.NORMAL, leader..'q', ':q<Enter>') + vis:map(vis.modes.NORMAL, leader..'x', ':wq<Enter>') + vis:map(vis.modes.NORMAL, leader..'e', ':e <Tab>') + + --vis:map(vis.modes.NORMAL, leader..'o', + -- function() + -- vis:feedkeys( + + vis:map(vis.modes.NORMAL, leader..'b', + function() + for file in vis:files() do + if file.name ~= nil then + print(tostring(file.name)) + end + end + end) end) vis.events.subscribe(vis.events.WIN_OPEN, function(win) - -- Your per window configuration options e.g. + -- per window configuration options vis:command('set savemethod inplace') -- overwrite file on save vis:command('set show-tabs') vis:command('set autoindent') vis:command('set tabwidth 4') vis:command('set colorcolumn 80') - vis:map(vis.modes.NORMAL, leader..'p', ( + vis:map(vis.modes.NORMAL, leader..'p', function() if win.file.name then vis:info('return status: ' .. tostring(os.execute('compile '..win.file.name))) + win.draw() end - end)) + end) end) diff --git a/.xprofile b/.xprofile @@ -41,7 +41,7 @@ xset r rate 300 50 # key repeat rate ([delay in ms] [repeats per sec]) sxhkd & unclutter & dunst & -compton & +#compton & calcurse_reminders.py 15 & dwmstatus & keynav &