From 3431a96edb5a4f0343e50dcaa8186737b45e3984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 21 Oct 2022 08:13:39 +0200 Subject: [PATCH] Sway config improvements --- symlinks/config/nvim/lua/esensar/lsp/servers.lua | 8 ++++---- symlinks/config/nvim/plugin/java_host.lua | 2 ++ symlinks/config/sway/conf.d/41_pointer | 2 +- symlinks/config/sway/conf.d/90_notifications | 2 +- symlinks/config/sway/config | 1 + ....github.noam09.ulauncher-gnome-control-center.db | Bin 0 -> 6 bytes symlinks/config/ulauncher/extensions.json | 10 +++++++++- symlinks/config/ulauncher/shortcuts.json | 10 ++++++++++ symlinks/config/waybar/config | 3 ++- symlinks/tool-versions | 5 +++-- 10 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 symlinks/config/ulauncher/ext_preferences/com.github.noam09.ulauncher-gnome-control-center.db diff --git a/symlinks/config/nvim/lua/esensar/lsp/servers.lua b/symlinks/config/nvim/lua/esensar/lsp/servers.lua index 3b55788..b2a43b0 100644 --- a/symlinks/config/nvim/lua/esensar/lsp/servers.lua +++ b/symlinks/config/nvim/lua/esensar/lsp/servers.lua @@ -30,11 +30,11 @@ local configuration_overrides = { settings = { ["rust-analyzer"] = { checkOnSave = { - command = "clippy" + command = "clippy", }, - } - } - } + }, + }, + }, } -- Lsp default language servers diff --git a/symlinks/config/nvim/plugin/java_host.lua b/symlinks/config/nvim/plugin/java_host.lua index 7206fd3..42e9184 100644 --- a/symlinks/config/nvim/plugin/java_host.lua +++ b/symlinks/config/nvim/plugin/java_host.lua @@ -5,4 +5,6 @@ require("java_plugin_host").setup({ load_class = true, compile_java = true, }, + common_host = {}, + log_level = "trace", }) diff --git a/symlinks/config/sway/conf.d/41_pointer b/symlinks/config/sway/conf.d/41_pointer index 3aba81b..d0808a5 100644 --- a/symlinks/config/sway/conf.d/41_pointer +++ b/symlinks/config/sway/conf.d/41_pointer @@ -2,4 +2,4 @@ input type:pointer { accel_profile flat } -focus_follows_mouse no +focus_follows_mouse yes diff --git a/symlinks/config/sway/conf.d/90_notifications b/symlinks/config/sway/conf.d/90_notifications index 8605a2d..d459048 100644 --- a/symlinks/config/sway/conf.d/90_notifications +++ b/symlinks/config/sway/conf.d/90_notifications @@ -1,5 +1,5 @@ # Mako control key bindings -bindsym --release control+space exec swaync-client --hide-latest +bindsym --release control+space exec swaync-client --close-latest bindsym --release control+space+period exec swaync-client --close-all bindsym --release control+space+o exec swaync-client --open-panel bindsym --release $mod+v exec swaync-client -t -sw diff --git a/symlinks/config/sway/config b/symlinks/config/sway/config index ffcdb86..3f4308e 100644 --- a/symlinks/config/sway/config +++ b/symlinks/config/sway/config @@ -20,6 +20,7 @@ for_window [window_type="menu"] floating enable for_window [window_role="About"] floating enable for_window [app_id="ulauncher"] border none for_window [app_id="wofi"] border none +for_window [title="Firefox — Sharing Indicator"] floating enable include ~/.config/sway/conf.d/* include /etc/sway/config.d/* diff --git a/symlinks/config/ulauncher/ext_preferences/com.github.noam09.ulauncher-gnome-control-center.db b/symlinks/config/ulauncher/ext_preferences/com.github.noam09.ulauncher-gnome-control-center.db new file mode 100644 index 0000000000000000000000000000000000000000..0a47446c0ad231c193bdd44ff327ba2ab28bf3d8 GIT binary patch literal 6 NcmZo*sx4&D0{{kv0iOT> literal 0 HcmV?d00001 diff --git a/symlinks/config/ulauncher/extensions.json b/symlinks/config/ulauncher/extensions.json index 9e26dfe..ee635b5 100644 --- a/symlinks/config/ulauncher/extensions.json +++ b/symlinks/config/ulauncher/extensions.json @@ -1 +1,9 @@ -{} \ No newline at end of file +{ + "com.github.noam09.ulauncher-gnome-control-center": { + "id": "com.github.noam09.ulauncher-gnome-control-center", + "url": "https://github.com/noam09/ulauncher-gnome-control-center", + "updated_at": "2022-09-23T19:46:03.337195", + "last_commit": "ff8b0875ed5d78dcc1db5f638b201a460cc6d7f7", + "last_commit_time": "2020-10-06T08:36:54" + } +} \ No newline at end of file diff --git a/symlinks/config/ulauncher/shortcuts.json b/symlinks/config/ulauncher/shortcuts.json index bc40f45..f3d4ce0 100644 --- a/symlinks/config/ulauncher/shortcuts.json +++ b/symlinks/config/ulauncher/shortcuts.json @@ -18,5 +18,15 @@ "is_default_search": true, "run_without_argument": false, "added": 1615309537.0841668 + }, + "1233e5bc-f344-490e-9ec1-1a5af64b3300": { + "id": "1233e5bc-f344-490e-9ec1-1a5af64b3300", + "name": "DuckDuckGo", + "keyword": "ddg", + "cmd": "xdg-open \"https://duckduckgo.com/?q=$@\"", + "icon": null, + "is_default_search": true, + "run_without_argument": false, + "added": 1664262631.76421 } } \ No newline at end of file diff --git a/symlinks/config/waybar/config b/symlinks/config/waybar/config index 0f36b5f..c7edec1 100644 --- a/symlinks/config/waybar/config +++ b/symlinks/config/waybar/config @@ -77,7 +77,8 @@ "clock#date": { "interval": 10, "format": " {:%e %b %Y}", // Icon: calendar-alt - "tooltip-format": "{:%e %B %Y}" + "tooltip-format": "{:%e %B %Y}", + "on-click": "notify-send \"$(khal list -f '{title}')\"" }, "cpu": { diff --git a/symlinks/tool-versions b/symlinks/tool-versions index 493812b..a0d3a58 100644 --- a/symlinks/tool-versions +++ b/symlinks/tool-versions @@ -2,6 +2,7 @@ direnv 2.32.1 nodejs 18.1.0 python system ruby 3.0.0 -neovim 0.7.2 +neovim 0.8.0 java openjdk-17.0.2 -rust 1.60.0 +rust 1.64.0 +golang 1.19.1