From 6f32114a78443ad249789769011090bba2dc1479 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Sat, 7 Oct 2023 13:32:45 +0200 Subject: [PATCH 1/5] Added failsafe for wmautostart.sh --- leftwm/.config/leftwm/autostart.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/leftwm/.config/leftwm/autostart.sh b/leftwm/.config/leftwm/autostart.sh index 637ccae..41376a7 100755 --- a/leftwm/.config/leftwm/autostart.sh +++ b/leftwm/.config/leftwm/autostart.sh @@ -1,3 +1,15 @@ +#!/usr/bin/bash + +WM_CHECK=$(wmctrl -m | grep Name | cut -d: -f2 | sed 's/ //g') + +if [ "$WM_CHECK" != "LeftWM" ]; then + echo "Not LEFTWM, ignoring..." + exit 0 +else + echo "OK" +fi + + # Keyboard layout setxkbmap se & From 361d0d8ba17e7ec3b847e2d945d6a78323e152b6 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Sat, 14 Oct 2023 13:24:54 +0200 Subject: [PATCH 2/5] Opacity fix --- alacritty/.config/alacritty/alacritty.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index 1902972..594b694 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -164,7 +164,7 @@ mods = "Shift" history = 5000 [window] -opacity = 0.99 +opacity = 1.0 title = "Terminal" [window.class] From f0a98bce9f0e813417dacb75eac8b934895fd970 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Sat, 4 Nov 2023 12:22:41 +0100 Subject: [PATCH 3/5] Fixed stuff --- nvim/.config/nvim/plugin/packer_compiled.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua index 4e0ea93..daee3c8 100644 --- a/nvim/.config/nvim/plugin/packer_compiled.lua +++ b/nvim/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/lib/lua/5.1/?.so" +local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -202,10 +202,6 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: nvim-autopairs -time([[Config for nvim-autopairs]], true) -try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") -time([[Config for nvim-autopairs]], false) -- Config for: gitsigns.nvim time([[Config for gitsigns.nvim]], true) try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") @@ -218,6 +214,10 @@ time([[Config for Comment.nvim]], false) time([[Config for todo-comments.nvim]], true) try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") time([[Config for todo-comments.nvim]], false) +-- Config for: nvim-autopairs +time([[Config for nvim-autopairs]], true) +try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") +time([[Config for nvim-autopairs]], false) _G._packer.inside_compile = false if _G._packer.needs_bufread == true then From 128a1fa3e974c71d15aff2a1ccabe4461f44f0c4 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Tue, 21 Nov 2023 23:45:34 +0100 Subject: [PATCH 4/5] Packer stuff --- nvim/.config/nvim/plugin/packer_compiled.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua index daee3c8..1e544c5 100644 --- a/nvim/.config/nvim/plugin/packer_compiled.lua +++ b/nvim/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1696795921/lib/lua/5.1/?.so" +local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -202,22 +202,22 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: gitsigns.nvim -time([[Config for gitsigns.nvim]], true) -try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") -time([[Config for gitsigns.nvim]], false) -- Config for: Comment.nvim time([[Config for Comment.nvim]], true) try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") time([[Config for Comment.nvim]], false) --- Config for: todo-comments.nvim -time([[Config for todo-comments.nvim]], true) -try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") -time([[Config for todo-comments.nvim]], false) -- Config for: nvim-autopairs time([[Config for nvim-autopairs]], true) try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") time([[Config for nvim-autopairs]], false) +-- Config for: todo-comments.nvim +time([[Config for todo-comments.nvim]], true) +try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") +time([[Config for todo-comments.nvim]], false) +-- Config for: gitsigns.nvim +time([[Config for gitsigns.nvim]], true) +try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") +time([[Config for gitsigns.nvim]], false) _G._packer.inside_compile = false if _G._packer.needs_bufread == true then From 532433417c2595954b0a1b6190540d5421725f11 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Wed, 29 Nov 2023 23:09:03 +0100 Subject: [PATCH 5/5] Emacs fix --- doomemacs/.doom.d/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doomemacs/.doom.d/config.el b/doomemacs/.doom.d/config.el index fbbe723..49804f9 100644 --- a/doomemacs/.doom.d/config.el +++ b/doomemacs/.doom.d/config.el @@ -22,7 +22,7 @@ ;; accept. For example: ;; -(setq doom-font (font-spec :family "Fira Code" :size 14)) +(setq doom-font (font-spec :family "Fira Code" :size 12)) ;; ;; If you or Emacs can't find your font, use 'M-x describe-font' to look them ;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to