Disable gtk

This commit is contained in:
elkowar 2022-04-20 10:54:40 +02:00
parent 227954f664
commit 6d1e0348b1
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
6 changed files with 16 additions and 6 deletions

View file

@ -5,6 +5,7 @@
window { window {
background: #282828; background: #282828;
color: #ebdbb2; color: #ebdbb2;
font-size: 14px;
& > * { & > * {
margin: 3px; margin: 3px;

View file

@ -39,7 +39,7 @@ in
elkowar.desktop = { elkowar.desktop = {
gtk.enable = true; gtk.enable = false;
}; };
elkowar.programs = { elkowar.programs = {
@ -106,7 +106,7 @@ in
"Xft.antialias" = "1"; "Xft.antialias" = "1";
"Xft.hinting" = "true"; "Xft.hinting" = "true";
"Xft.hintstyle" = "hintslight"; "Xft.hintstyle" = "hintslight";
"Xft.dpi" = "110"; "Xft.dpi" = "96";
"Xft.rgba" = "rgb"; "Xft.rgba" = "rgb";
"Xft.lcdfilter" = "lcddefault"; "Xft.lcdfilter" = "lcddefault";

View file

@ -10,7 +10,8 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
gtk = { gtk = {
enable = true; enable = true;
theme.name = "elkowars_phocus"; #theme.name = "elkowars_phocus";
theme.name = "gruvbox-phocus";
iconTheme.name = "oomox-materia-dark"; iconTheme.name = "oomox-materia-dark";
#iconTheme.name = "Numix"; #iconTheme.name = "Numix";
#font.name = "Terminus (TTF) 12"; #font.name = "Terminus (TTF) 12";

View file

@ -121,7 +121,10 @@
:ray-x/lsp_signature.nvim {:events [:BufEnter]} :ray-x/lsp_signature.nvim {:events [:BufEnter]}
:weilbith/nvim-code-action-menu {} :weilbith/nvim-code-action-menu {}
:folke/lsp-trouble.nvim {:opt false :config #(require "dots.plugins.trouble") ;:folke/trouble.nvim {:opt false}
:elkowar/trouble.nvim {:branch "fix_error_on_nil_window"
:opt false
:config #(require "dots.plugins.trouble")
:cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]} :cmd ["Trouble" "TroubleClose" "TroubleRefresh" "TroubleToggle"]}
:simrat39/symbols-outline.nvim {:opt false :config #(require "dots.plugins.symbols-outline")} :simrat39/symbols-outline.nvim {:opt false :config #(require "dots.plugins.symbols-outline")}

View file

@ -115,7 +115,10 @@
:autoSetHints false} :autoSetHints false}
:dap {:adapter (rust-tools-dap.get_codelldb_adapter codelldb-path liblldb-path)} :dap {:adapter (rust-tools-dap.get_codelldb_adapter codelldb-path liblldb-path)}
:server {:on_attach on_attach :server {:on_attach on_attach
:capabilities default-capabilities}})) :capabilities default-capabilities
:settings {:rust-analyzer {:cargo {:loadOutDirsFromCheck true}
:procMacro {:enable true}}}}}))
;:cmd ["/home/leon/coding/prs/rust-analyzer/target/release/rust-analyzer"]}})) ;:cmd ["/home/leon/coding/prs/rust-analyzer/target/release/rust-analyzer"]}}))
(let [sumneko_root_path (.. vim.env.HOME "/.local/share/lua-language-server") (let [sumneko_root_path (.. vim.env.HOME "/.local/share/lua-language-server")

View file

@ -264,6 +264,8 @@ myStartupHook = do
spawnOnce "mailnag" spawnOnce "mailnag"
spawn "flashfocus" spawn "flashfocus"
spawnOnce "dunst" spawnOnce "dunst"
-- This supposedly fixes slow startup of gtk applications???
spawn "dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY"
for_ ["led1", "led2"] $ \led -> safeSpawn "sudo" ["liquidctl", "set", led, "color", "fixed", "00ffff"] for_ ["led1", "led2"] $ \led -> safeSpawn "sudo" ["liquidctl", "set", led, "color", "fixed", "00ffff"]
setGtkFrameExtents setGtkFrameExtents