1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-21 16:51:16 +02:00

Compare commits

..

30 Commits

Author SHA1 Message Date
tiyn
da2ba6b999 nvim: added z3 support to compiler 2025-10-21 15:28:34 +02:00
tiyn
9734aa56ad nvim: improved rust compiler to use cargo 2025-10-11 03:14:08 +02:00
tiyn
4cc268f424 nvim: added rust support 2025-10-10 08:33:30 +02:00
tiyn
7a66057608 nvim: added rust to compiler 2025-10-10 07:13:29 +02:00
50b033c772 fixed merge conflict 2025-08-17 16:54:33 +02:00
d7a25d0ed2 updated various settings 2025-08-17 16:52:49 +02:00
tiyn
875803b1fb nvim: fixed breaking changes 2025-07-31 02:01:19 +02:00
tiyn
fd6934ecbc nvim: fixed breaking changes 2025-07-20 04:48:11 +02:00
tiyn
3aafdd54f7 swayidle: improved script - added screen dim and off 2025-07-11 02:58:43 +02:00
tiyn
2c6f888ed7 swayidle: improved script - added screen dim and off 2025-07-11 02:36:42 +02:00
tiyn
a005ba35db wayland: fixed swayidle settings 2025-07-06 06:47:45 +02:00
tiyn
cfe8c6d703 xdg: added gnome-keyring 2025-07-06 06:32:03 +02:00
tiyn
c889d019aa zsh: enable pyenv 2025-07-06 06:31:29 +02:00
tiyn
a92906b244 wayland: unclutter not needed due to patched dwl & changed some autostart programs 2025-07-06 06:30:51 +02:00
tiyn
466f023fca make wayland screenshare compatible 2025-05-14 04:19:50 +02:00
tiyn
632dccff14 Merge branch 'master' of ghthub:tiyn/dotfiles 2025-04-25 01:57:54 +02:00
tiyn
2cbd28a429 wayland: unclutter not needed due to patched dwl 2025-04-25 01:57:46 +02:00
31616d0604 screen capture: fixed missing audio 2025-04-24 01:50:09 +02:00
tiyn
2d0fb5ecf8 waybar: changed config 2025-04-13 19:16:43 +02:00
tiyn
170020a287 wayland: preliminary migration done 2025-04-09 02:31:49 +02:00
tiyn
45bfcbf68e wayland: starting to setup migration option 2025-04-03 03:44:52 +02:00
tiyn
e8901032db nvim: fixed and replaced deprecated parts 2025-03-29 06:31:16 +01:00
tiyn
b74a23af1d tools/wallpaper: added lightdm wallpaper 2025-03-28 03:58:13 +01:00
tiyn
d2bfc89ef2 xinitrc: linked xinitrc to xsession 2025-03-28 02:50:15 +01:00
tiyn
3cfd34313e nvim: changed bracket program 2025-03-24 04:34:23 +01:00
tiyn
001187545c nvim: updated all plugins 2025-03-18 05:24:19 +01:00
tiyn
0a21e161a4 qt: change default theme to adwaita 2025-03-18 05:00:50 +01:00
tiyn
8a71bd65af nvim: added dependency to goto-definitions plugin 2025-03-13 03:36:42 +01:00
tiyn
5eac363783 nvim: updated all plugins 2025-03-12 05:33:16 +01:00
tiyn
fad6eed865 make lightdm compatible 2025-03-11 04:10:53 +01:00
33 changed files with 697 additions and 175 deletions

View File

@@ -24,6 +24,7 @@ message/rfc822=mail.desktop
x-scheme-handler/msteams=teams.desktop
x-scheme-handler/tonsite=org.telegram.desktop.desktop
inode/directory=file-browser.desktop
x-scheme-handler/betterdiscord=discord.desktop
[Added Associations]
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;

View File

@@ -1,76 +1,77 @@
{
"action-hints.nvim": { "branch": "main", "commit": "ab10fef255dd4bc933c92d8f9969828f2f856e71" },
"action-hints.nvim": { "branch": "main", "commit": "ac72c23c2e901084e0c08a743942d8d7b8c560de" },
"barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"blink.download": { "branch": "main", "commit": "86361b98f3c8317904a08e3bd12cf3cdcbe3e925" },
"blink.pairs": { "branch": "main", "commit": "d8bf802cca951f0a3b72ddeed21bc5a1d5353f65" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"cmp-under-comparator": { "branch": "master", "commit": "6857f10272c3cfe930cece2afa2406e1385bfef8" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"conform.nvim": { "branch": "master", "commit": "a6f5bdb78caa305496357d17e962bbc4c0b392e2" },
"conform.nvim": { "branch": "master", "commit": "fbcb4fa7f34bfea9be702ffff481a8e336ebf6ed" },
"cpsm": { "branch": "master", "commit": "1a5fc1b6169bb80c29b0b986130c4f3f1a9ed82e" },
"csvview.nvim": { "branch": "main", "commit": "ed446a55b4ff9297d9b94a955db3a2eca6cdb2b2" },
"csvview.nvim": { "branch": "main", "commit": "bbab4c2f808fd8e11ec8dfdd128251aadba566a1" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"fterm.nvim": { "branch": "master", "commit": "d1320892cc2ebab472935242d9d992a2c9570180" },
"fzy-lua-native": { "branch": "master", "commit": "9d720745d5c2fb563c0d86c17d77612a3519c506" },
"git-blame.nvim": { "branch": "master", "commit": "2883a7460f611c2705b23f12d58d398d5ce6ec00" },
"gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" },
"goto-preview": { "branch": "main", "commit": "4751e70a6ebce4fb78327b097cb8fdff55f38f3a" },
"hererocks": { "branch": "master", "commit": "c9c5444dea1e07e005484014a8231aa667be30b6" },
"image.nvim": { "branch": "master", "commit": "6ffafab2e98b5bda46bf227055aa84b90add8cdc" },
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
"git-blame.nvim": { "branch": "master", "commit": "9874ec1ec8bc53beb33b7cd82c092b85271a578b" },
"gitsigns.nvim": { "branch": "main", "commit": "1ee5c1fd068c81f9dd06483e639c2aa4587dc197" },
"goto-preview": { "branch": "main", "commit": "cf561d10b4b104db20375c48b86cf36af9f96e00" },
"image.nvim": { "branch": "master", "commit": "446a8a5cc7a3eae3185ee0c697732c32a5547a0b" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" },
"knap": { "branch": "main", "commit": "7db44d0bb760120142cc1e8f43e44976de59c2f6" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"leap.nvim": { "branch": "main", "commit": "346a16ef942635a8ca5ff92e603d07e7e8be6cbe" },
"lsp_signature.nvim": { "branch": "master", "commit": "02a2784275e05fba89395e1d5e147d7a2b4877d2" },
"lspkind-nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
"lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" },
"luasnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
"lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
"leap.nvim": { "branch": "main", "commit": "f5fe479e20d809df7b54ad53142c2bdb0624c62a" },
"logger.nvim": { "branch": "main", "commit": "63dd10c9b9a159fd6cfe08435d9606384ff103c5" },
"lsp_signature.nvim": { "branch": "master", "commit": "b58cca003d1d3311213d6db0352f58d8e57bfff0" },
"lspkind-nvim": { "branch": "master", "commit": "3ddd1b4edefa425fda5a9f95a4f25578727c0bb3" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"luasnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "6bdb14f230de0904229ec367b410fb817e59b072" },
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
"modes.nvim": { "branch": "main", "commit": "1e34663c32e8f5d915921a938e0dc4e3e788ceb8" },
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
"modes.nvim": { "branch": "main", "commit": "0932ba4e0bdc3457ac89a8aeed4d56ca0b36977a" },
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
"none-ls.nvim": { "branch": "main", "commit": "a66b5b9ad8d6a3f3dd8c0677a80eb27412fa5056" },
"nvim-autopairs": { "branch": "master", "commit": "68f0e5c3dab23261a945272032ee6700af86227a" },
"nvim-cmp": { "branch": "main", "commit": "c27370703e798666486e3064b64d59eaf4bdc6d5" },
"none-ls.nvim": { "branch": "main", "commit": "5cf63841461b49989972d35bf886e076a1ab3649" },
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
"nvim-colorizer.lua": { "branch": "master", "commit": "6ed09146ee637006367b5e225be6208a1ea02579" },
"nvim-docs-view": { "branch": "master", "commit": "1b97f8f954d74c46061bf289b6cea9232484c12c" },
"nvim-hlslens": { "branch": "main", "commit": "e22f8448b571b56d6140427e27e02406bcf4e059" },
"nvim-lspconfig": { "branch": "master", "commit": "a3f8422b752e03334dbaf4a46940d8aee0acdebf" },
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
"nvim-scrollbar": { "branch": "main", "commit": "6994eb9f73d5fdc36ee2c8717940e8c853e51a49" },
"nvim-surround": { "branch": "main", "commit": "ae298105122c87bbe0a36b1ad20b06d417c0433e" },
"nvim-tree.lua": { "branch": "master", "commit": "c09ff35de503a41fa62465c6b4ae72d96e7a7ce4" },
"nvim-treesitter": { "branch": "master", "commit": "99487eb34a397befce8182ff63347a21c5f4b881" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
"nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" },
"nvim-ufo": { "branch": "main", "commit": "a52c92c3bbaa10f0c9b547a50adaa8c7d8b29f94" },
"nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" },
"nvim-docs-view": { "branch": "master", "commit": "5676cc094d426edd39134b1eefca2cab441cca8a" },
"nvim-hlslens": { "branch": "main", "commit": "6d42444785ea0d41555d033485910c5e78916f3b" },
"nvim-lspconfig": { "branch": "master", "commit": "cc2f5f2fa28d240574808e78847978ed6ef20d2a" },
"nvim-navic": { "branch": "master", "commit": "f887d794a0f4594882814d7780980a949200a238" },
"nvim-scrollbar": { "branch": "main", "commit": "5b103ef0fd2e8b9b4be3878ed38d224522192c6c" },
"nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" },
"nvim-tree.lua": { "branch": "master", "commit": "e397756d2a79d74314ea4cd3efc41300e91c0ff0" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
"nvim-ufo": { "branch": "main", "commit": "72d54c31079d38d8dfc5456131b1d0fb5c0264b0" },
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
"nvim-yarp": { "branch": "master", "commit": "bb5f5e038bfe119d3b777845a76b0b919b35ebc8" },
"otter.nvim": { "branch": "main", "commit": "13bc3f39c7febefc097b9bdc35a126d12de09058" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"otter.nvim": { "branch": "main", "commit": "fc0aa35b1985077d11a20ddf4006bf40f2cd7397" },
"outline.nvim": { "branch": "main", "commit": "6b62f73a6bf317531d15a7ae1b724e85485d8148" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"popup-menu.nvim": { "branch": "master", "commit": "b618bd0c824a20417d845fa0022327228e6988a2" },
"projections.nvim": { "branch": "pre_release", "commit": "889914169fa1f5c00fb8659653b5a8330fb223e6" },
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
"quarto-nvim": { "branch": "main", "commit": "93b1f5a1abc1b1da653f353947f62b294574759c" },
"quarto-nvim": { "branch": "main", "commit": "0e9491509b38efbd83d3f41dbfacc7fc4bd40191" },
"renamer.nvim": { "branch": "master", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" },
"rustaceanvim": { "branch": "master", "commit": "12504405821c05874d2d1f6b5ec919f9808e2c99" },
"spelunker.vim": { "branch": "master", "commit": "a0bc530f62798bbe053905555a4aa9ed713485eb" },
"symbols-outline.nvim": { "branch": "master", "commit": "564ee65dfc9024bdde73a6621820866987cbb256" },
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
"tccs.nvim": { "branch": "master", "commit": "e50c1504286b5ee2700961a600f26c9b338bd042" },
"telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" },
"tidy.nvim": { "branch": "main", "commit": "c3b95bb695887d86ce8712f56e1972f94f29e500" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"undotree": { "branch": "master", "commit": "2556c6800b210b2096b55b66e74b4cc1d9ebbe4f" },
"tidy.nvim": { "branch": "main", "commit": "c8cd0e6e0108da25c3e10c3f33d8c03b3d8806f1" },
"todo-comments.nvim": { "branch": "main", "commit": "19d461ddd543e938eb22505fb03fa878800270b6" },
"trouble.nvim": { "branch": "main", "commit": "c098362fe603d3922095e7db595961e020bdf2d0" },
"undotree": { "branch": "master", "commit": "0f1c9816975b5d7f87d5003a19c53c6fd2ff6f7f" },
"vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" },
"vim-hug-neovim-rpc": { "branch": "master", "commit": "93ae38792bc197c3bdffa2716ae493c67a5e7957" },
"vim-illuminate": { "branch": "master", "commit": "19cb21f513fc2b02f0c66be70107741e837516a1" },
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
"vim-markdown": { "branch": "master", "commit": "8f6cb3a6ca4e3b6bcda0730145a0b700f3481b51" },
"vim-renamer": { "branch": "master", "commit": "9c6346eb4556cf2d8ca55de6969247ab14fe2383" },
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
"which-key.nvim": { "branch": "main", "commit": "b4177e3eaf15fe5eb8357ebac2286d488be1ed00" },
"wilder.nvim": { "branch": "master", "commit": "679f348dc90d80ff9ba0e7c470c40a4d038dcecf" },
"winshift.nvim": { "branch": "main", "commit": "37468ed6f385dfb50402368669766504c0e15583" }
}

View File

@@ -52,7 +52,7 @@ wk.add({
{mode = "n", "<leader>sa", ":%S//g<Left><Left>", desc = "Substitute: free form", noremap = true},
{mode = "n", "<leader>ss", ":%S/\\<<C-r><C-w>\\>//g<Left><Left>", desc = "Substitute: word under cursor", noremap = true},
-- simrat39/symbols-outline.nvim
{mode = "n", "<F3>", ":SymbolsOutline<CR>", desc = "CTags: toggle"},
{mode = "n", "<F3>", ":Outline<CR>", desc = "CTags: toggle"},
-- nvim-tree/nvim-tree.lua
{mode = "n", "<F2>", ":NvimTreeToggle toggle<CR>", desc = "File tree: toggle"},
-- mbbill/undotree
@@ -70,9 +70,9 @@ wk.add({
-- folke/trouble.nvim
{mode = "n", "<leader>x", ":TroubleToggle<CR>", desc = "LSP: toggle error list"},
-- hrsh7th/nvim-cmp
{mode = "n", "gd", vim.lsp.buf.definition(), desc = "LSP: goto definition", noremap = true},
{mode = "n", "gD", vim.lsp.buf.declaration(), desc = "LSP: goto declaration", noremap = true},
{mode = "n", "gi", vim.lsp.buf.implementation(), desc = "LSP: list implementation", noremap = true},
{mode = "n", "gd", function() vim.lsp.buf.definition() end, desc = "LSP: goto definition", noremap = true},
{mode = "n", "gD", function() vim.lsp.buf.declaration() end, desc = "LSP: goto declaration", noremap = true},
{mode = "n", "gi", function() vim.lsp.buf.implementation() end, desc = "LSP: list implementation", noremap = true},
{mode = "n", "gr", function() vim.lsp.buf.references() end, desc = "LSP: list references", noremap = true},
{mode = "n", "K", vim.lsp.buf.hover(), desc = "LSP: show documentation", noremap = true},
{mode = "n", "<F8>", function() require("conform").format({ async = true, lsp_fallback = true }) end, desc = "LSP: format", noremap = true},

View File

@@ -0,0 +1,34 @@
return {
"saghen/blink.pairs",
version = "*", -- (recommended) only required with prebuilt binaries
-- download prebuilt binaries from github releases
dependencies = "saghen/blink.download",
--- @module 'blink.pairs'
--- @type blink.pairs.Config
opts = {
mappings = {
enabled = true,
pairs = {
["("] = ")",
["["] = "]",
["{"] = "}",
["'"] = "'",
['"'] = '"',
["`"] = "`",
},
},
highlights = {
enabled = true,
groups = {
"BlinkPairsOrange",
"BlinkPairsPurple",
"BlinkPairsBlue",
},
priority = 200,
ns = vim.api.nvim_create_namespace("blink.pairs"),
},
debug = false,
},
}

View File

@@ -1,5 +1,6 @@
return {
"rmagatti/goto-preview",
dependencies = 'rmagatti/logger.nvim',
config = function()
require("goto-preview").setup({})
end,

View File

@@ -15,7 +15,7 @@ return {
},
{ "tiyn/tccs.nvim" },
{
"roobert/action-hints.nvim",
"tiyn/action-hints.nvim",
config = function()
require("action-hints").setup({
template = {

View File

@@ -45,7 +45,7 @@ return {
"yamlfmt",
}
}
}
},
},
opts = { ui = { icons = Install_signs } }
}

View File

@@ -1,7 +0,0 @@
return {
-- automatic closing of brackets
{
'windwp/nvim-autopairs',
opts = {}
}
}

View File

@@ -1,5 +1,5 @@
return {
"amrbashir/nvim-docs-view",
"tiyn/nvim-docs-view",
lazy = true,
cmd = "DocsViewToggle",
opts = {

View File

@@ -1,18 +1,23 @@
return {
-- lang server management
{
'neovim/nvim-lspconfig',
"neovim/nvim-lspconfig",
dependencies = {
'williamboman/mason-lspconfig.nvim',
"williamboman/mason-lspconfig.nvim",
{
'hrsh7th/cmp-nvim-lsp',
"mrcjkb/rustaceanvim",
version = "^6",
lazy = false,
},
{
"hrsh7th/cmp-nvim-lsp",
config = function()
Capabilities = require("cmp_nvim_lsp").default_capabilities()
Capabilities.textDocument.foldingRange = {
dynamicRegistration = false,
lineFoldingOnly = true
lineFoldingOnly = true,
}
end
end,
},
},
config = function()
@@ -36,14 +41,14 @@ return {
"texlab",
-- "tsserver",
"yamlls",
}
},
})
local servers = {
lua_ls = {
Lua = {
lua = {
diagnostics = {
globals = { 'vim' }
globals = { "vim" },
},
telemetry = { enable = false },
},
@@ -53,23 +58,27 @@ return {
-- language = "de-DE",
enabled = { "latex" },
dictionary = Dictionaries,
}
}
},
},
}
local default = {
__index = function()
return {}
end,
}
local default = { __index = function() return {} end }
setmetatable(servers, default)
require("mason-lspconfig").setup_handlers({
function(server_name)
require('lspconfig')[server_name].setup({
on_attach = Attach_func,
capabilities = Capabilities,
flags = {
debounce_text_changes = 150
},
settings = servers[server_name]
})
end
})
end
}
-- require("mason-lspconfig").setup_handlers({
-- function(server_name)
-- require('lspconfig')[server_name].setup({
-- on_attach = Attach_func,
-- capabilities = Capabilities,
-- flags = {
-- debounce_text_changes = 150
-- },
-- settings = servers[server_name]
-- })
-- end
-- })
end,
},
}

View File

@@ -7,7 +7,7 @@ return {
-- automatically close html-tags
'windwp/nvim-ts-autotag',
-- color brackets
'p00f/nvim-ts-rainbow',
-- 'p00f/nvim-ts-rainbow',
},
config = function()
require("nvim-treesitter.configs").setup({
@@ -19,17 +19,18 @@ return {
"markdown_inline",
"latex",
"python",
"rust",
"lua",
},
highlight = { enable = true },
-- highlight = { enable = true },
autotag = { enable = false },
rainbow = {
enable = false,
extended_mode = true,
max_file_lines = nil,
-- colors = {},
-- termcolors = {}
}
-- rainbow = {
-- enable = true,
-- extended_mode = true,
-- max_file_lines = nil,
-- -- colors = {},
-- -- termcolors = {}
-- }
})
end
}

View File

@@ -0,0 +1,13 @@
return {
{
"hedyhli/outline.nvim",
opts = {
outline_window = {
width = 25
},
symbols = {
icon_source = 'lspkind',
}
}
}
}

View File

@@ -1,39 +0,0 @@
return {
-- ctags like menu
{
"simrat39/symbols-outline.nvim",
opts = {
width = 25,
symbols = {
File = { icon = Lsp_signs.File, hl = "@text.uri" },
Module = { icon = Lsp_signs.Module, hl = "@namespace" },
Class = { icon = Lsp_signs.Class, hl = "@type" },
Method = { icon = Lsp_signs.Method, hl = "@method" },
Property = { icon = Lsp_signs.Property, hl = "@method" },
Field = { icon = Lsp_signs.Field, hl = "@field" },
Constructor = { icon = Lsp_signs.Constructor, hl = "@constructor" },
Enum = { icon = Lsp_signs.Enum, hl = "@type" },
Interface = { icon = Lsp_signs.Interface, hl = "@type" },
Function = { icon = Lsp_signs.Function, hl = "@function" },
Variable = { icon = Lsp_signs.Variable, hl = "@constant" },
Constant = { icon = Lsp_signs.Constant, hl = "@constant" },
Key = { icon = Lsp_signs.Keyword, hl = "@type" },
EnumMember = { icon = Lsp_signs.EnumMember, hl = "@field" },
Struct = { icon = Lsp_signs.Struct, hl = "@type" },
Event = { icon = Lsp_signs.Event, hl = "@type" },
Operator = { icon = Lsp_signs.Operator, hl = "@operator" },
TypeParameter = { icon = Lsp_signs.TypeParameter, hl = "@parameter" },
Boolean = { icon = Lsp_signs.Boolean, hl = "@boolean" },
Null = { icon = Lsp_signs.Null, hl = "@type" },
Component = { icon = Lsp_signs.Component, hl = "@function" },
Fragment = { icon = Lsp_signs.Fragment, hl = "@constant" },
Object = { icon = Lsp_signs.Object, hl = "@type" },
Array = { icon = Lsp_signs.Array, hl = "@constant" },
Number = { icon = Lsp_signs.Number, hl = "@number" },
String = { icon = Lsp_signs.String, hl = "@string" },
Namespace = { icon = Lsp_signs.Namespace, hl = "@namespace" },
Package = { icon = Lsp_signs.Package, hl = "@namespace" },
},
},
},
}

View File

@@ -21,6 +21,7 @@ Menu_signs = {
path = "",
}
Lsp_signs = {
Array = "",
Boolean = "",
@@ -106,22 +107,17 @@ Lualine_signs = {
unnamed = "",
}
vim.fn.sign_define(
"DiagnosticSignError",
{ texthl = "DiagnosticSignError", text = Error_sign, numhl = "DiagnosticSignError" }
)
vim.fn.sign_define(
"DiagnosticSignWarn",
{ texthl = "DiagnosticSignWarn", text = Warn_sign, numhl = "DiagnosticSignWarn" }
)
vim.fn.sign_define(
"DiagnosticSignInfo",
{ texthl = "DiagnosticSignInfo", text = Info_sign, numhl = "DiagnosticSignInfo" }
)
vim.fn.sign_define(
"DiagnosticSignHint",
{ texthl = "DiagnosticSignHint", text = Hint_sign, numhl = "DiagnosticSignHint" }
)
vim.diagnostic.config({
severity_sort = true,
signs = {
text = {
[vim.diagnostic.severity.ERROR] = Error_sign,
[vim.diagnostic.severity.WARN] = Warn_sign,
[vim.diagnostic.severity.INFO] = Info_sign,
[vim.diagnostic.severity.HINT] = Hint_sign,
},
},
})
-- enable colorcolumn when textwidth is set
vim.o.cursorline = true

View File

@@ -3,7 +3,7 @@ color_scheme_path=/usr/share/qt6ct/colors/darker.conf
custom_palette=true
icon_theme=breeze-dark
standard_dialogs=default
style=Breeze
style=Adwaita-Dark
[Fonts]
fixed="Linux Biolinum,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
@@ -25,7 +25,7 @@ underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x16\0\0\t\xff\0\0\x5\x9f\0\0\0\0\0\0\0\x16\0\0\t\xff\0\0\x5\x9f\0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\0\x16\0\0\t\xff\0\0\x5\x9f)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\x13\0\0\x5\xff\0\0\x3\xbf\0\0\0\0\0\0\0\x13\0\0\x5\xff\0\0\x3\xbf\0\0\0\0\0\0\0\0\x6\0\0\0\0\0\0\0\0\x13\0\0\x5\xff\0\0\x3\xbf)
[Troubleshooting]
force_raster_widgets=1

1
.config/swaylock/config Normal file
View File

@@ -0,0 +1 @@
image=~/.local/share/lock

86
.config/swhkd/swhkdrc Normal file
View File

@@ -0,0 +1,86 @@
super + b
$BROWSER
super + m
thunderbird
super + u
record_stop
super + i
record_start
super + o
record_replay_start
super + p
record_replay_save
super + a
lmc previous
super + s
lmc playpause
super + d
lmc next
super + c
lmc loop
super + x
lmc shuffle
super + bracketright
lmc mute_toggle
super + backslash
lmc deaf_toggle
super + apostrophe
lmc tap_toggle
super + bracketleft
dnd toggle
super + shift + b
killall -SIGUSR1 waybar
super + shift + r
pkill -HUP swhkd ; notify-send -u low 'SWHKD' 'Reloaded hotkeys'
super + shift + space
dunstctl close-all
super + F7
mount_menu
super + F8
umount_menu
super + F9
systemctl restart NetworkManager ; notify-send -u low 'Network' 'Restartet NM'
super + F10
prompt "Lock computer?" "swaylock -i ~/.local/share/lock"
super + shift + F10
prompt "Hibernate computer?" "systemctl hibernate"
super + F11
prompt "Shutdown computer?" "shutdown -h now"
super + F12
prompt "Reboot computer?" "reboot now"
Print
screenshot
XF86AudioMute
lmc deaf_toggle
XF86AudioLowerVolume
lmc down
XF86AudioRaiseVolume
lmc up

View File

@@ -0,0 +1,85 @@
{
"layer": "bottom", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"height": 5, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["dwl/tags", "dwl/window"],
"modules-right": ["cpu", "memory", "pulseaudio#output", "pulseaudio#input", "network", "battery", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"dwl/tags": {
"tag-labels": [ "", "", "", "", "", "", "", "", "", "" ],
"num-tags": 10
},
"dwl/window": {
"format": "{layout} {title}"
},
"tray": {
"icon-size": 20,
"spacing": 10
},
"clock": {
"format": " {:%d %b %H:%M}"
},
"battery": {
"states": {
"good": 75,
"warning": 25,
"critical": 15
},
"format": "{icon}",
"format-icons": {
"default": ["<span color=\"#f00\"></span>", "<span color=\"#ff0\"></span>", "", "", ""],
"charging": ["<span color=\"#f00\"></span>", "<span color=\"#ff0\"></span>", "", "", ""]
}
// "format-charging": "{capacity}%",
// "format-plugged": "{capacity}%",
// "format-alt": "{time} ",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{icon}",
"format-ethernet": "󰈀",
"format-disconnected": "<span color=\"#f00\"></span>",
"format-icons": [ "" ]
},
"pulseaudio#output": {
// "scroll-step": 1, // %, can be a float
"format-source": "",
"format-source-muted": "<span color=\"#f00\"></span>",
"format": "{format_source}"
},
"pulseaudio#input": {
// "scroll-step": 1, // %, can be a float
"format": "{icon}",
"format-muted": "<span color=\"#f00\"></span>",
"format-bluetooth": "{format_source}",
"format-icons": [ "<span color=\"#f00\"></span>", "", "", ""]
},
//disk-usage, gpu
"cpu": {
"format": "",
"tooltip": true
},
"memory": {
"format": ""
}
}

238
.config/waybar/style.css Normal file
View File

@@ -0,0 +1,238 @@
* {
border: none;
border-radius: 4px;
/* `ttf-font-awesome` is required to be installed for icons */
font-family: Mono, Helvetica, Arial, sans-serif;
/* adjust font-size value to your liking: */
font-size: 15px;
min-height: 0;
}
window#waybar {
background-color: rgba(0, 0, 0, 1);
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
color: #ffffff;
/* transition-property: background-color; */
/* transition-duration: .5s; */
/* border-radius: 0; */
}
/* window#waybar.hidden {
opacity: 0.2;
} */
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
/* window#waybar.termite {
background-color: #000000;
}
window#waybar.chromium {
background-color: #000000;
border: none;
} */
#tags button {
/* padding: 0 0.4em; */
/* background-color: transparent; */
color: #ffffff;
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#tags button:hover {
background: rgba(0, 0, 0, 0.9);
/* box-shadow: inset 0 -3px #ffffff; */
}
#tags button.occupied {
/* background-color: #282828; */
box-shadow: inset 0 -3px #ffffff;
}
#tags button.focused {
background-color: #555a63;
/* box-shadow: inset 0 -3px #ffffff; */
}
#tags button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
/* border-bottom: 3px solid #ffffff; */
}
#clock,
#battery,
#cpu,
#memory,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd {
padding: 0 10px;
margin: 6px 3px;
color: #000000;
}
#window,
#tags {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #tags {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #tags {
margin-right: 0;
}
#clock {
background-color: #000000;
color: white;
}
#battery {
background-color: #000000;
color: white;
}
#battery.charging {
color: #ffffff;
background-color: #000000;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#cpu {
background-color: #000000;
color: #ffffff;
}
#memory {
background-color: #000000;
color: white;
}
#backlight {
background-color: #000000;
color:white;
}
#network {
background-color: #000000;
color:white;
}
#network.disconnected {
background-color: #000000;
}
#pulseaudio {
background-color: #000000;
color: #ffffff;
}
#pulseaudio.muted {
background-color: #000000;
color: #ffffff;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #000000;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #bbccdd;
color: #333333;
padding: 0 5px;
margin: 6px 3px;
min-width: 16px;
}

11
.config/wayland/swayidle.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
exec swayidle -w \
timeout 600 "brightnessctl -s set 0%" resume "brightnessctl -r"\
timeout 1200 "notify-send -u critical 'Power' 'Laptop will suspend in 10 minutes!'"\
timeout 1200 "notify-send -u critical 'Power' 'Screen will turn off soon'"\
timeout 1260 "wlr-randr --output eDP-1 --off" resume "wlr-randr --output eDP-1 --on"\
timeout 1500 "notify-send -u critical 'Power' 'System will suspend in 5 minutes!'"\
timeout 1740 "notify-send -u critical 'Power' 'System will suspend in 1 minute!'"\
timeout 1790 "notify-send -u critical 'Power' 'System will suspend in 10 seconds!'"\
timeout 1795 "notify-send -u critical 'Power' 'System will suspend in 5 seconds!'"\
timeout 1800 "systemctl suspend-then-hibernate"

31
.config/wayland/wayland.conf Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/sh
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
nmcli radio wifi on &
~/.config/wayland/swayidle.sh &
$STATUSBAR & # use environment variable
xss-lock -- swaylock & # enable locking the screen upon sleep
swaybg -i ~/.local/share/bg &
dunst &
dunstctl rule dnd_low disable &
dunstctl rule dnd_normal disable &
swhks && swhkd &
pavucontrol &
easyeffects --gapplication-service &
nextcloud &
keepassxc &
zen-browser &
discord &
signal-desktop &
Telegram &
threema-beta &
thunderbird &
# mattermost-desktop &
# monitor toggle &
# touchpad off &
# xset r rate 300 50 & # Speed xrate up
# redshift & # redshift for saving your eyes

View File

@@ -0,0 +1,5 @@
[preferred]
default=gtk
org.freedesktop.impl.portal.Screenshot=wlr
org.freedesktop.impl.portal.ScreenCast=wlr
org.freedesktop.impl.portal.Secret=gnome-keyring

View File

@@ -185,7 +185,7 @@ fi
eval $(thefuck --alias)
# python
#eval "$(pyenv init -)"
eval "$(pyenv init -)"
##########################
# COMMANDS BEFORE PROMPT #

2
.dmrc Normal file
View File

@@ -0,0 +1,2 @@
[Desktop]
Session=xinitrc

View File

@@ -37,10 +37,14 @@ case "$file" in
*\.js) node "$file" ;;
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
*\.nim) nim c -r -d:noColors "$file" ;;
*\.py) python "$file" ;;
*\.py) python3 "$file" ;;
*\.go) go run "$file" ;;
*\.lua) lua "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;
*\.r|*\.R) Rscript "$file" ;;
*\.smt2) z3 "$file" ;;
*\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) \
&& (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) \
|| (rustc "$file" && "./$(basename "${file%.rs}")") ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
esac

View File

@@ -5,12 +5,19 @@ audio_2=${CAPTURE_OUTPUT_AUDIO:-easyeffects_source}
output=${CAPTURE_DIR:-$HOME/downloads}
device=${CAPTURE_DEVICE:-cpu}
window=$(xdotool getwindowfocus)
fps=60
format="mp4"
v_codec="h264"
v_codec="hevc"
# v_codec="h264"
a_codec="opus"
lenght=20
if [ $DISPLAY_SERVER = "wayland" ]; then
window="screen"
elif [ $DISPLAY_SERVER = "xorg" ]; then
window=$(xdotool getwindowfocus)
fi
gpu-screen-recorder -encoder $device -w $window -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output &
notify-send -u low 'Screen record' 'Replay started'

View File

@@ -5,12 +5,18 @@ audio_2=${CAPTURE_OUTPUT_AUDIO:-easyeffects_source}
output=${CAPTURE_DIR:-$HOME/downloads}
device=${CAPTURE_DEVICE:-cpu}
window=$(xdotool getwindowfocus)
fps=30
fps=60
format="mp4"
v_codec="h264"
v_codec="hevc"
# v_codec="h264"
a_codec="aac"
output="$output/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
gpu-screen-recorder -encoder $device -w $window -c $format -k $v_codec -ac $a_codec -f $fps -o $output &
if [ $DISPLAY_SERVER = "wayland" ]; then
window="screen"
elif [ $DISPLAY_SERVER = "xorg" ]; then
window=$(xdotool getwindowfocus)
fi
gpu-screen-recorder -encoder $device -w $window -c $format -k $v_codec -ac $a_codec -f $fps -o $output -a $audio_1 -a $audio_2 &
notify-send -u low 'Screen record' 'Recording started'

View File

@@ -9,12 +9,21 @@ output="$output/screenshot-$(date '+%Y-%m-%d_%H-%M-%S').png"
xclip_img="xclip -sel clip -t image/png"
xclip_txt="xclip -sel clip -t text/plain"
case "$(printf "a selected area\\na selected area (copy)\\ncurrent window\\ncurrent window (copy)\\nfull screen\\nfull screen (copy)\\ncolor picker (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in
"a selected area") maim -s --hidecursor $output ;;
"a selected area (copy)") maim -s --hidecursor | ${xclip_img} ;;
"current window") maim -i "$(xdotool getactivewindow)" $output ;;
"current window (copy)") maim -i "$(xdotool getactivewindow)" | ${xclip_img} ;;
"full screen") maim $output ;;
"full screen (copy)") maim | ${xclip_img} ;;
"color picker (copy)") xcolor |tr -d '\n' | ${xclip_txt} ;;
esac
if [ $DISPLAY_SERVER = "wayland" ]; then
case "$(printf "a selected area\\na selected area (copy)\\nfull screen\\nfull screen (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in
"a selected area") grim -g "$(slurp)" $output ;;
"a selected area (copy)") grim -g "$(slurp)" - | wl-copy ;;
"full screen") grim $output ;;
"full screen (copy)") grim - | wl-copy ;;
esac
elif [ $DISPLAY_SERVER = "xorg" ]; then
case "$(printf "a selected area\\na selected area (copy)\\ncurrent window\\ncurrent window (copy)\\nfull screen\\nfull screen (copy)\\ncolor picker (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in
"a selected area") maim -s --hidecursor $output ;;
"a selected area (copy)") maim -s --hidecursor | ${xclip_img} ;;
"current window") maim -i "$(xdotool getactivewindow)" $output ;;
"current window (copy)") maim -i "$(xdotool getactivewindow)" | ${xclip_img} ;;
"full screen") maim $output ;;
"full screen (copy)") maim | ${xclip_img} ;;
"color picker (copy)") xcolor |tr -d '\n' | ${xclip_txt} ;;
esac
fi

View File

@@ -3,9 +3,17 @@
# Adapted from a script by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
wall_desk=${WALLPAPER_DESKTOP:-$XDG_DATA_HOME/bg}
lightdm_desk=${WALLPAPER_LIGHTDM:-$XDG_DATA_HOME/lightdm}
wall_lock=${WALLPAPER_LOCK:-$XDG_DATA_HOME/lock}
case "$1" in
lightdm) trueloc="$(readlink -f "$2")" &&
case "$(file --mime-type -b "$trueloc")" in
image/* ) sudo cp "$(readlink -f "$2")" "$lightdm_desk" && notify-send -i "$lightdm_desk" "LightDM wallpaper has been changed." ;;
inode/directory ) sudo cp "$(find "$trueloc" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)" "$lightdm_desk" && notify-send -i "$lightdm_desk" "Random LightDM wallpaper chosen." ;;
*) notify-send "🖼️ Error" "Not a valid image or directory." ; exit 1;;
esac
xwallpaper --stretch "$wall_desk" ;;
desktop) trueloc="$(readlink -f "$2")" &&
case "$(file --mime-type -b "$trueloc")" in
image/* ) ln -f "$(readlink -f "$2")" "$wall_desk" && notify-send -i "$wall_desk" "Desktop wallpaper has been changed." ;;
@@ -19,20 +27,29 @@ case "$1" in
inode/directory ) ln -f "$(find "$trueloc" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)" "$wall_lock" && notify-send -i "$wall_lock" "Random lock screen wallpaper chosen." ;;
*) notify-send "🖼️ Error" "Not a valid image or directory." ; exit 1;;
esac ;;
both) wallpaper desktop "$2" &&
wallpaper lock "$2";;
all) wallpaper lightdm "$2" &&
wallpaper lock "$2" &&
wallpaper desktop "$2";;
*) cat << EOF
wallpaper: cli script to set and reset the wallpaper of the desktop and lock
screen.
Allowed options:
desktop [PATH] Set the wallpaper of the desktop to the specified path.
If no path is given reset it.
lock [PATH] Set the wallpaper of the lock screen to the specified path.
If no path is given reset it.
both [PATH] Set wallpaper for both lock screen and dektop to a
specified path.
lightdm [PATH] Set the wallpaper of the lightdm screen to the specified
path.
If no path is given reset it.
all [PATH] Set wallpaper for both lock screen, the dektop and the
lightdm screen to a specified path.
If no path is given reset it.
all else Print this message
EOF

1
.local/share/lightdm Symbolic link
View File

@@ -0,0 +1 @@
/etc/lightdm/background.jpg

View File

@@ -1,6 +1,9 @@
#!/bin/sh
# Profile file. Runs on login.
# sets default display server (can be overwritten in ~/.config/profile/local_profile)
export DISPLAY_SERVER="xorg"
# Adds `~/.local/bin` and all subdirectories to $PATH
export PATH="${PATH}:$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
@@ -13,7 +16,6 @@ export EDITOR="nvim"
export FILE="vifmrun"
export IMAGE="sxiv"
export READER="zathura"
export STATUSBAR="dwmblocks"
export TERMINAL="st"
export QT_QPA_PLATFORMTHEME="qt6ct"
@@ -83,5 +85,11 @@ echo "$0" | grep "zsh$" >/dev/null && [ -f ${ZDOTDIR}/.zshrc ] && source "${ZDOT
# load optional variables
[ -f ~/.config/profile/local_profile ] && source "${HOME}/.config/profile/local_profile"
# Start graphical server if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
# Start graphical server based on set display server
if [ $DISPLAY_SERVER = "wayland" ]; then
export STATUSBAR="waybar"
dwl -s ~/.config/wayland/wayland.conf
elif [ $DISPLAY_SERVER = "xorg" ]; then
export STATUSBAR="dwmblocks"
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
fi

0
.xinitrc Normal file → Executable file
View File

1
.xsession Symbolic link
View File

@@ -0,0 +1 @@
/home/user/.xinitrc