summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-16 12:09:14 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-16 12:09:14 +0200
commit4ca15dd82c255dfad7e4cf5a347b971f97a0bfed (patch)
treea848847a680f25f04ab6d3a31bb9e10377d78f6d /config
parentdb8f32037483ade8fc3d8fc2cb2c0e18331e442e (diff)
parent6c78112e19f44ef79eebf1076041feff83c303e6 (diff)
Merge branch 'main' of db:dotfiles
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",