summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/X/dunst/dunstrc4
-rw-r--r--config/essentials/nvim/after/plugin/luasnip.lua1
2 files changed, 3 insertions, 2 deletions
diff --git a/config/X/dunst/dunstrc b/config/X/dunst/dunstrc
index 4975d0a..a83f45f 100644
--- a/config/X/dunst/dunstrc
+++ b/config/X/dunst/dunstrc
@@ -30,7 +30,7 @@
height = 80
# Position the notification in the top right corner
- origin = right
+ origin = top-right
# Offset from the origin
offset = 10x10
@@ -171,7 +171,7 @@
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
- show_age_threshold = 60
+ show_age_threshold = -1
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
diff --git a/config/essentials/nvim/after/plugin/luasnip.lua b/config/essentials/nvim/after/plugin/luasnip.lua
index 3f607ab..70d7570 100644
--- a/config/essentials/nvim/after/plugin/luasnip.lua
+++ b/config/essentials/nvim/after/plugin/luasnip.lua
@@ -143,6 +143,7 @@ ls.add_snippets("java", {
ls.add_snippets("sh", {
s("TD", t "THISDIR=\"$(dirname \"$(readlink -f \"$0\")\")\""),
+ parse("pf", ">&2 printf '$1\\n'$0", {}),
parse("fn", "$1 ()\n{\n\t$2\n}$0", {}),
-- Functions
parse("rchar",