scripts and tridactyl
This commit is contained in:
parent
fda17aea44
commit
2dbf5dfc9f
|
@ -32,7 +32,7 @@ end
|
||||||
|
|
||||||
function _prompt_whoami -a sep_color -a color -d "Display user@host if on a SSH session"
|
function _prompt_whoami -a sep_color -a color -d "Display user@host if on a SSH session"
|
||||||
if set -q SSH_TTY
|
if set -q SSH_TTY
|
||||||
echo -n -s $color (whoami)@(hostname) $sep_color '|'
|
echo -n -s $color (whoami)@(hostnamectl --static) $sep_color '|'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ shadow-offset-y = 2;
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"name = 'Notification'",
|
"name = 'Notification'",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'Conky'",
|
||||||
"class_g = 'firefox'",
|
# "class_g = 'firefox'",
|
||||||
# "class_g = 'Alacritty'",
|
# "class_g = 'Alacritty'",
|
||||||
"class_g ?= 'Notify-osd'",
|
"class_g ?= 'Notify-osd'",
|
||||||
"class_g = 'Cairo-clock'",
|
"class_g = 'Cairo-clock'",
|
||||||
|
@ -205,6 +205,12 @@ opacity-rule = [
|
||||||
"100:class_g = 'dolphin'",
|
"100:class_g = 'dolphin'",
|
||||||
"100:class_g = 'mpv'",
|
"100:class_g = 'mpv'",
|
||||||
"100:class_g = 'libreoffice'",
|
"100:class_g = 'libreoffice'",
|
||||||
|
"100:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
"0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
"0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
"0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
"0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
"100:class_g = 'Thunderbird'"
|
"100:class_g = 'Thunderbird'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -41,18 +41,21 @@ set searchengine d
|
||||||
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
|
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
|
||||||
" vim: set filetype=tridactyl
|
" vim: set filetype=tridactyl
|
||||||
|
|
||||||
" Org Capture
|
"" Org Capture
|
||||||
command org-capture js -p tri.excmds.exclaim_quiet('org-capture ' + JS_ARG)
|
command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('org-capture ' + JS_ARG);
|
||||||
|
|
||||||
" Adding my own bindings
|
"" Adding my own bindings
|
||||||
bind v hint -W mpvsafe
|
bind v hint -W mpvsafe
|
||||||
|
bind gv current_url mpvsafe
|
||||||
bind F hint -w
|
bind F hint -w
|
||||||
bind gy hint -y
|
bind gy hint -y
|
||||||
bind gc composite get_current_url | org-capture
|
bind gc org-capture
|
||||||
bind gC hint -W org-capture
|
bind gC hint -W org-capture
|
||||||
|
bind go current_url open
|
||||||
|
bind m fillcmdline quickmark
|
||||||
|
|
||||||
" buffers show as windows
|
"" buffers show as windows
|
||||||
bind b bufferall
|
bind b fillcmdline taball
|
||||||
|
|
||||||
" Smoothscroll
|
"" Smoothscroll
|
||||||
set smoothscroll true
|
set smoothscroll true
|
||||||
|
|
Loading…
Reference in a new issue