added picom conf and fixes from ellison

This commit is contained in:
Rudis Muiznieks 2022-04-09 10:06:46 -05:00
parent 3340f1629e
commit 18b793d153
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
5 changed files with 33 additions and 11 deletions

3
bin/zenvim Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
st -f "monospace:pixelsize=26:antialias=true:autohint=true" -e nvim ~/writing +TZAtaraxis -c "lua require('telescope').setup { defaults = { layout_strategy = 'vertical', layout_config = { vertical = { preview_cutoff = 10 }}}}"

View File

@ -8,6 +8,13 @@ hc() {
hc emit_hook reload
if hc silent new_attr bool my_picom_is_running; then
picom -b
fi
xsetroot -solid "#080808" -cursor_name left_ptr &
feh --bg-fill ~/.config/herbstluftwm/wallpaper.jpg
# theme
hc lock
hc attr theme.tiling.reset 1
@ -37,13 +44,6 @@ hc set snap_distance 0
hc set snap_gap 0
hc unlock
if hc silent new_attr bool my_picom_is_running; then
picom -b
fi
xsetroot -solid "#080808" -cursor_name left_ptr &
feh --bg-fill ~/.config/herbstluftwm/wallpaper.jpg
# remove all existing keybindings
hc keyunbind --all
hc set default_frame_layout max
@ -55,6 +55,8 @@ Mod=Mod4 # Use the super key as the main modifier
hc keybind $Mod-Shift-q quit
hc keybind $Mod-Control-r reload
hc keybind $Mod-Shift-c close
hc keybind $Mod-Return spawn st
hc keybind $Mod-Alt-Return spawn ~/skynet/bin/zenvim
hc keybind $Mod-Control-Return spawn qutebrowser
hc keybind $Mod-Tab cycle_all +1

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -167,7 +167,7 @@ local true_zen = require('true-zen')
true_zen.setup {
modes = {
ataraxis = {
custom_bg = { "solid", "#080808" },
custom_bg = { "solid", "#141414" },
ideal_writing_area_width = { 90, 150, "max" },
affected_higroups = {},
},
@ -183,9 +183,9 @@ true_zen.before_mode_ataraxis_on = function ()
vim.cmd("set nocursorline")
vim.cmd("set spell")
vim.cmd("set lbr")
vim.cmd("hi Normal guibg=#080808")
vim.cmd("hi StatusLine guibg=#080808 guifg=#080808")
vim.cmd("hi StatusLineNC guibg=#080808 guifg=#080808")
vim.cmd("hi Normal guibg=#141414")
vim.cmd("hi StatusLine guibg=#141414 guifg=#141414")
vim.cmd("hi StatusLineNC guibg=#141414 guifg=#141414")
local opts = { noremap = true, silent = true }
vim.api.nvim_set_keymap("", "k", "gk", opts)
vim.api.nvim_set_keymap("", "j", "gj", opts)

17
picom/picom.conf Normal file
View File

@ -0,0 +1,17 @@
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
fading = true
fade-in-step = 0.1;
fade-out-step = 0.1;
inactive-opacity = 1
frame-opacity = 1.0
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.9; }
dropdown_menu = { opacity = 0.9; }
};