aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-02-19 22:50:56 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-02-19 22:50:56 +0530
commit6ceaafc53468ea5d57f74d1881278f84490758a9 (patch)
tree6c8d7e5411c2b1b65a2f6b64dd1980ef53ee4631
parent1520561b25125824dcbd4bc35f8968407ce57a75 (diff)
green theme
-rw-r--r--.config/XMonad/lib/Defaults.hs4
-rw-r--r--.config/XMonad/lib/Hooks.hs4
-rw-r--r--.config/XMonad/lib/Keybindings.hs2
-rw-r--r--.config/polybar/config.ini18
-rw-r--r--.doom.d/custom.el13
-rw-r--r--.doom.d/init.el14
6 files changed, 35 insertions, 20 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs
index 29fd87b..2ba8612 100644
--- a/.config/XMonad/lib/Defaults.hs
+++ b/.config/XMonad/lib/Defaults.hs
@@ -9,8 +9,10 @@ import XMonad.Util.Loggers
-- import XMonad.Hooks.StatusBar
-- import XMonad.Hooks.StatusBar.PP
+-- myBorder = "#120F23"
+-- myBorder' = "#C44CF2"
myBorder = "#120F23"
-myBorder' = "#C44CF2"
+myBorder' = "#1ca09d"
myBorderWidth :: Dimension
myBorderWidth = 2
diff --git a/.config/XMonad/lib/Hooks.hs b/.config/XMonad/lib/Hooks.hs
index d706278..bc5b209 100644
--- a/.config/XMonad/lib/Hooks.hs
+++ b/.config/XMonad/lib/Hooks.hs
@@ -33,7 +33,5 @@ myLayoutHook = avoidStruts $ maximize $ windowNavigation $ lessBorders Screen $
emptyBSP ||| tabbed shrinkText myTabTheme ||| Grid
myStartupHook = do
- setWMName "Anime Thighs"
- spawnOnce "secondmonitor.sh"
- -- setWMName "LG3D"
+ setWMName "LG3D"
setDefaultCursor xC_left_ptr
diff --git a/.config/XMonad/lib/Keybindings.hs b/.config/XMonad/lib/Keybindings.hs
index c0866fa..3c7044d 100644
--- a/.config/XMonad/lib/Keybindings.hs
+++ b/.config/XMonad/lib/Keybindings.hs
@@ -187,7 +187,7 @@ myKeybindingsP = [
-- system apps/scratchpads
, ("M-b t", spawn myTorrentClient)
, ("M-b i", spawn myBrowser)
- , ("M-s-i", spawn myBrowser)
+ , ("M-S-i", spawn myBrowser)
, ("M-b d", myScratchpad "arandr")
, ("M-b c", myScratchpad "calc")
, ("M-b b", myScratchpad "blueman")
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index b87a081..5edd9e9 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -24,13 +24,18 @@ foreground = #FFFFFF
;systray-bg = #232627
systray-bg = #e6100b13
-module-color-0 = #9b1bed
-module-color-1 = #ff0aa3
-module-bg = #e6100b13
-xwindow-fg = #9d00ff
+;module-color-0 = #9b1bed
+;module-color-1 = #ff0aa3
+module-color-0 = #1ca09d
+module-color-1 = #2be38f
+module-bg = #e6100b13
+
+;xwindow-fg = #9d00ff
+xwindow-fg = #1ca09d
-ws-active-fg = #ffffff
+;ws-active-fg = #ffffff
+ws-active-fg = #232627
ws-active-bg = ${colors.module-color-1}
ws-active-ul = #d33682
@@ -74,7 +79,8 @@ mem-bg = ${colors.module-bg}
vol-fg = ${colors.module-color-0}
vol-bg = ${colors.module-bg}
-vol-fg-alt = #c32aeb
+;vol-fg-alt = #c32aeb
+vol-fg-alt = ${colors.module-color-1}
batt-charging-bg = ${colors.module-bg}
batt-charging-fg = ${colors.module-color-0}
diff --git a/.doom.d/custom.el b/.doom.d/custom.el
index 6fd47a3..51279c5 100644
--- a/.doom.d/custom.el
+++ b/.doom.d/custom.el
@@ -12,15 +12,24 @@
;; If there is more than one, they won't work right.
)
+(add-hook 'go-mode-hook
+ (defun my-go-mode-hook ()
+ (add-hook 'before-save-hook 'gofmt-before-save)
+ (setq tab-width 2 indent-tabs-mode 0)))
+
+(add-hook 'dart-mode-hook
+ (defun my-go-mode-hook ()
+ (setq tab-width 2 indent-tabs-mode 0)))
+
(add-hook 'web-mode-hook
(defun my-web-mode-hook ()
- "Hooks for Web mode."
(setq web-mode-markup-indent-offset 2)))
(custom-set-faces!
;'(default :background "#100b13")
'(default :background "#0e0911")
- '(window-divider :foreground "#9b1bed")
+ ;'(window-divider :foreground "#9b1bed")
+ '(window-divider :foreground "#1ca09d")
'(hl-line :background "#21242b")
'(region :background "#71279f")
'(selection :background "#9b1bed")
diff --git a/.doom.d/init.el b/.doom.d/init.el
index b3af47b..46ec83b 100644
--- a/.doom.d/init.el
+++ b/.doom.d/init.el
@@ -63,7 +63,7 @@
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to
- ;;word-wrap ; soft wrapping with language-aware indent
+ word-wrap ; soft wrapping with language-aware indent
:emacs
dired ; making dired pretty [functional]
@@ -120,7 +120,7 @@
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans
data ; config/data formats
- ;;(dart +flutter) ; paint ui and not much else
+ (dart +flutter) ; paint ui and not much else
;;dhall
;;elixir ; erlang done right
;;elm ; care for a cup of TEA?
@@ -133,10 +133,10 @@
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
(go +lsp) ; the hipster dialect
- ;;(haskell +lsp) ; a language that's lazier than I am
+ (haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
- ;;json ; At least it ain't XML
+ json ; At least it ain't XML
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
@@ -153,11 +153,11 @@
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
- ;;python ; beautiful is better than ugly
- ;;qt ; the 'cutest' gui framework ever
+ python ; beautiful is better than ugly
+ qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
- ;;rest ; Emacs as a REST client
+ rest ; Emacs as a REST client
;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()