From fccb3116e8768fea7f4430ede7440baa9c9ffe8c Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 21 Dec 2022 21:33:45 +0100 Subject: [PATCH] Minor tweaks --- doomemacs/.doom.d/custom.el | 12 ++++++++++++ doomemacs/.doom.d/init.el | 8 ++++---- picom/.config/picom/picom.conf | 6 +++--- xmonad/.xmonad/bin/autostart.sh | 6 +++++- xmonad/.xmonad/xmonad.hs | 7 ++++--- 5 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 doomemacs/.doom.d/custom.el diff --git a/doomemacs/.doom.d/custom.el b/doomemacs/.doom.d/custom.el new file mode 100644 index 0000000..1a17221 --- /dev/null +++ b/doomemacs/.doom.d/custom.el @@ -0,0 +1,12 @@ +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-selected-packages '(elcord))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) diff --git a/doomemacs/.doom.d/init.el b/doomemacs/.doom.d/init.el index fba8db1..8279616 100644 --- a/doomemacs/.doom.d/init.el +++ b/doomemacs/.doom.d/init.el @@ -24,8 +24,8 @@ company ; the ultimate code completion backend ;;helm ; the *other* search engine for love and life ;;ido ; the other *other* search engine... - ;;ivy ; a search engine for love and life - vertico ; the search engine of the future + ivy ; a search engine for love and life + ;; vertico ; the search engine of the future :ui ;;deft ; notational velocity for Emacs @@ -37,8 +37,8 @@ ;;hydra ;;indent-guides ; highlighted indent columns ligatures ; ligatures and symbols to make your code pretty again - minimap ; show a map of the code on the side - modeline ; snazzy, Atom-inspired modeline, plus API + ;; minimap ; show a map of the code on the side + ;; modeline ; snazzy, Atom-inspired modeline, plus API ;;nav-flash ; blink cursor line after big motions neotree ; a project drawer, like NERDTree for vim ophints ; highlight the region an operation acts on diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf index aac47d7..29d856a 100644 --- a/picom/.config/picom/picom.conf +++ b/picom/.config/picom/picom.conf @@ -77,9 +77,9 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # Parameters for background blurring, see the *BLUR* section for more information. -blur-method = "dual_kawase"; -blur-strength = 8; -blur-size = 2; +# blur-method = "dual_kawase"; +# blur-strength = 8; +# blur-size = 2; # diff --git a/xmonad/.xmonad/bin/autostart.sh b/xmonad/.xmonad/bin/autostart.sh index e97353f..9d70247 100755 --- a/xmonad/.xmonad/bin/autostart.sh +++ b/xmonad/.xmonad/bin/autostart.sh @@ -22,7 +22,11 @@ xset -dpms & #eww open bar # Polybar -$HOME/.config/polybar/launch & +# $HOME/.config/polybar/launch & + +# EWW widgets +eww daemon & +eww open-many bar-1 bar-2 & # the bar # Keyring eval $(gnome-keyring-daemon --start) diff --git a/xmonad/.xmonad/xmonad.hs b/xmonad/.xmonad/xmonad.hs index 17c3d53..9ea320c 100644 --- a/xmonad/.xmonad/xmonad.hs +++ b/xmonad/.xmonad/xmonad.hs @@ -15,7 +15,7 @@ import qualified Data.Map as M import XMonad.Hooks.EwmhDesktops (ewmh) import XMonad.Hooks.InsertPosition import XMonad.Layout.Fullscreen (fullscreenSupport) -import XMonad.Layout.IndependentScreens (withScreens) +-- import XMonad.Layout.IndependentScreens (withScreens) import XMonad.Layout.ToggleLayouts (ToggleLayout(Toggle)) import qualified XMonad.StackSet as W import XMonad.Util.Run (spawnPipe) @@ -56,7 +56,8 @@ myModMask = mod4Mask -- -- > workspaces = ["web", "irc", "code" ] ++ map show [4..9] -- -myWorkspaces = map show [1 .. 9] +-- myWorkspaces = map show [1 .. 9] +myWorkspaces = map show [1..9] -- Border colors for unfocused and focused windows, respectively. -- @@ -263,7 +264,7 @@ defaults = , clickJustFocuses = myClickJustFocuses , borderWidth = myBorderWidth , modMask = myModMask - , workspaces = withScreens 2 myWorkspaces + , workspaces = myWorkspaces , normalBorderColor = myNormalBorderColor , focusedBorderColor = myFocusedBorderColor -- key bindings