Compare commits
8 Commits
master
...
a1780dec2b
| Author | SHA1 | Date | |
|---|---|---|---|
| a1780dec2b | |||
| 4b4c5c02a7 | |||
| 003a92f074 | |||
| f6fee77954 | |||
| df3bf6fa57 | |||
| 8b408504e3 | |||
| 53628003d7 | |||
| 4e464eac48 |
@ -34,6 +34,10 @@ set -Ux SQLITE_HISTORY "$XDG_CACHE_HOME"/sqlite_history
|
|||||||
set -Ux UNCRUSTIFY_CONFIG "$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg
|
set -Ux UNCRUSTIFY_CONFIG "$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg
|
||||||
set -Ux XAUTHORITY "$XDG_RUNTIME_DIR"/Xauthority
|
set -Ux XAUTHORITY "$XDG_RUNTIME_DIR"/Xauthority
|
||||||
set -Ux _JAVA_OPTIONS -Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
set -Ux _JAVA_OPTIONS -Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||||
|
set -Ux ERRFILE "$XDG_CACHE_HOME/X11/xsession-errors"
|
||||||
|
set -Ux XAUTHORITY "$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
set -Ux RUSTUP_HOME "$XDG_DATA_HOME"/rustup
|
||||||
|
set -Ux CARGO_HOME "$XDG_DATA_HOME"/cargo
|
||||||
|
|
||||||
# wine prefix
|
# wine prefix
|
||||||
set -Ux WINEPREFIX "$XDG_DATA_HOME/wine/"
|
set -Ux WINEPREFIX "$XDG_DATA_HOME/wine/"
|
||||||
|
|||||||
60
.config/fish/fish_variables
Normal file
60
.config/fish/fish_variables
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# This file contains fish universal variable definitions.
|
||||||
|
# VERSION: 3.0
|
||||||
|
SETUVAR --export ANDROID_HOME:/home/meq/\x2elocal/share/android
|
||||||
|
SETUVAR --export B2_ACCOUNT_ID:0000a61cce56211000000000f
|
||||||
|
SETUVAR --export B2_ACCOUNT_KEY:K000UFoJ5fqDCk5WTnkvZVdJZ0Z3hxA
|
||||||
|
SETUVAR --export CARGO_HOME:/home/meq/\x2elocal/share/cargo
|
||||||
|
SETUVAR --export --path CUDA_CACHE_PATH:/home/meq/\x2ecache/nv
|
||||||
|
SETUVAR --export EDITOR:nvim
|
||||||
|
SETUVAR --export ERRFILE:/home/meq/\x2ecache/X11/xsession\x2derrors
|
||||||
|
SETUVAR --export GDBHISTFILE:/home/meq/\x2elocal/share/gdb/history
|
||||||
|
SETUVAR --export GNUPGHOME:/home/meq/\x2elocal/share/gnupg
|
||||||
|
SETUVAR --export --path GOPATH:/home/meq/\x2elocal/share/go
|
||||||
|
SETUVAR --export ICEAUTHORITY:/home/meq/\x2ecache/ICEauthority
|
||||||
|
SETUVAR --export IPYTHONDIR:/home/meq/\x2econfig/ipython
|
||||||
|
SETUVAR --export LESSHISTFILE:\x2d
|
||||||
|
SETUVAR --export MANPAGER:nvimpager
|
||||||
|
SETUVAR --export MYPY_CACHE_DIR:/home/meq/\x2ecache/mypy
|
||||||
|
SETUVAR --export NPM_CONFIG_USERCONFIG:/home/meq/\x2econfig/npm/npmrc
|
||||||
|
SETUVAR --export PASSWORD_STORE_DIR:/home/meq/\x2elocal/share/pass
|
||||||
|
SETUVAR --export QT_STYLE_OVERRIDE:kvantum
|
||||||
|
SETUVAR --export RUSTUP_HOME:/home/meq/\x2elocal/share/rustup
|
||||||
|
SETUVAR --export SQLITE_HISTORY:/home/meq/\x2ecache/sqlite_history
|
||||||
|
SETUVAR --export UNCRUSTIFY_CONFIG:/home/meq/\x2econfig/uncrustify/uncrustify\x2ecfg
|
||||||
|
SETUVAR --export WINEPREFIX:/home/meq/\x2elocal/share/wine/
|
||||||
|
SETUVAR --export XAUTHORITY:/run/user/1000/Xauthority
|
||||||
|
SETUVAR --export XDG_CACHE_HOME:/home/meq/\x2ecache
|
||||||
|
SETUVAR --export XDG_CONFIG_HOME:/home/meq/\x2econfig
|
||||||
|
SETUVAR --export XDG_DATA_HOME:/home/meq/\x2elocal/share
|
||||||
|
SETUVAR --export _JAVA_OPTIONS:\x2dDjava\x2eutil\x2eprefs\x2euserRoot\x3d/home/meq/\x2econfig/java
|
||||||
|
SETUVAR --export _ZO_MAXAGE:100000
|
||||||
|
SETUVAR __fish_initialized:3400
|
||||||
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
|
SETUVAR fish_color_command:blue
|
||||||
|
SETUVAR fish_color_comment:red
|
||||||
|
SETUVAR fish_color_cwd:green
|
||||||
|
SETUVAR fish_color_cwd_root:red
|
||||||
|
SETUVAR fish_color_end:green
|
||||||
|
SETUVAR fish_color_error:brred
|
||||||
|
SETUVAR fish_color_escape:brcyan
|
||||||
|
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_host:normal
|
||||||
|
SETUVAR fish_color_host_remote:yellow
|
||||||
|
SETUVAR fish_color_normal:normal
|
||||||
|
SETUVAR fish_color_operator:brcyan
|
||||||
|
SETUVAR fish_color_param:cyan
|
||||||
|
SETUVAR fish_color_quote:yellow
|
||||||
|
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_status:red
|
||||||
|
SETUVAR fish_color_user:brgreen
|
||||||
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
|
SETUVAR fish_key_bindings:fish_vi_key_bindings
|
||||||
|
SETUVAR fish_pager_color_completion:normal
|
||||||
|
SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
|
||||||
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||||
|
SETUVAR fish_user_paths:/home/meq/\x2elocal/share/gem/ruby/3\x2e0\x2e0/bin\x1e/home/meq/\x2econfig/scripts/util\x1e/home/meq/\x2econfig/scripts/applications\x1e/home/meq/\x2elocal/share/npm/bin\x1e/home/meq/\x2elocal/share/go/bin\x1e/home/meq/\x2elocal/share/cargo/bin\x1e/home/meq/\x2elocal/bin
|
||||||
@ -1,54 +1,56 @@
|
|||||||
{
|
{
|
||||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||||
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
|
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
|
||||||
"bufferline.nvim": { "branch": "main", "commit": "81820cac7c85e51e4cf179f8a66d13dbf7b032d9" },
|
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||||
|
"bufferline.nvim": { "branch": "main", "commit": "261a72b90d6db4ed8014f7bda976bcdc9dd7ce76" },
|
||||||
"bufresize.nvim": { "branch": "master", "commit": "3b19527ab936d6910484dcc20fb59bdb12322d8b" },
|
"bufresize.nvim": { "branch": "master", "commit": "3b19527ab936d6910484dcc20fb59bdb12322d8b" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" },
|
"dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
|
||||||
"formatter.nvim": { "branch": "master", "commit": "ad246d34ce7a32f752071ed81b09b94e6b127fad" },
|
"formatter.nvim": { "branch": "master", "commit": "eb89a1f3e079f1b9680bc7293b75fffccb5e1598" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "682157939e57bd6a2c86277dfd4d6fbfce63dbac" },
|
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||||
"gitlab.nvim": { "branch": "main", "commit": "dc70c978103e9960ab39feceb67d2f724b12d0c3" },
|
"gitlab.nvim": { "branch": "main", "commit": "be027331e15a17a7fa05e827f6fbdf9549ac0780" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "39b5b6f48bde0595ce68007ffce408c5d7ac1f79" },
|
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "d901d2166fef0304e360316e7a04316f11ab62d0" },
|
"lazy.nvim": { "branch": "main", "commit": "3388a26417c48b15d5266d954f62a4d47fe99490" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
|
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
|
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||||
"maximize.nvim": { "branch": "master", "commit": "02588e7b20df1a0692aa96f83cc4670199f74d71" },
|
"maximize.nvim": { "branch": "master", "commit": "d688b66344b03ee6e5a32a0a40af85d174490af8" },
|
||||||
"mbc-colorscheme.nvim": { "branch": "main", "commit": "02c404d2a58acf527a0de600678c612335cc8416" },
|
"mbc-colorscheme.nvim": { "branch": "main", "commit": "02c404d2a58acf527a0de600678c612335cc8416" },
|
||||||
"mini.bracketed": { "branch": "main", "commit": "abbaf7711dffabf7db180c6d61deb4a321b2a2cd" },
|
"mini.bracketed": { "branch": "main", "commit": "daf2bff8172bc84bfb934f765275618f5e7844a8" },
|
||||||
"neogen": { "branch": "main", "commit": "6de0add4805165317ab7d3d36b5cef48b1b865f3" },
|
"mini.icons": { "branch": "main", "commit": "54686be7d58807906cb2c8c2216e0bf9c044f19a" },
|
||||||
"neogit": { "branch": "master", "commit": "a20031fb5d7d12148764764059243135085e5c9b" },
|
"neogen": { "branch": "main", "commit": "37dd095892e3f846418c465852f7b21f81d0f46c" },
|
||||||
"neotest": { "branch": "master", "commit": "26ed90509c377d10dbdebd25b7094a886323b32b" },
|
"neogit": { "branch": "master", "commit": "11e14b67eb19bada54c9eb8bc70a581f358cd175" },
|
||||||
"neotest-python": { "branch": "master", "commit": "2e83d2bc00acbcc1fd529dbf0a0e677cabfe6b50" },
|
"neotest": { "branch": "master", "commit": "6d3d22cdad49999ef774ebe1bc250a4994038964" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
|
"neotest-python": { "branch": "master", "commit": "a2861ab3c9a0bf75a56b11835c2bfc8270f5be7e" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
|
||||||
|
"nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" },
|
||||||
"nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" },
|
"nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "a110e12d0b58eefcf5b771f533fc2cf3050680ac" },
|
"nvim-cmp": { "branch": "main", "commit": "ca4d3330d386e76967e53b85953c170658255ecb" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "6f79b822997f2e8a789c6034e147d42bc6706770" },
|
"nvim-dap": { "branch": "master", "commit": "6fd05c6ee98b08a2c6ee7d81e1927a152990df05" },
|
||||||
"nvim-dap-go": { "branch": "main", "commit": "3999f0744e80d2dba5775189fc7c7a5e9846053e" },
|
"nvim-dap-go": { "branch": "main", "commit": "6aa88167ea1224bcef578e8c7160fe8afbb44848" },
|
||||||
"nvim-dap-python": { "branch": "master", "commit": "d777c2b32ed39f61209c09bede28d7491621a631" },
|
"nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" },
|
||||||
"nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" },
|
"nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "cf97d2485fc3f6d4df1b79a3ea183e24c272215e" },
|
"nvim-lspconfig": { "branch": "master", "commit": "64073cbed0ce23e988160bfd1a148a75b6af94cc" },
|
||||||
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
|
"nvim-surround": { "branch": "main", "commit": "9f0cb495f25bff32c936062d85046fbda0c43517" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "2086e564c4d23fea714e8a6d63b881e551af2f41" },
|
"nvim-tree.lua": { "branch": "master", "commit": "c7639482a1598f4756798df1b2d72f79fe5bb34f" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "a8c082b4f5b3b70bde2ffb08cc112dfd7e515fb3" },
|
"nvim-treesitter": { "branch": "master", "commit": "c56507f6a16d6a9bd73ab8827a49fa5533aa8fc3" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "9ff7a5e23f8fa9e19c9570e1696849fdff8805ea" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
|
||||||
"obsidian.nvim": { "branch": "main", "commit": "f0bc495b4a3852a83b48636e9f564586f5e2d29e" },
|
"nvim-web-devicons": { "branch": "master", "commit": "203da76ecfbb4b192cf830665b03eb651b635c94" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
|
||||||
"refactoring.nvim": { "branch": "master", "commit": "d07218748c48e756c27aa6859bfa6e62a3d271af" },
|
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||||
|
"refactoring.nvim": { "branch": "master", "commit": "2db6d378e873de31d18ade549c2edba64ff1c2e3" },
|
||||||
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||||
"term-edit.nvim": { "branch": "master", "commit": "32e802c6ea08304db6cbbf44e6ca9805b8c2ad51" },
|
"term-edit.nvim": { "branch": "master", "commit": "29c4584c2cef44a3fdcc55860957d081b892a569" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "cd55bf6aab3f88c259fa29ea86bbdcb1a325687d" },
|
"toggleterm.nvim": { "branch": "main", "commit": "87b2d6a3cab8e2bd9a0255427074285f0365398d" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "e32c194558ebeb433ccfd580a34c66770bc102bd" },
|
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
|
||||||
"vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" },
|
|
||||||
"wal-colors.nvim": { "branch": "main", "commit": "f0f052ae2dd5054200b98ff308c864579c2983ea" },
|
"wal-colors.nvim": { "branch": "main", "commit": "f0f052ae2dd5054200b98ff308c864579c2983ea" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "ca2d995c1f7d1ba4ce54a9936a6cdd8cfa594f2d" }
|
"which-key.nvim": { "branch": "main", "commit": "9b365a6428a9633e3eeb34dbef1b791511c54f70" }
|
||||||
}
|
}
|
||||||
@ -40,6 +40,7 @@ vim.keymap.set("n", "<leader>C", ":ToggleTerm<CR>", { desc = "Toggle Terminal" }
|
|||||||
vim.keymap.set("n", "<leader>ac", "<cmd>Telescope find_files cwd=~/.config/nvim<CR>", { desc = "Find Config Files" })
|
vim.keymap.set("n", "<leader>ac", "<cmd>Telescope find_files cwd=~/.config/nvim<CR>", { desc = "Find Config Files" })
|
||||||
vim.keymap.set("n", "<leader>an", "<cmd>NoNeckPain<CR>", { desc = "No Neck Pain" })
|
vim.keymap.set("n", "<leader>an", "<cmd>NoNeckPain<CR>", { desc = "No Neck Pain" })
|
||||||
vim.keymap.set("n", "<leader>ag", "<cmd>Neogit<CR>", { desc = "Neogit" })
|
vim.keymap.set("n", "<leader>ag", "<cmd>Neogit<CR>", { desc = "Neogit" })
|
||||||
|
vim.keymap.set("n", "<leader>af", "<cmd>NvimTreeFindFile<CR>", { desc = "Find File In File Manager" })
|
||||||
vim.keymap.set("n", "<leader>am", function()
|
vim.keymap.set("n", "<leader>am", function()
|
||||||
require("maximize").toggle()
|
require("maximize").toggle()
|
||||||
end, { desc = "Maximize" })
|
end, { desc = "Maximize" })
|
||||||
|
|||||||
@ -5,10 +5,10 @@ return {
|
|||||||
end,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-vsnip",
|
|
||||||
"hrsh7th/cmp-buffer",
|
"hrsh7th/cmp-buffer",
|
||||||
"hrsh7th/cmp-path",
|
"hrsh7th/cmp-path",
|
||||||
"hrsh7th/cmp-nvim-lsp-signature-help",
|
"hrsh7th/cmp-nvim-lsp-signature-help",
|
||||||
|
"saadparwaiz1/cmp_luasnip",
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
},
|
},
|
||||||
opts = function()
|
opts = function()
|
||||||
@ -16,12 +16,13 @@ return {
|
|||||||
|
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
local neogen = require("neogen")
|
local neogen = require("neogen")
|
||||||
|
local luasnip = require("luasnip")
|
||||||
local lspkind = require("lspkind")
|
local lspkind = require("lspkind")
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
snippet = {
|
snippet = {
|
||||||
expand = function(args)
|
expand = function(args)
|
||||||
vim.fn["vsnip#anonymous"](args.body)
|
luasnip.lsp_expand(args.body)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
mapping = {
|
mapping = {
|
||||||
@ -35,34 +36,36 @@ return {
|
|||||||
behavior = cmp.ConfirmBehavior.Replace,
|
behavior = cmp.ConfirmBehavior.Replace,
|
||||||
select = false,
|
select = false,
|
||||||
}),
|
}),
|
||||||
["<tab>"] = cmp.mapping(function(fallback)
|
["<Tab>"] = cmp.mapping(function(fallback)
|
||||||
if neogen.jumpable() then
|
if cmp.visible() then
|
||||||
|
cmp.select_next_item()
|
||||||
|
elseif luasnip.locally_jumpable(1) then
|
||||||
|
luasnip.jump(1)
|
||||||
|
elseif neogen.jumpable() then
|
||||||
neogen.jump_next()
|
neogen.jump_next()
|
||||||
else
|
else
|
||||||
fallback()
|
fallback()
|
||||||
end
|
end
|
||||||
end, {
|
end, { "i", "s" }),
|
||||||
"i",
|
|
||||||
"s",
|
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||||
}),
|
if cmp.visible() then
|
||||||
["<S-tab>"] = cmp.mapping(function(fallback)
|
cmp.select_prev_item()
|
||||||
if neogen.jumpable(true) then
|
elseif luasnip.locally_jumpable(-1) then
|
||||||
|
luasnip.jump(-1)
|
||||||
|
elseif neogen.jumpable() then
|
||||||
neogen.jump_prev()
|
neogen.jump_prev()
|
||||||
else
|
else
|
||||||
fallback()
|
fallback()
|
||||||
end
|
end
|
||||||
end, {
|
end, { "i", "s" }),
|
||||||
"i",
|
|
||||||
"s",
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "nvim_lsp_signature_help" },
|
{ name = "nvim_lsp_signature_help" },
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
{ name = "buffer", keyword_length = 5 },
|
{ name = "buffer", keyword_length = 5 },
|
||||||
{ name = "vsnip" },
|
{ name = "luasnip" },
|
||||||
{ name = "orgmode" },
|
|
||||||
},
|
},
|
||||||
formatting = {
|
formatting = {
|
||||||
format = lspkind.cmp_format({
|
format = lspkind.cmp_format({
|
||||||
|
|||||||
14
.config/nvim/lua/plugins/luasnip.lua
Normal file
14
.config/nvim/lua/plugins/luasnip.lua
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
return {
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
version = "v2.*",
|
||||||
|
-- install jsregexp (optional!).
|
||||||
|
build = "make install_jsregexp",
|
||||||
|
|
||||||
|
dependencies = {
|
||||||
|
"rafamadriz/friendly-snippets",
|
||||||
|
},
|
||||||
|
|
||||||
|
config = function()
|
||||||
|
require("luasnip.loaders.from_vscode").lazy_load()
|
||||||
|
end,
|
||||||
|
}
|
||||||
@ -1,19 +0,0 @@
|
|||||||
return {
|
|
||||||
"hrsh7th/vim-vsnip",
|
|
||||||
|
|
||||||
dependencies = {
|
|
||||||
"rafamadriz/friendly-snippets",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
-- jumpable mappings
|
|
||||||
vim.api.nvim_exec(
|
|
||||||
[[
|
|
||||||
imap <expr> <Tab> vsnip#jumpable(1) ? '<Plug>(vsnip-jump-next)' : '<Tab>'
|
|
||||||
smap <expr> <Tab> vsnip#jumpable(1) ? '<Plug>(vsnip-jump-next)' : '<Tab>'
|
|
||||||
imap <expr> <S-Tab> vsnip#jumpable(-1) ? '<Plug>(vsnip-jump-prev)' : '<S-Tab>'
|
|
||||||
smap <expr> <S-Tab> vsnip#jumpable(-1) ? '<Plug>(vsnip-jump-prev)' : '<S-Tab>'
|
|
||||||
]],
|
|
||||||
false
|
|
||||||
)
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@ -32,7 +32,7 @@ font-0 = mononoki-12;1
|
|||||||
|
|
||||||
modules-left = ewmh
|
modules-left = ewmh
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = mpd filesystem pulseaudio xkeyboard memory cpu wlan eth
|
modules-right = mpd filesystem pipewire_buffer_size pulseaudio xkeyboard memory cpu wlan eth
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
@ -43,10 +43,16 @@ enable-ipc = true
|
|||||||
|
|
||||||
; wm-restack = generic
|
; wm-restack = generic
|
||||||
; wm-restack = bspwm
|
; wm-restack = bspwm
|
||||||
; wm-restack = i3
|
wm-restack = i3
|
||||||
|
|
||||||
; override-redirect = true
|
; override-redirect = true
|
||||||
|
|
||||||
|
[module/pipewire_buffer_size]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/pipewire_buffer_size.sh
|
||||||
|
interval = 10
|
||||||
|
click-right = ~/.config/polybar/pipewire_buffer_size.sh click
|
||||||
|
|
||||||
[module/info-hlwm-workspaces]
|
[module/info-hlwm-workspaces]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/.config/polybar/info-hlwm-workspaces/info-hlwm-workspaces.sh
|
exec = ~/.config/polybar/info-hlwm-workspaces/info-hlwm-workspaces.sh
|
||||||
|
|||||||
18
.config/polybar/pipewire_buffer_size.sh
Executable file
18
.config/polybar/pipewire_buffer_size.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BUFFER_SIZES=("64" "128" "256" "512" "1024" "2048" "4096")
|
||||||
|
|
||||||
|
current_buffer_size=$(pw-metadata -n settings 0 clock.force-quantum | grep -oP "value:'\K[0-9]+")
|
||||||
|
|
||||||
|
if [[ $1 == "click" ]]; then
|
||||||
|
new_buffer_size=$(echo "${BUFFER_SIZES[@]}" | tr ' ' '\n' | xmenu)
|
||||||
|
|
||||||
|
if [[ -n $new_buffer_size ]]; then
|
||||||
|
pw-metadata -n settings 0 clock.force-quantum "$new_buffer_size"
|
||||||
|
current_buffer_size=$new_buffer_size
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$current_buffer_size"
|
||||||
8
.config/sway/autostart.sh
Executable file
8
.config/sway/autostart.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# pidof mpd || mpd &
|
||||||
|
# pidof flameshot || flameshot &
|
||||||
|
# pidof lxpolkit || lxpolkit &
|
||||||
|
# pidof picom || picom &
|
||||||
|
# wal -R
|
||||||
|
pkill swaybg; swaybg -i ~/docs/bg/gruvbox-wallpapers/wallpapers/minimalistic/clouds.png -m fill
|
||||||
179
.config/sway/config
Normal file
179
.config/sway/config
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
include "$HOME/.cache/wal/colors-sway"
|
||||||
|
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
set $terminal kitty
|
||||||
|
set $browser firefox
|
||||||
|
set $calculator "rofi -show calc"
|
||||||
|
set $calendar "$terminal -e nvim +Agenda"
|
||||||
|
set $feed_reader "$terminal -e newsboat"
|
||||||
|
set $file_manager nemo
|
||||||
|
set $music_player "kitty -e ncmpcpp"
|
||||||
|
set $screen_locker "swaylock -c 000000"
|
||||||
|
|
||||||
|
font pango:mononoki 12
|
||||||
|
|
||||||
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
|
exec --no-startup-id dex --autostart --environment i3
|
||||||
|
|
||||||
|
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||||
|
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||||
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||||
|
|
||||||
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
|
||||||
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# move tiling windows via drag & drop by left-clicking into the title bar,
|
||||||
|
# or left-clicking anywhere into the window while holding the floating modifier.
|
||||||
|
# tiling_drag modifier titlebar
|
||||||
|
|
||||||
|
# basics
|
||||||
|
bindsym $mod+w kill
|
||||||
|
bindsym $mod+r reload
|
||||||
|
|
||||||
|
# focus
|
||||||
|
bindsym $mod+h focus left
|
||||||
|
bindsym $mod+j focus down
|
||||||
|
bindsym $mod+k focus up
|
||||||
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
|
# shift
|
||||||
|
bindsym $mod+Shift+h move left
|
||||||
|
bindsym $mod+Shift+j move down
|
||||||
|
bindsym $mod+Shift+k move up
|
||||||
|
bindsym $mod+Shift+l move right
|
||||||
|
|
||||||
|
# frame splitting
|
||||||
|
bindsym $mod+o split h
|
||||||
|
bindsym $mod+u split v
|
||||||
|
|
||||||
|
# resize
|
||||||
|
bindsym $mod+Control+h resize grow left 2 px or 2 ppt
|
||||||
|
bindsym $mod+Control+j resize grow down 2 px or 2 ppt
|
||||||
|
bindsym $mod+Control+k resize grow up 2 px or 2 ppt
|
||||||
|
bindsym $mod+Control+l resize grow right 2 px or 2 ppt
|
||||||
|
|
||||||
|
# cycle layouts
|
||||||
|
bindsym $mod+Control+e layout stacking
|
||||||
|
bindsym $mod+Control+r layout tabbed
|
||||||
|
bindsym $mod+Control+t layout toggle split
|
||||||
|
|
||||||
|
# window attributes
|
||||||
|
bindsym $mod+Control+w fullscreen toggle
|
||||||
|
bindsym $mod+Control+q floating toggle
|
||||||
|
|
||||||
|
#
|
||||||
|
# launchers
|
||||||
|
#
|
||||||
|
|
||||||
|
bindsym $mod+Return exec $terminal
|
||||||
|
bindsym $mod+space exec --no-startup-id "rofi -show drun"
|
||||||
|
|
||||||
|
bindsym $mod+grave exec flameshot gui
|
||||||
|
bindsym $mod+1 exec $file_manager
|
||||||
|
bindsym $mod+2 exec $browser
|
||||||
|
bindsym $mod+3 exec $calculator
|
||||||
|
bindsym $mod+4 exec $music_player
|
||||||
|
bindsym $mod+5 exec $calendar
|
||||||
|
bindsym $mod+6 exec $virt-manager
|
||||||
|
bindsym $mod+0 exec $screen_locker
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
# bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
# bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# focus the child container
|
||||||
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
|
set $ws1 "a"
|
||||||
|
set $ws2 "s"
|
||||||
|
set $ws3 "d"
|
||||||
|
set $ws4 "f"
|
||||||
|
set $ws5 "g"
|
||||||
|
set $ws6 "z"
|
||||||
|
set $ws7 "x"
|
||||||
|
set $ws8 "c"
|
||||||
|
set $ws9 "v"
|
||||||
|
set $ws10 "b"
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+a workspace $ws1
|
||||||
|
bindsym $mod+s workspace $ws2
|
||||||
|
bindsym $mod+d workspace $ws3
|
||||||
|
bindsym $mod+f workspace $ws4
|
||||||
|
bindsym $mod+g workspace $ws5
|
||||||
|
bindsym $mod+z workspace $ws6
|
||||||
|
bindsym $mod+x workspace $ws7
|
||||||
|
bindsym $mod+c workspace $ws8
|
||||||
|
bindsym $mod+v workspace $ws9
|
||||||
|
bindsym $mod+b workspace $ws10
|
||||||
|
|
||||||
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+a move container to workspace $ws1
|
||||||
|
bindsym $mod+Shift+s move container to workspace $ws2
|
||||||
|
bindsym $mod+Shift+d move container to workspace $ws3
|
||||||
|
bindsym $mod+Shift+f move container to workspace $ws4
|
||||||
|
bindsym $mod+Shift+g move container to workspace $ws5
|
||||||
|
bindsym $mod+Shift+z move container to workspace $ws6
|
||||||
|
bindsym $mod+Shift+x move container to workspace $ws7
|
||||||
|
bindsym $mod+Shift+c move container to workspace $ws8
|
||||||
|
bindsym $mod+Shift+v move container to workspace $ws9
|
||||||
|
bindsym $mod+Shift+b move container to workspace $ws10
|
||||||
|
|
||||||
|
bindsym $mod+p move workspace to output right
|
||||||
|
|
||||||
|
#
|
||||||
|
# theme
|
||||||
|
#
|
||||||
|
|
||||||
|
gaps inner 12
|
||||||
|
|
||||||
|
default_border pixel 2
|
||||||
|
|
||||||
|
# set_from_resource $color0 sway.color0 #000000
|
||||||
|
# set_from_resource $color1 sway.color1 #000000
|
||||||
|
# set_from_resource $color8 sway.color8 #000000
|
||||||
|
|
||||||
|
# class border backgr. text indicator child_border
|
||||||
|
client.focused $color8 $color0 $color6 $color0 $color8
|
||||||
|
client.focused_inactive $color8 $color0 $color6 $color0 $color0
|
||||||
|
client.unfocused $color0 $color0 $color6 $color0 $color0
|
||||||
|
client.urgent $color1 $color0 $color6 $color0 $color0
|
||||||
|
client.placeholder $color1 $color0 $color6 $color0 $color0
|
||||||
|
|
||||||
|
client.background $color0
|
||||||
|
|
||||||
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
|
# finds out, if available)
|
||||||
|
# bar {
|
||||||
|
# status_command i3status
|
||||||
|
# }
|
||||||
|
|
||||||
|
exec_always --no-startup-id $HOME/.config/sway/autostart.sh
|
||||||
|
exec_always --no-startup-id $HOME/.config/sway/panel.sh
|
||||||
|
|
||||||
|
input "type:keyboard" {
|
||||||
|
repeat_rate 45
|
||||||
|
repeat_delay 300
|
||||||
|
xkb_layout "eu,il"
|
||||||
|
xkb_options "grp:alt_shift_toggle"
|
||||||
|
}
|
||||||
|
|
||||||
|
for_window [class="REAPER" title="^(?!.*REAPER).*$"] floating enable
|
||||||
|
for_window [class="REAPER" title=".*REAPER - .*" instance="REAPER"] floating disable
|
||||||
6
.config/sway/panel.sh
Executable file
6
.config/sway/panel.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
pkill waybar
|
||||||
|
waybar
|
||||||
|
# polybar-msg cmd quit
|
||||||
|
# polybar main 2>&1 & disown
|
||||||
@ -49,6 +49,9 @@ super + {a,s,d,f,g,z,x,c,v,b}
|
|||||||
bspc desktop -f "$d.local" || bspc desktop -s "$d"
|
bspc desktop -f "$d.local" || bspc desktop -s "$d"
|
||||||
# this is running on fish for some reason
|
# this is running on fish for some reason
|
||||||
|
|
||||||
|
super + shift + {a,s,d,f,g,z,x,c,v,b}
|
||||||
|
bspc node -d {a,s,d,f,g,z,x,c,v,b}
|
||||||
|
|
||||||
# Monitor
|
# Monitor
|
||||||
super + m
|
super + m
|
||||||
bspc monitor -f next
|
bspc monitor -f next
|
||||||
@ -86,6 +89,9 @@ super + Return
|
|||||||
kitty
|
kitty
|
||||||
|
|
||||||
super + space
|
super + space
|
||||||
|
rofi -show drun
|
||||||
|
|
||||||
|
super + control + space
|
||||||
rofi -show run
|
rofi -show run
|
||||||
|
|
||||||
super + grave
|
super + grave
|
||||||
|
|||||||
@ -10,6 +10,6 @@ XDG_MUSIC_DIR="$HOME/docs/music"
|
|||||||
XDG_DESKTOP_DIR="$HOME/"
|
XDG_DESKTOP_DIR="$HOME/"
|
||||||
XDG_TEMPLATES_DIR="$HOME/"
|
XDG_TEMPLATES_DIR="$HOME/"
|
||||||
XDG_PUBLICSHARE_DIR="$HOME/"
|
XDG_PUBLICSHARE_DIR="$HOME/"
|
||||||
XDG_DOCUMENTS_DIR="$HOME/"
|
XDG_DOCUMENTS_DIR="$HOME/.local/share/documents"
|
||||||
XDG_PICTURES_DIR="$HOME/"
|
XDG_PICTURES_DIR="$HOME/"
|
||||||
XDG_VIDEOS_DIR="$HOME/"
|
XDG_VIDEOS_DIR="$HOME/"
|
||||||
|
|||||||
150
.config/waybar/config.jsonc
Normal file
150
.config/waybar/config.jsonc
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
// -*- mode: jsonc -*-
|
||||||
|
{
|
||||||
|
// "layer": "top", // Waybar at top layer
|
||||||
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||||
|
"height": 29, // Waybar height (to be removed for auto height)
|
||||||
|
// "width": 1280, // Waybar width
|
||||||
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
|
// Choose the order of the modules
|
||||||
|
"modules-left": [
|
||||||
|
"sway/workspaces"
|
||||||
|
// "sway/mode",
|
||||||
|
// "sway/scratchpad",
|
||||||
|
// "custom/media"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
// "sway/window"
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"mpd",
|
||||||
|
"custom/separator",
|
||||||
|
"custom/pipewire-buffer",
|
||||||
|
"custom/separator",
|
||||||
|
"pulseaudio",
|
||||||
|
"custom/separator",
|
||||||
|
"sway/language",
|
||||||
|
"custom/separator",
|
||||||
|
"memory",
|
||||||
|
"custom/separator",
|
||||||
|
"cpu",
|
||||||
|
"custom/separator",
|
||||||
|
"network"
|
||||||
|
],
|
||||||
|
"custom/separator": {
|
||||||
|
"format": "|",
|
||||||
|
"interval": "once",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
// Modules configuration
|
||||||
|
// "sway/workspaces": {
|
||||||
|
// "disable-scroll": true,
|
||||||
|
// "all-outputs": true,
|
||||||
|
// "warp-on-scroll": false,
|
||||||
|
// "format": "{name}: {icon}",
|
||||||
|
// "format-icons": {
|
||||||
|
// "1": "",
|
||||||
|
// "2": "",
|
||||||
|
// "3": "",
|
||||||
|
// "4": "",
|
||||||
|
// "5": "",
|
||||||
|
// "urgent": "",
|
||||||
|
// "focused": "",
|
||||||
|
// "default": ""
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
"sway/mode": {
|
||||||
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
|
},
|
||||||
|
"mpd": {
|
||||||
|
"format": "{artist} - {title}",
|
||||||
|
"format-disconnected": "Disconnected ",
|
||||||
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||||
|
"unknown-tag": "N/A",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip-format": "MPD (connected)",
|
||||||
|
"tooltip-format-disconnected": "MPD (disconnected)"
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
// "timezone": "America/New_York",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": "CPU {usage}%"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": "MEM {}%"
|
||||||
|
},
|
||||||
|
"custom/pipewire_buffer_size": {
|
||||||
|
"exec": "~/.config/waybar/pipewire_buffer_size.sh",
|
||||||
|
"interval": 10,
|
||||||
|
"on-click": "~/.config/waybar/pipewire_buffer_size.sh click"
|
||||||
|
},
|
||||||
|
"temperature": {
|
||||||
|
// "thermal-zone": 2,
|
||||||
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
// "format-critical": "{temperatureC}°C {icon}",
|
||||||
|
"format": "{temperatureC}°C {icon}",
|
||||||
|
"format-icons": ["", "", ""]
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
// "device": "acpi_video1",
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
// "good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{capacity}% {icon}",
|
||||||
|
"format-full": "{capacity}% {icon}",
|
||||||
|
"format-charging": "{capacity}% ",
|
||||||
|
"format-plugged": "{capacity}% ",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
// "format-good": "", // An empty format will hide the module
|
||||||
|
// "format-full": "",
|
||||||
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery#bat2": {
|
||||||
|
"bat": "BAT2"
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
|
"format-wifi": "{essid} ({signalStrength}%)",
|
||||||
|
"format-ethernet": "{ipaddr}/{cidr}",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr}",
|
||||||
|
"format-linked": "{ifname} (No IP)",
|
||||||
|
"format-disconnected": "Disconnected",
|
||||||
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
"format": "VOL {volume}%",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
"custom/pipewire-buffer": {
|
||||||
|
"format": "BUF {}",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "$HOME/.config/waybar/pipewire_buffer_size.sh",
|
||||||
|
"menu-file": "$HOME/.config/waybar/pipewire_buffer_menu.xml",
|
||||||
|
"menu-actions": {
|
||||||
|
"buffer_64": "$HOME/.config/waybar/set_pipewire_buffer.sh 64",
|
||||||
|
"buffer_128": "$HOME/.config/waybar/set_pipewire_buffer.sh 128",
|
||||||
|
"buffer_256": "$HOME/.config/waybar/set_pipewire_buffer.sh 256",
|
||||||
|
"buffer_512": "$HOME/.config/waybar/set_pipewire_buffer.sh 512",
|
||||||
|
"buffer_1024": "$HOME/.config/waybar/set_pipewire_buffer.sh 1024",
|
||||||
|
"buffer_2048": "$HOME/.config/waybar/set_pipewire_buffer.sh 2048",
|
||||||
|
"buffer_4096": "$HOME/.config/waybar/set_pipewire_buffer.sh 4096",
|
||||||
|
"buffer_8192": "$HOME/.config/waybar/set_pipewire_buffer.sh 8192"
|
||||||
|
},
|
||||||
|
"exec": "$HOME/.config/waybar/get_pipewire_buffer.sh",
|
||||||
|
"interval": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
2
.config/waybar/get_pipewire_buffer.sh
Executable file
2
.config/waybar/get_pipewire_buffer.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
pw-metadata -n settings 0 clock.force-quantum | grep -oP "value:'\K[0-9]+"
|
||||||
28
.config/waybar/pipewire_buffer_menu.xml
Normal file
28
.config/waybar/pipewire_buffer_menu.xml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<object class="GtkMenu" id="menu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="suspend">
|
||||||
|
<property name="label">Suspend</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="hibernate">
|
||||||
|
<property name="label">Hibernate</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="shutdown">
|
||||||
|
<property name="label">Shutdown</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="reboot">
|
||||||
|
<property name="label">Reboot</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
12
.config/waybar/pipewire_buffer_size.sh
Executable file
12
.config/waybar/pipewire_buffer_size.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BUFFER_SIZES=("64" "128" "256" "512" "1024" "2048" "4096" "8192")
|
||||||
|
|
||||||
|
new_buffer_size=$(echo "${BUFFER_SIZES[@]}" | tr ' ' '\n' | wofi --show dmenu)
|
||||||
|
|
||||||
|
if [[ -n $new_buffer_size ]]; then
|
||||||
|
pw-metadata -n settings 0 clock.force-quantum "$new_buffer_size"
|
||||||
|
current_buffer_size=$new_buffer_size
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
4
.config/waybar/set_pipewire_buffer.sh
Executable file
4
.config/waybar/set_pipewire_buffer.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BUFFER_SIZE=$1
|
||||||
|
pw-metadata -n settings 0 clock.force-quantum $BUFFER_SIZE
|
||||||
39
.config/waybar/style.css
Normal file
39
.config/waybar/style.css
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
@import url("../../.cache/wal/colors-waybar.css");
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "mononoki";
|
||||||
|
font-size: 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar {
|
||||||
|
background-color: @background;
|
||||||
|
color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd {
|
||||||
|
color: @color1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-pipewire-buffer {
|
||||||
|
color: @color2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
color: @color3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
color: @color4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
color: @color5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
color: @color6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
color: @color1;
|
||||||
|
}
|
||||||
2
.xinitrc
2
.xinitrc
@ -6,7 +6,9 @@ xsetwacom set "Wacom One by Wacom S Pen stylus" MapToOutput 1920x1200+2560+0
|
|||||||
xsetwacom set "Wacom One by Wacom S Pen stylus" Rotate half
|
xsetwacom set "Wacom One by Wacom S Pen stylus" Rotate half
|
||||||
xset r rate 300 50
|
xset r rate 300 50
|
||||||
exec herbstluftwm
|
exec herbstluftwm
|
||||||
|
# qtile start
|
||||||
# exec gnome-session
|
# exec gnome-session
|
||||||
|
# exec xfce4-session
|
||||||
# exec awesome
|
# exec awesome
|
||||||
# exec bspwm
|
# exec bspwm
|
||||||
# exec i3
|
# exec i3
|
||||||
|
|||||||
Reference in New Issue
Block a user