diff --git a/.gitmodules b/.gitmodules index d9e4f8f4..9c22d160 100644 --- a/.gitmodules +++ b/.gitmodules @@ -29,3 +29,6 @@ [submodule "tmux"] path = config/tmux/plugins/tmux url = https://github.com/dracula/tmux +[submodule "mozilla/firefox-csshacks"] + path = mozilla/firefox-csshacks + url = https://github.com/MrOtherGuy/firefox-csshacks/ diff --git a/config/OpenTabletDriver/settings.json b/config/OpenTabletDriver/settings.json index e4a28cac..aae31db0 100644 --- a/config/OpenTabletDriver/settings.json +++ b/config/OpenTabletDriver/settings.json @@ -10,22 +10,22 @@ "Filters": [], "AbsoluteModeSettings": { "Display": { - "Width": 1440.0, - "Height": 2560.0, - "X": 720.0, - "Y": 1280.0, + "Width": 2560.0, + "Height": 1440.0, + "X": 2720.0, + "Y": 1259.0, "Rotation": 0.0 }, "Tablet": { - "Width": 53.4375, + "Width": 152.0, "Height": 95.0, - "X": 72.01056, + "X": 76.0, "Y": 47.5, - "Rotation": 270.0 + "Rotation": 0.0 }, "EnableClipping": true, "EnableAreaLimiting": false, - "LockAspectRatio": true + "LockAspectRatio": false }, "RelativeModeSettings": { "XSensitivity": 10.0, diff --git a/config/anyrun/config.ron b/config/anyrun/config.ron index 5e6b8fc3..58a479e9 100644 --- a/config/anyrun/config.ron +++ b/config/anyrun/config.ron @@ -39,9 +39,11 @@ Config( "libhyprwin.so", "librink.so", "libapplications.so", - "libshell.so", - // "libsymbols.so", - "libtranslate.so", + "libwebsearch.so", + "libhandlr.so", "librandr.so", + "libshell.so", + "libtranslate.so", + "libsymbols.so", ], ) diff --git a/config/anyrun/handlr.log b/config/anyrun/handlr.log new file mode 100644 index 00000000..97e68071 --- /dev/null +++ b/config/anyrun/handlr.log @@ -0,0 +1,62 @@ +2023-09-15T07:26:58.942905Z  INFO handlr: Tracing initialized +2023-09-15T07:27:01.213903Z  INFO handlr: Title: ":open a" +2023-09-15T07:27:01.213935Z  INFO handlr: Description: "a" +2023-09-15T07:27:01.245265Z ERROR handlr: "" +2023-09-15T07:27:01.245275Z ERROR handlr: "" +2023-09-15T07:27:25.084702Z  INFO handlr: Tracing initialized +2023-09-15T07:27:33.970262Z  INFO handlr: Tracing initialized +2023-09-15T07:27:39.863608Z  INFO handlr: Tracing initialized +2023-09-15T07:27:43.861564Z  INFO handlr: Title: ":o google.com" +2023-09-15T07:27:43.861573Z  INFO handlr: Description: "google.com" +2023-09-15T07:27:43.890188Z ERROR handlr: "" +2023-09-15T07:27:43.890198Z ERROR handlr: "" +2023-09-15T07:30:28.167926Z  INFO handlr: Tracing initialized +2023-09-15T07:30:33.816612Z  INFO handlr: Tracing initialized +2023-09-15T07:30:37.277810Z  INFO handlr: Title: ":o sus" +2023-09-15T07:30:37.277840Z  INFO handlr: Description: "sus" +2023-09-15T07:30:37.277850Z  INFO handlr: Running Command: "handlr" "open" "sus" +2023-09-15T07:30:48.546494Z  INFO handlr: Tracing initialized +2023-09-15T07:30:51.841329Z  INFO handlr: Title: ":o ~/.config" +2023-09-15T07:30:51.841364Z  INFO handlr: Description: "~/.config" +2023-09-15T07:30:51.841367Z  INFO handlr: Running Command: "handlr" "open" "~/.config" +2023-09-15T07:30:51.856065Z ERROR handlr: "" +2023-09-15T07:30:51.856074Z ERROR handlr: "" +2023-09-15T07:31:07.918763Z  INFO handlr: Tracing initialized +2023-09-15T07:31:11.270351Z  INFO handlr: Title: ":o config" +2023-09-15T07:31:11.270360Z  INFO handlr: Description: "config" +2023-09-15T07:31:11.270363Z  INFO handlr: Running Command: "handlr" "open" "config" +2023-09-15T07:31:11.288281Z ERROR handlr: "" +2023-09-15T07:31:11.288289Z ERROR handlr: "" +2023-09-15T07:31:12.549357Z  INFO handlr: Tracing initialized +2023-09-15T07:31:21.110775Z  INFO handlr: Tracing initialized +2023-09-15T07:31:25.562570Z  INFO handlr: Tracing initialized +2023-09-15T07:31:33.582379Z  INFO handlr: Title: ":o .config" +2023-09-15T07:31:33.582389Z  INFO handlr: Description: ".config" +2023-09-15T07:31:33.582392Z  INFO handlr: Running Command: "handlr" "open" ".config" +2023-09-15T07:31:36.997029Z  INFO handlr: Tracing initialized +2023-09-15T07:31:53.581923Z  INFO handlr: Title: ":o ~/.config" +2023-09-15T07:31:53.581954Z  INFO handlr: Description: "~/.config" +2023-09-15T07:31:53.581964Z  INFO handlr: Running Command: "handlr" "open" "~/.config" +2023-09-15T07:31:53.625101Z ERROR handlr: "" +2023-09-15T07:31:53.625115Z ERROR handlr: "" +2023-09-15T07:37:28.163541Z  INFO handlr: Tracing initialized +2023-09-15T07:37:33.352755Z  INFO handlr: Tracing initialized +2023-09-15T07:37:37.845943Z  INFO handlr: Title: ":o ~/.config" +2023-09-15T07:37:37.845974Z  INFO handlr: Description: /home/fs0c131y/.config +2023-09-15T07:37:37.845984Z  INFO handlr: Running Command: "handlr" "open" "~/.config" +2023-09-15T07:37:37.875523Z ERROR handlr: "" +2023-09-15T07:37:37.875533Z ERROR handlr: "" +2023-09-15T07:38:23.248517Z  INFO handlr: Tracing initialized +2023-09-15T07:38:29.458865Z  INFO handlr: Title: ":o ~/.config" +2023-09-15T07:38:29.458874Z  INFO handlr: Argument: /home/fs0c131y/.config +2023-09-15T07:38:29.458876Z  INFO handlr: Running Command: "handlr" "open" "/home/fs0c131y/.config" +2023-09-15T07:39:39.675868Z  INFO handlr: Tracing initialized +2023-09-15T07:40:45.843354Z  INFO handlr: Tracing initialized +2023-09-15T07:41:05.357976Z  INFO handlr: Title: ":open " +2023-09-15T07:41:05.358008Z  INFO handlr: Argument: pen +2023-09-15T07:41:05.358017Z  INFO handlr: Running Command: "handlr" "open" "pen" +2023-09-15T07:41:05.395793Z ERROR handlr: "" +2023-09-15T07:41:05.395801Z ERROR handlr: "" +2023-09-15T07:41:09.158045Z  INFO handlr: Tracing initialized +2023-09-15T07:56:08.286029Z  INFO handlr: Tracing initialized +2023-09-15T07:56:48.113313Z  INFO handlr: Tracing initialized diff --git a/config/anyrun/handlr.ron b/config/anyrun/handlr.ron new file mode 100644 index 00000000..f775a43a --- /dev/null +++ b/config/anyrun/handlr.ron @@ -0,0 +1,4 @@ +Config( + prefix: "", + log: None, +) diff --git a/config/anyrun/plugins/libhandlr.so b/config/anyrun/plugins/libhandlr.so new file mode 100755 index 00000000..5aaa4874 Binary files /dev/null and b/config/anyrun/plugins/libhandlr.so differ diff --git a/config/anyrun/plugins/libanyrun_cmd.so b/config/anyrun/plugins/libwebsearch.so similarity index 52% rename from config/anyrun/plugins/libanyrun_cmd.so rename to config/anyrun/plugins/libwebsearch.so index 5d35ca68..370ef9bd 100755 Binary files a/config/anyrun/plugins/libanyrun_cmd.so and b/config/anyrun/plugins/libwebsearch.so differ diff --git a/config/anyrun/websearch.ron b/config/anyrun/websearch.ron new file mode 100644 index 00000000..4a544169 --- /dev/null +++ b/config/anyrun/websearch.ron @@ -0,0 +1,4 @@ +Config( + prefix: "?", + engines: [Custom(name: "Whoogle", url: "search.uttarayan.me/search?q={}"), DuckDuckGo, Google, Bing, Ecosia] +) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index a61f0fd0..8cd1dbbd 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -27,6 +27,7 @@ env = MOZ_ENABLE_WAYLAND,1 exec-once = swayosd exec-once = hyprpaper exec-once = swaync +exec-once = waybar exec-once = nextcloud --background exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = /usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized diff --git a/config/nvim/lazy-lock.json b/config/nvim/lazy-lock.json index 7d95511c..8ed5443f 100644 --- a/config/nvim/lazy-lock.json +++ b/config/nvim/lazy-lock.json @@ -7,7 +7,8 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, "comfortable-motion.vim": { "branch": "master", "commit": "e20aeafb07c6184727b29f7674530150f7ab2036" }, - "copilot.vim": { "branch": "release", "commit": "719dd8d0beab993dbad47a9e86ecb0dbd4a99da5" }, + "copilot-cmp": { "branch": "master", "commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3" }, + "copilot.lua": { "branch": "master", "commit": "2c942f33ba5c621c906e625e00a1bb504b65e2f0" }, "d2-vim": { "branch": "master", "commit": "981c87dccb63df2887cc41b96e84bf550f736c57" }, "diffview.nvim": { "branch": "main", "commit": "7e5a85c186027cab1e825d018f07c350177077fc" }, "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, @@ -19,24 +20,24 @@ "lazy.nvim": { "branch": "main", "commit": "2a9354c7d2368d78cbd5575a51a2af5bd8a6ad01" }, "lazygit.nvim": { "branch": "main", "commit": "75c920883f44243f2bbb172be423e484a58f7c45" }, "lsp-status.nvim": { "branch": "master", "commit": "54f48eb5017632d81d0fd40112065f1d062d0629" }, - "lspsaga.nvim": { "branch": "main", "commit": "798c1b650d541bb14492fb54d533673162fb848f" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "01b4b6724ebcf5b43fc021486f6a260f1d09311e" }, + "lspsaga.nvim": { "branch": "main", "commit": "32c1b404489723771d385579d695b61cf12bf3a4" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "f014db32437aa61c86fc0ef1067cd2bc6a37205c" }, "mason.nvim": { "branch": "main", "commit": "d66c60e17dd6fd8165194b1d14d21f7eb2c1697a" }, - "neorg": { "branch": "main", "commit": "ba958b0f03692052042deb66fd2af05df04a2847" }, + "neorg": { "branch": "main", "commit": "069cf8a460594ca6f4233c83aac1a31a96c62d98" }, "no-neck-pain.nvim": { "branch": "main", "commit": "6000e12d13188e008e9539085c24ff34794da40b" }, "nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" }, "nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" }, - "nvim-dap": { "branch": "master", "commit": "0e6b7c47dd70e80793ed39271b2aa712d9366dbc" }, + "nvim-dap": { "branch": "master", "commit": "b3d4408e29d924fe130c9397a7c3b3630b3ea671" }, "nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" }, - "nvim-lspconfig": { "branch": "master", "commit": "57139c690dc8d594b2f9de8d1e609f2854a4fe45" }, + "nvim-lspconfig": { "branch": "master", "commit": "cc388d3f6b9c7c943ae2b2dcd46ad470fd257f91" }, "nvim-nu": { "branch": "main", "commit": "f45f36a97fb0ea6e39f08cc2fac7a2fb3dc3999b" }, - "nvim-treesitter": { "branch": "master", "commit": "9ab4e9cc8989e3811b14897cd0eb21ae35e5541e" }, + "nvim-treesitter": { "branch": "master", "commit": "bf8b089eecef9e9e8c1765f81613a2fd5e49175c" }, "nvim-treesitter-context": { "branch": "master", "commit": "b6c763db8cc486215ba96e0a67418848a710ab25" }, - "nvim-web-devicons": { "branch": "master", "commit": "925e2aa30dc9fe9332060199c19f132ec0f3d493" }, + "nvim-web-devicons": { "branch": "master", "commit": "973ab742f143a796a779af4d786ec409116a0d87" }, "octo.nvim": { "branch": "master", "commit": "d1e52f9b3c755fcebb93d635821663a2c0f53281" }, "plenary.nvim": { "branch": "master", "commit": "9ce85b0f7dcfe5358c0be937ad23e456907d410b" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, - "rest.nvim": { "branch": "main", "commit": "22673c848768ff25517154a5aebfebc0c77d0b4f" }, + "rest.nvim": { "branch": "main", "commit": "f13ae54ae2545d4d612593d4a442cbb33a1b5b65" }, "ron.vim": { "branch": "master", "commit": "f749e543975a82e8dd9a6e7df9600a1c098ae800" }, "rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" }, "sonokai": { "branch": "master", "commit": "17308ee6d9c764bfc1e0fa97213e7a99701b4144" }, diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index c1ac66b7..5583e726 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -50,11 +50,11 @@ return require('lazy').setup({ event = "BufEnter", config = function() require('todo-comments').setup() end, }, - { - 'github/copilot.vim', - event = "LspAttach", - cmd = "Copilot", - }, + -- { + -- 'github/copilot.vim', + -- event = "LspAttach", + -- cmd = "Copilot", + -- }, -- 'ggandor/leap.nvim', { 'shortcuts/no-neck-pain.nvim', @@ -245,6 +245,12 @@ return require('lazy').setup({ { 'hrsh7th/cmp-cmdline', lazy = false }, { 'L3MON4D3/LuaSnip' }, { 'saadparwaiz1/cmp_luasnip' }, + { + "zbirenbaum/copilot-cmp", + config = function() + require("copilot_cmp").setup() + end + }, { "petertriho/cmp-git", dependencies = { "nvim-lua/plenary.nvim" }, @@ -269,6 +275,7 @@ return require('lazy').setup({ documentation = cmp.config.window.bordered(), }, sources = cmp.config.sources({ + { name = "copilot", }, { name = 'buffer' }, { name = 'nvim_lsp' }, { name = 'luasnip' }, @@ -519,8 +526,28 @@ return require('lazy').setup({ { "ron-rs/ron.vim", ft = "ron", + }, + -- require("copilot").setup({ + -- suggestion = { enabled = false }, + -- panel = { enabled = false }, + -- }) + { + "zbirenbaum/copilot.lua", + cmd = "Copilot", + event = "LspAttach", + config = function() + require("copilot").setup({ + suggestion = { + enabled = true, + auto_trigger = true, + keymap = { + accept = "", + } + }, + panel = { enabled = true }, + }) + end } - }, { defaults = { lazy = true, diff --git a/mozilla/firefox-csshacks b/mozilla/firefox-csshacks new file mode 160000 index 00000000..1ff93839 --- /dev/null +++ b/mozilla/firefox-csshacks @@ -0,0 +1 @@ +Subproject commit 1ff9383984632fe91b8466730679e019de13c745 diff --git a/mozilla/userChrome.css b/mozilla/userChrome.css new file mode 100644 index 00000000..5cc2f8c3 --- /dev/null +++ b/mozilla/userChrome.css @@ -0,0 +1,2 @@ +@import url(firefox-csshacks/chrome/tabs_on_bottom.css); +@import url(firefox-csshacks/chrome/toolbars_below_content.css);