forked from colonelpanic/dotfiles
Merge branch 'master' of github.com:IvanMalison/dotfiles
This commit is contained in:
commit
44b8349756
@ -54,7 +54,7 @@ glx-swap-method = "undefined";
|
|||||||
#################################
|
#################################
|
||||||
|
|
||||||
# Enabled client-side shadows on windows.
|
# Enabled client-side shadows on windows.
|
||||||
shadow = true;
|
shadow = false;
|
||||||
# Don't draw shadows on DND windows.
|
# Don't draw shadows on DND windows.
|
||||||
no-dnd-shadow = true;
|
no-dnd-shadow = true;
|
||||||
# Avoid drawing shadows on dock/panel windows.
|
# Avoid drawing shadows on dock/panel windows.
|
||||||
@ -62,7 +62,7 @@ no-dock-shadow = true;
|
|||||||
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
|
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
|
||||||
clear-shadow = true;
|
clear-shadow = true;
|
||||||
# The blur radius for shadows. (default 12)
|
# The blur radius for shadows. (default 12)
|
||||||
shadow-radius = 15;
|
shadow-radius = 5;
|
||||||
# The left offset for shadows. (default -15)
|
# The left offset for shadows. (default -15)
|
||||||
shadow-offset-x = -5;
|
shadow-offset-x = -5;
|
||||||
# The top offset for shadows. (default -15)
|
# The top offset for shadows. (default -15)
|
||||||
|
49
dotfiles/config/keepassxc/keepassxc.ini
Normal file
49
dotfiles/config/keepassxc/keepassxc.ini
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
[General]
|
||||||
|
AutoSaveAfterEveryChange=false
|
||||||
|
AutoSaveOnExit=false
|
||||||
|
AutoTypeEntryTitleMatch=true
|
||||||
|
GlobalAutoTypeKey=0
|
||||||
|
GlobalAutoTypeModifiers=0
|
||||||
|
LastDatabases=/home/imalison/SparkleShare/config/db.kdbx, /home/imalison/SparkleShare/config/creds/keepass.key
|
||||||
|
LastKeyFiles=@Variant(\0\0\0\x1c\0\0\0\x1\0\0\0T\0/\0h\0o\0m\0\x65\0/\0i\0m\0\x61\0l\0i\0s\0o\0n\0/\0S\0p\0\x61\0r\0k\0l\0\x65\0S\0h\0\x61\0r\0\x65\0/\0\x63\0o\0n\0\x66\0i\0g\0/\0\x64\0\x62\0.\0k\0\x64\0\x62\0x\0\0\0\n\0\0\0h\0/\0h\0o\0m\0\x65\0/\0i\0m\0\x61\0l\0i\0s\0o\0n\0/\0S\0p\0\x61\0r\0k\0l\0\x65\0S\0h\0\x61\0r\0\x65\0/\0\x63\0o\0n\0\x66\0i\0g\0/\0\x63\0r\0\x65\0\x64\0s\0/\0k\0\x65\0\x65\0p\0\x61\0s\0s\0.\0k\0\x65\0y)
|
||||||
|
LastOpenedDatabases=/home/imalison/SparkleShare/config/db.kdbx
|
||||||
|
MinimizeOnCopy=false
|
||||||
|
OpenPreviousDatabasesOnStartup=true
|
||||||
|
RememberLastDatabases=true
|
||||||
|
RememberLastKeyFiles=true
|
||||||
|
ShowToolbar=true
|
||||||
|
UseGroupIconOnEntryCreation=false
|
||||||
|
|
||||||
|
[GUI]
|
||||||
|
EntryListColumnSizes=150, 150, 173
|
||||||
|
EntrySearchColumnSizes=@Invalid()
|
||||||
|
Language=system
|
||||||
|
MainWindowGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x1\xe0\0\0\0\x19\0\0\x3\xbf\0\0\x3\x83\0\0\x1\xe0\0\0\0\x19\0\0\x3\xbf\0\0\x3\x83\0\0\0\0\0\0\0\0\x5\xa0)
|
||||||
|
MinimizeOnClose=true
|
||||||
|
MinimizeOnStartup=false
|
||||||
|
MinimizeToTray=true
|
||||||
|
ShowTrayIcon=true
|
||||||
|
SplitterState=@Invalid()
|
||||||
|
|
||||||
|
[Http]
|
||||||
|
AlwaysAllowAccess=false
|
||||||
|
AlwaysAllowUpdate=false
|
||||||
|
BestMatchOnly=false
|
||||||
|
Enabled=true
|
||||||
|
Host=localhost
|
||||||
|
MatchUrlScheme=true
|
||||||
|
Port=19455
|
||||||
|
SearchInAllDatabases=false
|
||||||
|
ShowNotification=true
|
||||||
|
SortByUsername=false
|
||||||
|
SupportKphFields=true
|
||||||
|
UnlockDatabase=true
|
||||||
|
|
||||||
|
[security]
|
||||||
|
autotypeask=true
|
||||||
|
clearclipboard=true
|
||||||
|
clearclipboardtimeout=10
|
||||||
|
lockdatabaseidle=false
|
||||||
|
lockdatabaseidlesec=10
|
||||||
|
lockdatabaseminimize=false
|
||||||
|
passwordscleartext=false
|
@ -26,7 +26,8 @@ heading text, and don't change when new headings are added to the document, I
|
|||||||
wrote a custom version of ~org-export-get-reference~.
|
wrote a custom version of ~org-export-get-reference~.
|
||||||
|
|
||||||
See how [[Use my own default naming scheme for org-headings][this link]] (which is just a normal internal link in the original
|
See how [[Use my own default naming scheme for org-headings][this link]] (which is just a normal internal link in the original
|
||||||
document) takes you to http://ivanmalison.github.io/dotfiles/#usemyowndefaultnamingschemefororgheadings.
|
document) takes you to
|
||||||
|
http://ivanmalison.github.io/dotfiles/#usemyowndefaultnamingschemefororgheadings.
|
||||||
|
|
||||||
In case you haven't noticed, that is where you should go grab the code that does
|
In case you haven't noticed, that is where you should go grab the code that does
|
||||||
this.
|
this.
|
||||||
@ -2026,7 +2027,17 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
** multi-line
|
** multi-line
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(imalison:use-package multi-line
|
(imalison:use-package multi-line
|
||||||
:bind ("C-c d" . multi-line))
|
:bind ("C-c d" . multi-line)
|
||||||
|
:config
|
||||||
|
(progn
|
||||||
|
;; This only works for array respacing
|
||||||
|
(multi-line-defhook sh
|
||||||
|
(make-instance
|
||||||
|
'multi-line-strategy
|
||||||
|
:find multi-line-lisp-find-strategy
|
||||||
|
:respace (multi-line-default-respacers
|
||||||
|
(multi-line-clearing-reindenting-respacer
|
||||||
|
multi-line-force-first-and-last-respacer))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** comment-dwim-2
|
** comment-dwim-2
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
@ -29,14 +29,14 @@ def command_exists(command, run=run):
|
|||||||
|
|
||||||
|
|
||||||
def build_task_factory(ns):
|
def build_task_factory(ns):
|
||||||
def task(function):
|
def task(function, *args, **kwargs):
|
||||||
ns.add_task(ctask(function))
|
ns.add_task(ctask(function, *args, **kwargs))
|
||||||
return function
|
return function
|
||||||
return task
|
return task
|
||||||
|
|
||||||
|
|
||||||
def namespace_and_factory():
|
def namespace_and_factory(*args, **kwargs):
|
||||||
ns = Collection()
|
ns = Collection(*args, **kwargs)
|
||||||
return ns, build_task_factory(ns)
|
return ns, build_task_factory(ns)
|
||||||
|
|
||||||
|
|
||||||
@ -48,17 +48,17 @@ def extension_checker(extension):
|
|||||||
|
|
||||||
|
|
||||||
def tasks_from_directory(directory_path, file_predicate=extension_checker("sh")):
|
def tasks_from_directory(directory_path, file_predicate=extension_checker("sh")):
|
||||||
ns, make_task = namespace_and_factory()
|
ns, make_task = namespace_and_factory(os.path.basename(directory_path))
|
||||||
|
|
||||||
def task_from_file(filepath):
|
def task_from_file(filepath):
|
||||||
@make_task()
|
|
||||||
def run_script(ctx):
|
def run_script(ctx):
|
||||||
ctx.run(filepath)
|
ctx.run(filepath)
|
||||||
return run_script
|
return make_task(run_script, name=os.path.basename(filepath).split(os.path.extsep)[0])
|
||||||
|
|
||||||
filepaths = filter(os.path.isfile,
|
filepaths = filter(
|
||||||
[os.path.join(directory_path, filename)
|
os.path.isfile,
|
||||||
for filename in os.listdir(directory_path)])
|
[os.path.join(directory_path, filename)
|
||||||
|
for filename in os.listdir(directory_path)],
|
||||||
|
)
|
||||||
|
|
||||||
map(task_from_file, filepaths)
|
list(map(task_from_file, filepaths))
|
||||||
return ns
|
return ns
|
||||||
|
@ -63,9 +63,13 @@ function _python_setup {
|
|||||||
|
|
||||||
function _node_setup {
|
function _node_setup {
|
||||||
# node/nvm
|
# node/nvm
|
||||||
export NVM_DIR="/Users/imalison/.nvm"
|
if [ -e /usr/share/nvm/init-nvm.sh ]; then
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
source /usr/share/nvm/init-nvm.sh
|
||||||
export NODE_PATH="/usr/local/lib/node_modules/"
|
else
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
export NODE_PATH="/usr/local/lib/node_modules/"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function _java_setup {
|
function _java_setup {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
# -*- mode: sh; -*-
|
# -*- mode: sh; -*-
|
||||||
|
|
||||||
|
# If there are issues with path, check /etc/profile for hard overrides of PATH.
|
||||||
source "$HOME/.lib/shellenv.sh"
|
source "$HOME/.lib/shellenv.sh"
|
||||||
load_xkb_map.sh
|
load_xkb_map.sh
|
||||||
|
1
tasks/imalison.py
Symbolic link
1
tasks/imalison.py
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../dotfiles/lib/python/imalison.py
|
Loading…
Reference in New Issue
Block a user