~andreafeletto/dotfiles

cddf3e9ea3573b7bb416690a6c4a31130b464db9 — Andrea Feletto 2 years ago 8c77655
update
M amfora/.config/amfora/config.toml => amfora/.config/amfora/config.toml +2 -4
@@ 1,7 1,7 @@

[a-general]
home = "gemini://andreafeletto.com"
auto_redirect = false
auto_redirect = true
http = 'default'
search = 'gemini://geminispace.info/search'
color = true


@@ 13,8 13,8 @@ max_width = 80
downloads = ''
page_max_size = 2097152  # 2 MiB
page_max_time = 10
emoji_favicons = false
scrollbar = 'never'
underline = false

[keybindings]
bind_home         = '0'


@@ 44,8 44,6 @@ bind_link9 = '9'

bind_back     = 'h'
bind_forward  = 'l'
bind_prev_tab = 'H'
bind_next_tab = 'L'

bind_reload    = 'R'
bind_bottom    = '/'

M foot/.config/foot/foot.ini => foot/.config/foot/foot.ini +1 -0
@@ 1,6 1,7 @@

# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
term=foot-extra
# login-shell=no

font=JetBrainsMono-Regular:size=8

M river/.config/river/init => river/.config/river/init +2 -1
@@ 7,11 7,12 @@ riverctl map normal $mod W spawn '$BROWSER'
riverctl map normal $mod E spawn '$TERMINAL'
riverctl map normal $mod A spawn '$TERMINAL fff'
riverctl map normal $mod G spawn '$TERMINAL amfora'
riverctl map normal $mod P spawn '1password --quick-access'

riverctl map normal $mod BackSpace close
riverctl map normal $mod+Shift BackSpace exit
riverctl map normal $mod+Shift Delete spawn 'byebye'
riverctl map normal $mod Space spawn 'waylock'
riverctl map normal $mod Space spawn 'swaylock'

riverctl map normal $mod J focus-view next
riverctl map normal $mod K focus-view previous

M sh/.profile => sh/.profile +1 -1
@@ 1,7 1,7 @@
#!/bin/sh

export EDITOR='vis'
export BROWSER='firefox'
export BROWSER='firefox-beta'
export TERMINAL='footclient'
export READER='zathura'


A swaylock/.config/swaylock/config => swaylock/.config/swaylock/config +14 -0
@@ 0,0 1,14 @@
ignore-empty-password
indicator-idle-visible

indicator-radius=64
indicator-thickness=16

color=002b36
ring-color=325b68
key-hl-color=93a1a1

inside-ver-color=325b68
ring-ver-color=002b36

line-uses-inside

M usr/local/bin/compositor => usr/local/bin/compositor +1 -0
@@ 6,6 6,7 @@ export XDG_SESSION_TYPE=wayland
export SDL_VIDEODRIVER=wayland
export MOZ_ENABLE_WAYLAND=1
export MOZ_USE_XINPUT2=1
export MOZ_DBUS_REMOTE=1
export _JAVA_AWT_WM_NONREPARENTING=1

river > "$HOME/.local/share/river.log" 2>&1

M vis/.config/vis/visrc.lua => vis/.config/vis/visrc.lua +8 -3
@@ 26,10 26,12 @@ vis.events.subscribe(vis.events.INIT, function()
	vis:map(vis.modes.NORMAL, ' y', '"+<vis-operator-yank>')
	vis:map(vis.modes.VISUAL, ' y', '"+<vis-operator-yank>')
	vis:map(vis.modes.VISUAL_LINE, ' y', '"+<vis-operator-yank>')
	-- Folding --
	vis:map(vis.modes.NORMAL, ' w', 'ggVG:|fold -w 80 -s<Enter>')
	-- FZF --
	vis:map(vis.modes.NORMAL, ' f', ':fzf<Enter><Enter>')
	-- Toggle Spellcheck --
	vis:map(vis.modes.NORMAL, ' s', '<F7>')
	vis:map(vis.modes.NORMAL, ' s', ':spelllang<Enter><F7>')
end)

vis.events.subscribe(vis.events.WIN_OPEN, function(win)


@@ 38,16 40,19 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win)
end)

settings = {
	bash = {
	ansi_c = {
		'set colorcolumn 80',
	},
	c = {
	bash = {
		'set colorcolumn 80',
	},
	html = {
		'set tabwidth 2',
		'set expandtab',
	},
	lua = {
		'set colorcolumn 80',
	},
	python = {
		'set colorcolumn 80',
		'set tabwidth 4',

D waylock/.config/waylock/waylock.toml => waylock/.config/waylock/waylock.toml +0 -7
@@ 1,7 0,0 @@

#fail_command = "fswebcam -q $HOME/pictures/intruder.png"

[colors]
init_color  = 0x000000
input_color = 0x004354
fail_color  = 0xdc322f

M xdg/.config/mimeapps.list => xdg/.config/mimeapps.list +1 -1
@@ 9,7 9,7 @@ image/jpeg=imv.desktop;
image/png=imv.desktop;
image/vnd.djvu=org.pwmt.zathura.desktop;
inode/directory=filemanager.desktop;
text/html=firefox.desktop;
text/html=firefox-beta.desktop;
text/plain=text.desktop;
text/x-c=text.desktop;
text/x-makefile=text.desktop;