diff --git a/.Xresources b/.Xresources index 1e662eb..e703e86 100644 --- a/.Xresources +++ b/.Xresources @@ -70,44 +70,117 @@ URxvt*depth: 32 ! Palenight Xresources palette !! COLORS -! special -URxvt*foreground: #bbc5ff -URxvt*background: [95]#282a36 -URxvt*cursorColor: #bbc5ff +!!URxvt*foreground: #bbc5ff +!!URxvt*background: [95]#282a36 +!!URxvt*cursorColor: #bbc5ff +!! +!!XTerm*foreground: #bbc5ff +!!XTerm*background: #282a36 +!!XTerm*cursorColor: #bbc5ff +!! +!!! black +!!*.color0: #101010 !! originally #292d3e +!!*.color8: #434758 +!! +!!! red +!!*.color1: #f07178 +!!*.color9: #ff8b92 +!! +!!! green +!!*.color2: #c3e88d +!!*.color10: #ddffa7 +!! +!!! yellow +!!*.color3: #ffcb6b +!!*.color11: #ffe585 +!! +!!! blue +!!*.color4: #82aaff +!!*.color12: #9cc4ff +!! +!!! magenta +!!*.color5: #c792ea +!!*.color13: #e1acff +!! +!!! cyan +!!*.color6: #89ddff +!!*.color14: #a3f7ff +!! +!!! white +!!*.color7: #d0d0d0 +!!*.color15: #ffffff +!!! special +!!*.foreground: #bbc2cf +!!*.background: #282c34 +!!*.cursorColor: #bbc2cf +!! +!!! black +!!*.color0: #1c1f24 +!!*.color8: #5b6268 +!! +!!! red +!!*.color1: #ff6c6b +!!*.color9: #da8548 +!! +!!! green +!!*.color2: #98be65 +!!*.color10: #4db5bd +!! +!!! yellow +!!*.color3: #da8548 +!!*.color11: #ecbe7b +!! +!!! blue +!!*.color4: #51afef +!!*.color12: #2257a0 +!! +!!! magenta +!!*.color5: #c678dd +!!*.color13: #a9a1e1 +!! +!!! cyan +!!*.color6: #5699af +!!*.color14: #46d9ff +!! +!!! white +!!*.color7: #202328 +!!*.color15: #dfdfdf +!! -XTerm*foreground: #bbc5ff -XTerm*background: #282a36 -XTerm*cursorColor: #bbc5ff + +! special +*.foreground: #bbc2cf +*.background: #282c34 +*.cursorColor: #bbc2cf ! black -*.color0: #101010 !! originally #292d3e -*.color8: #434758 +*.color0: #1c1f24 +*.color8: #5b6268 ! red -*.color1: #f07178 -*.color9: #ff8b92 +*.color1: #ff6c6b +*.color9: #da8548 ! green -*.color2: #c3e88d -*.color10: #ddffa7 +*.color2: #98be65 +*.color10: #4db5bd ! yellow -*.color3: #ffcb6b -*.color11: #ffe585 +*.color3: #da8548 +*.color11: #ecbe7b ! blue -*.color4: #82aaff -*.color12: #9cc4ff +*.color4: #51afef +*.color12: #3071db ! magenta -*.color5: #c792ea -*.color13: #e1acff +*.color5: #c678dd +*.color13: #a9a1e1 ! cyan -*.color6: #89ddff -*.color14: #a3f7ff +*.color6: #5699af +*.color14: #46d9ff ! white -*.color7: #d0d0d0 -*.color15: #ffffff - +*.color7: #202328 +*.color15: #dfdfdf diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index de79cc1..e91f5ef 100755 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -117,7 +117,7 @@ font: # family: UbuntuMono Nerd Font # family: Monofur Nerd Font # family: TerminessTTF Nerd Font - family: Mononoki Nerd Font + family: SauceCodePro Nerd Font # The `style` can be specified to pick a specific face. style: Regular @@ -136,7 +136,7 @@ font: # family: UbuntuMono Nerd Font # family: Monofur Nerd Font # family: TerminessTTF Nerd Font - family: Mononoki Nerd Font + family: SauceCodePro Nerd Font # The `style` can be specified to pick a specific face. style: Bold @@ -155,7 +155,7 @@ font: # family: UbuntuMono Nerd Font # family: Monofuritalic Nerd Font Mono # family: TerminessTTF Nerd Font - family: Mononoki Nerd Font + family: SauceCodePro Nerd Font # The `style` can be specified to pick a specific face. style: Italic @@ -174,7 +174,7 @@ font: # family: UbuntuMono Nerd Font # family: Monofuritalic Nerd Font Mono # family: TerminessTTF Nerd Font - family: Mononoki Nerd Font + family: SauceCodePro Nerd Font # The `style` can be specified to pick a specific face. style: Bold Italic @@ -185,7 +185,7 @@ font: # Offset is the extra space around each character. `offset.y` can be thought of # as modifying the line spacing, and `offset.x` as modifying the letter spacing. offset: - x: 1 + x: 0 y: 1 # Glyph offset determines the locations of the glyphs within their cells with @@ -212,14 +212,14 @@ font: #use_thin_strokes: true # If `true`, bold text is drawn using the bright color variants. -#draw_bold_text_with_bright_colors: true +draw_bold_text_with_bright_colors: true # Colors (Tomorrow Night Bright) colors: # Default colors primary: - background: '0x292d3e' - foreground: '0xbbc5ff' + background: '0x282c34' + foreground: '0xbbc2cf' # Bright and dim foreground colors # @@ -243,30 +243,30 @@ colors: # background is unset, selection color will be the inverse of the cell colors. # If only text is unset the cell text color will remain the same. selection: - text: '0x292d3e' - background: '0xbbc5ff' + text: '0xbbc2cf' + background: '0x282c34' # Normal colors normal: - black: '0x292d3e' - red: '0xf07178' - green: '0xc3e88d' - yellow: '0xffcb6b' - blue: '0x82aaff' - magenta: '0xc792ea' - cyan: '0x89ddff' - white: '0xd0d0d0' + black: '0x1c1f24' + red: '0xff6c6b' + green: '0x98be65' + yellow: '0xda8548' + blue: '0x51afef' + magenta: '0xc678dd' + cyan: '0x5699af' + white: '0x202328' # Bright colors bright: - black: '0x434758' - red: '0xff8b92' - green: '0xddffa7' - yellow: '0xffe585' - blue: '0x9cc4ff' - magenta: '0xe1acff' - cyan: '0xa3f7ff' - white: '0xffffff' + black: '0x5b6268' + red: '0xda8548' + green: '0x4db5bd' + yellow: '0xecbe7b' + blue: '0x3071db' # This is 2257a0 in Doom Emacs but I lightened it. + magenta: '0xa9a1e1' + cyan: '0x46d9ff' + white: '0xdfdfdf' # Dim colors # diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index e6e51a5..6a21085 100755 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -42,7 +42,7 @@ 'Active' - where the active window is --> - Adapta-Nokto + dt-dark-theme CSIML " . #Xe113) - ("->" . #Xe114) - ("->>" . #Xe115) - ("-<" . #Xe116) - ("-<<" . #Xe117) - ("-~" . #Xe118) - ("#{" . #Xe119) - ("#[" . #Xe11a) - ("##" . #Xe11b) - ("###" . #Xe11c) - ("####" . #Xe11d) - ("#(" . #Xe11e) - ("#?" . #Xe11f) - ("#_" . #Xe120) - ("#_(" . #Xe121) - (".-" . #Xe122) - (".=" . #Xe123) - (".." . #Xe124) - ("..<" . #Xe125) - ("..." . #Xe126) - ("?=" . #Xe127) - ("??" . #Xe128) - (";;" . #Xe129) - ("/*" . #Xe12a) - ("/**" . #Xe12b) - ("/=" . #Xe12c) - ("/==" . #Xe12d) - ("/>" . #Xe12e) - ("//" . #Xe12f) - ("///" . #Xe130) - ("&&" . #Xe131) - ("||" . #Xe132) - ("||=" . #Xe133) - ("|=" . #Xe134) - ("|>" . #Xe135) - ("^=" . #Xe136) - ("$>" . #Xe137) - ("++" . #Xe138) - ("+++" . #Xe139) - ("+>" . #Xe13a) - ("=:=" . #Xe13b) - ("==" . #Xe13c) - ("===" . #Xe13d) - ("==>" . #Xe13e) - ("=>" . #Xe13f) - ("=>>" . #Xe140) - ("=<" . #Xe141) - ("=<<" . #Xe142) - ("=/=" . #Xe143) - (">-" . #Xe144) - (">=" . #Xe145) - (">=>" . #Xe146) - (">>" . #Xe147) - (">>-" . #Xe148) - (">>=" . #Xe149) - (">>>" . #Xe14a) - ("<*" . #Xe14b) - ("<*>" . #Xe14c) - ("<|" . #Xe14d) - ("<|>" . #Xe14e) - ("<$" . #Xe14f) - ("<$>" . #Xe150) - ("" . #Xe101) - ("<--->" . #Xe102) - ("<---->" . #Xe103) - ("<----->" . #Xe104) - ;; Double-ended equals arrows - ("<=>" . #Xe105) - ("<==>" . #Xe106) - ("<===>" . #Xe107) - ("<====>" . #Xe108) - ("<=====>" . #Xe109) - ;; Double-ended asterisk operators - ("<**>" . #Xe10a) - ("<***>" . #Xe10b) - ("<****>" . #Xe10c) - ("<*****>" . #Xe10d) - ;; HTML comments - ("" . #Xe152) - ("-->-" . #Xe153) - ("-->--" . #Xe154) - ("-->>" . #Xe155) - ("-->>-" . #Xe156) - ("-->>--" . #Xe157) - ("-->>>" . #Xe158) - ("-->>>-" . #Xe159) - ("-->>>--" . #Xe15a) - (">-" . #Xe15b) - (">--" . #Xe15c) - (">>-" . #Xe15d) - (">>--" . #Xe15e) - (">>>-" . #Xe15f) - (">>>--" . #Xe160) - ("=>" . #Xe161) - ("=>=" . #Xe162) - ("=>==" . #Xe163) - ("=>>" . #Xe164) - ("=>>=" . #Xe165) - ("=>>==" . #Xe166) - ("=>>>" . #Xe167) - ("=>>>=" . #Xe168) - ("=>>>==" . #Xe169) - ("==>" . #Xe16a) - ("==>=" . #Xe16b) - ("==>==" . #Xe16c) - ("==>>" . #Xe16d) - ("==>>=" . #Xe16e) - ("==>>==" . #Xe16f) - ("==>>>" . #Xe170) - ("==>>>=" . #Xe171) - ("==>>>==" . #Xe172) - (">=" . #Xe173) - (">==" . #Xe174) - (">>=" . #Xe175) - (">>==" . #Xe176) - (">>>=" . #Xe177) - (">>>==" . #Xe178) - ("<-" . #Xe179) - ("-<-" . #Xe17a) - ("--<-" . #Xe17b) - ("<<-" . #Xe17c) - ("-<<-" . #Xe17d) - ("--<<-" . #Xe17e) - ("<<<-" . #Xe17f) - ("-<<<-" . #Xe180) - ("--<<<-" . #Xe181) - ("<--" . #Xe182) - ("-<--" . #Xe183) - ("--<--" . #Xe184) - ("<<--" . #Xe185) - ("-<<--" . #Xe186) - ("--<<--" . #Xe187) - ("<<<--" . #Xe188) - ("-<<<--" . #Xe189) - ("--<<<--" . #Xe18a) - ("-<" . #Xe18b) - ("--<" . #Xe18c) - ("-<<" . #Xe18d) - ("--<<" . #Xe18e) - ("-<<<" . #Xe18f) - ("--<<<" . #Xe190) - ("<=" . #Xe191) - ("=<=" . #Xe192) - ("==<=" . #Xe193) - ("<<=" . #Xe194) - ("=<<=" . #Xe195) - ("==<<=" . #Xe196) - ("<<<=" . #Xe197) - ("=<<<=" . #Xe198) - ("==<<<=" . #Xe199) - ("<==" . #Xe19a) - ("=<==" . #Xe19b) - ("==<==" . #Xe19c) - ("<<==" . #Xe19d) - ("=<<==" . #Xe19e) - ("==<<==" . #Xe19f) - ("<<<==" . #Xe1a0) - ("=<<<==" . #Xe1a1) - ("==<<<==" . #Xe1a2) - ("=<" . #Xe1a3) - ("==<" . #Xe1a4) - ("=<<" . #Xe1a5) - ("==<<" . #Xe1a6) - ("=<<<" . #Xe1a7) - ("==<<<" . #Xe1a8) - ;; Monadic operators - (">=>" . #Xe1a9) - (">->" . #Xe1aa) - (">-->" . #Xe1ab) - (">==>" . #Xe1ac) - ("<=<" . #Xe1ad) - ("<-<" . #Xe1ae) - ("<--<" . #Xe1af) - ("<==<" . #Xe1b0) - ;; Composition operators - (">>" . #Xe1b1) - (">>>" . #Xe1b2) - ("<<" . #Xe1b3) - ("<<<" . #Xe1b4) - ;; Lens operators - (":+" . #Xe1b5) - (":-" . #Xe1b6) - (":=" . #Xe1b7) - ("+:" . #Xe1b8) - ("-:" . #Xe1b9) - ("=:" . #Xe1ba) - ("=^" . #Xe1bb) - ("=+" . #Xe1bc) - ("=-" . #Xe1bd) - ("=*" . #Xe1be) - ("=/" . #Xe1bf) - ("=%" . #Xe1c0) - ("^=" . #Xe1c1) - ("+=" . #Xe1c2) - ("-=" . #Xe1c3) - ("*=" . #Xe1c4) - ("/=" . #Xe1c5) - ("%=" . #Xe1c6) - ;; Logical - ("/\\" . #Xe1c7) - ("\\/" . #Xe1c8) - ;; Semigroup/monoid operators - ("<>" . #Xe1c9) - ("<+" . #Xe1ca) - ("<+>" . #Xe1cb) - ("+>" . #Xe1cc)) - "Defines the character mappings for ligatures for Iosevka.") - -(defun +pretty-code-setup-iosevka-ligatures-h () - (set-fontset-font t '(#Xe100 . #Xe1cc) +pretty-code-iosevka-font-name nil 'prepend) - (setq-default prettify-symbols-alist - (append prettify-symbols-alist - +pretty-code-iosevka-font-ligatures))) - -(add-hook 'doom-init-ui-hook #'+pretty-code-setup-iosevka-ligatures-h) diff --git a/.emacs.d/modules/ui/pretty-code/+pragmata-pro.el b/.emacs.d/modules/ui/pretty-code/+pragmata-pro.el deleted file mode 100644 index 45e7b20..0000000 --- a/.emacs.d/modules/ui/pretty-code/+pragmata-pro.el +++ /dev/null @@ -1,259 +0,0 @@ -;;; ui/pretty-code/+pragmata-pro.el -*- lexical-binding: t; -*- - -(defvar +pretty-code-pragmata-pro-font-name "PragmataPro" - "Name of the Pragmata Pro ligature font.") - -(defvar +pretty-code-pragmata-pro-font-ligatures - '(("[ERROR]" . #XE2C0) - ("[DEBUG]" . #XE2C1) - ("[INFO]" . #XE2C2) - ("[WARN]" . #XE2C3) - ("[WARNING]" . #XE2C4) - ("[ERR]" . #XE2C5) - ("[FATAL]" . #XE2C6) - ("[TRACE]" . #XE2C7) - ("[FIXME]" . #XE2C8) - ("[TODO]" . #XE2C9) - ("[BUG]" . #XE2CA) - ("[NOTE]" . #XE2CB) - ("[HACK]" . #XE2CC) - ("[MARK]" . #XE2CD) - ("# ERROR" . #XE2F0) - ("# DEBUG" . #XE2F1) - ("# INFO" . #XE2F2) - ("# WARN" . #XE2F3) - ("# WARNING" . #XE2F4) - ("# ERR" . #XE2F5) - ("# FATAL" . #XE2F6) - ("# TRACE" . #XE2F7) - ("# FIXME" . #XE2F8) - ("# TODO" . #XE2F9) - ("# BUG" . #XE2FA) - ("# NOTE" . #XE2FB) - ("# HACK" . #XE2FC) - ("# MARK" . #XE2FD) - ("// ERROR" . #XE2E0) - ("// DEBUG" . #XE2E1) - ("// INFO" . #XE2E2) - ("// WARN" . #XE2E3) - ("// WARNING". #XE2E4) - ("// ERR" . #XE2E5) - ("// FATAL" . #XE2E6) - ("// TRACE" . #XE2E7) - ("// FIXME" . #XE2E8) - ("// TODO" . #XE2E9) - ("// BUG" . #XE2EA) - ("// NOTE" . #XE2EB) - ("// HACK" . #XE2EC) - ("// MARK" . #XE2ED) - ("!!" . #XE900) - ("!=" . #XE901) - ("!==" . #XE902) - ("!!!" . #XE903) - ("!≡" . #XE904) - ("!≡≡" . #XE905) - ("!>" . #XE906) - ("!=<" . #XE907) - ("#(" . #XE920) - ("#_" . #XE921) - ("#{" . #XE922) - ("#?" . #XE923) - ("#>" . #XE924) - ("##" . #XE925) - ("#_(" . #XE926) - ("%=" . #XE930) - ("%>" . #XE931) - ("%>%" . #XE932) - ("%<%" . #XE933) - ("&%" . #XE940) - ("&&" . #XE941) - ("&*" . #XE942) - ("&+" . #XE943) - ("&-" . #XE944) - ("&/" . #XE945) - ("&=" . #XE946) - ("&&&" . #XE947) - ("&>" . #XE948) - ("$>" . #XE955) - ("***" . #XE960) - ("*=" . #XE961) - ("*/" . #XE962) - ("*>" . #XE963) - ("++" . #XE970) - ("+++" . #XE971) - ("+=" . #XE972) - ("+>" . #XE973) - ("++=" . #XE974) - ("--" . #XE980) - ("-<" . #XE981) - ("-<<" . #XE982) - ("-=" . #XE983) - ("->" . #XE984) - ("->>" . #XE985) - ("---" . #XE986) - ("-->" . #XE987) - ("-+-" . #XE988) - ("-\\/" . #XE989) - ("-|>" . #XE98A) - ("-<|" . #XE98B) - (".." . #XE990) - ("..." . #XE991) - ("..<" . #XE992) - (".>" . #XE993) - (".~" . #XE994) - (".=" . #XE995) - ("/*" . #XE9A0) - ("//" . #XE9A1) - ("/>" . #XE9A2) - ("/=" . #XE9A3) - ("/==" . #XE9A4) - ("///" . #XE9A5) - ("/**" . #XE9A6) - (":::" . #XE9AF) - ("::" . #XE9B0) - (":=" . #XE9B1) - (":≡" . #XE9B2) - (":>" . #XE9B3) - (":=>" . #XE9B4) - (":(" . #XE9B5) - (":-(" . #XE9B6) - (":)" . #XE9B7) - (":-)" . #XE9B8) - (":/" . #XE9B9) - (":\\" . #XE9BA) - (":3" . #XE9BB) - (":D" . #XE9BC) - (":P" . #XE9BD) - (":>:" . #XE9BE) - (":<:" . #XE9BF) - ("<$>" . #XE9C0) - ("<*" . #XE9C1) - ("<*>" . #XE9C2) - ("<+>" . #XE9C3) - ("<-" . #XE9C4) - ("<<" . #XE9C5) - ("<<<" . #XE9C6) - ("<<=" . #XE9C7) - ("<=" . #XE9C8) - ("<=>" . #XE9C9) - ("<>" . #XE9CA) - ("<|>" . #XE9CB) - ("<<-" . #XE9CC) - ("<|" . #XE9CD) - ("<=<" . #XE9CE) - ("<~" . #XE9CF) - ("<~~" . #XE9D0) - ("<<~" . #XE9D1) - ("<$" . #XE9D2) - ("<+" . #XE9D3) - ("" . #XE9D4) - ("<@>" . #XE9D5) - ("<#>" . #XE9D6) - ("<%>" . #XE9D7) - ("<^>" . #XE9D8) - ("<&>" . #XE9D9) - ("" . #XE9DA) - ("<.>" . #XE9DB) - ("" . #XE9DC) - ("<\\>" . #XE9DD) - ("<\">" . #XE9DE) - ("<:>" . #XE9DF) - ("<~>" . #XE9E0) - ("<**>" . #XE9E1) - ("<<^" . #XE9E2) - ("" . #XE9EF) - ("" . #XE9F8) - ("<<==" . #XE9F9) - ("<==" . #XE9FA) - ("=<<" . #XEA00) - ("==" . #XEA01) - ("===" . #XEA02) - ("==>" . #XEA03) - ("=>" . #XEA04) - ("=~" . #XEA05) - ("=>>" . #XEA06) - ("=/=" . #XEA07) - ("=~=" . #XEA08) - ("==>>" . #XEA09) - ("≡≡" . #XEA10) - ("≡≡≡" . #XEA11) - ("≡:≡" . #XEA12) - (">-" . #XEA20) - (">=" . #XEA21) - (">>" . #XEA22) - (">>-" . #XEA23) - (">>=" . #XEA24) - (">>>" . #XEA25) - (">=>" . #XEA26) - (">>^" . #XEA27) - (">>|" . #XEA28) - (">!=" . #XEA29) - (">->" . #XEA2A) - ("??" . #XEA40) - ("?~" . #XEA41) - ("?=" . #XEA42) - ("?>" . #XEA43) - ("???" . #XEA44) - ("?." . #XEA45) - ("^=" . #XEA48) - ("^." . #XEA49) - ("^?" . #XEA4A) - ("^.." . #XEA4B) - ("^<<" . #XEA4C) - ("^>>" . #XEA4D) - ("^>" . #XEA4E) - ("\\\\" . #XEA50) - ("\\>" . #XEA51) - ("\\/-" . #XEA52) - ("@>" . #XEA57) - ("|=" . #XEA60) - ("||" . #XEA61) - ("|>" . #XEA62) - ("|||" . #XEA63) - ("|+|" . #XEA64) - ("|->" . #XEA65) - ("|-->" . #XEA66) - ("|=>" . #XEA67) - ("|==>" . #XEA68) - ("|>-" . #XEA69) - ("|<<" . #XEA6A) - ("||>" . #XEA6B) - ("|>>" . #XEA6C) - ("|-" . #XEA6D) - ("||-" . #XEA6E) - ("~=" . #XEA70) - ("~>" . #XEA71) - ("~~>" . #XEA72) - ("~>>" . #XEA73) - ("[[" . #XEA80) - ("]]" . #XEA81) - ("\">" . #XEA90) - ("_|_" . #XEA97)) - "Defines the character mappings for ligatures for Pragmata Pro.") - -(defun +pretty-code-setup-pragmata-pro-ligatures-h () - (setq-default prettify-symbols-alist - (append prettify-symbols-alist - (mapcar #'+pretty-code--correct-symbol-bounds - +pretty-code-pragmata-pro-font-ligatures)))) - -(add-hook 'doom-init-ui-hook #'+pretty-code-setup-pragmata-pro-ligatures-h) diff --git a/.emacs.d/modules/ui/pretty-code/config.el b/.emacs.d/modules/ui/pretty-code/config.el deleted file mode 100644 index dd8886e..0000000 --- a/.emacs.d/modules/ui/pretty-code/config.el +++ /dev/null @@ -1,199 +0,0 @@ -;;; ui/pretty-code/config.el -*- lexical-binding: t; -*- - -(defvar +pretty-code-symbols - '(;; org - :name "»" - :src_block "»" - :src_block_end "«" - :quote "“" - :quote_end "”" - ;; Functional - :lambda "λ" - :def "ƒ" - :composition "∘" - :map "↦" - ;; Types - :null "∅" - :true "𝕋" - :false "𝔽" - :int "ℤ" - :float "ℝ" - :str "𝕊" - :bool "𝔹" - :list "𝕃" - ;; Flow - :not "¬" - :in "∈" - :not-in "∉" - :and "∧" - :or "∨" - :for "∀" - :some "∃" - :return "⟼" - :yield "⟻" - ;; Other - :union "⋃" - :intersect "∩" - :diff "∖" - :tuple "⨂" - :pipe "" ;; FIXME: find a non-private char - :dot "•") - "Options plist for `set-pretty-symbols!'. - -This should not contain any symbols from the Unicode Private Area! There is no -universal way of getting the correct symbol as that area varies from font to -font.") - -(defvar +pretty-code-enabled-modes t - "List of major modes in which `prettify-symbols-mode' should be enabled. -If t, enable it everywhere. If the first element is 'not, enable it in any mode -besides what is listed.") - -(defvar +pretty-code-symbols-alist '((t)) - "An alist containing a mapping of major modes to its value for -`prettify-symbols-alist'.") - -;;; Automatic font-specific ligatures -(defvar +prog-ligatures-alist - '((?! . "\\(?:!\\(?:==\\|[!=]\\)\\)") ; (regexp-opt '("!!" "!=" "!==")) - (?# . "\\(?:#\\(?:###?\\|_(\\|[#(:=?[_{]\\)\\)") ; (regexp-opt '("##" "###" "####" "#(" "#:" "#=" "#?" "#[" "#_" "#_(" "#{")) - (?$ . "\\(?:\\$>>?\\)") ; (regexp-opt '("$>" "$>>")) - (?% . "\\(?:%%%?\\)") ; (regexp-opt '("%%" "%%%")) - (?& . "\\(?:&&&?\\)") ; (regexp-opt '("&&" "&&&")) - (?* . "\\(?:\\*\\(?:\\*[*/]\\|[)*/>]\\)?\\)") ; (regexp-opt '("*" "**" "***" "**/" "*/" "*>" "*)")) - (?+ . "\\(?:\\+\\(?:\\+\\+\\|[+:>]\\)?\\)") ; (regexp-opt '("+" "++" "+++" "+>" "+:")) - (?- . "\\(?:-\\(?:-\\(?:->\\|[>-]\\)\\|<[<-]\\|>[>-]\\|[:<>|}~-]\\)\\)") ; (regexp-opt '("--" "---" "-->" "--->" "->-" "-<" "-<-" "-<<" "->" "->>" "-}" "-~" "-:" "-|")) - (?. . "\\(?:\\.\\(?:\\.[.<]\\|[.=>-]\\)\\)") ; (regexp-opt '(".-" ".." "..." "..<" ".=" ".>")) - (?/ . "\\(?:/\\(?:\\*\\*\\|//\\|==\\|[*/=>]\\)\\)") ; (regexp-opt '("/*" "/**" "//" "///" "/=" "/==" "/>")) - (?: . "\\(?::\\(?:::\\|[+:<=>]\\)?\\)") ; (regexp-opt '(":" "::" ":::" ":=" ":<" ":=" ":>" ":+")) - (?\; . ";;") ; (regexp-opt '(";;")) - (?0 . "0\\(?:\\(x[a-fA-F0-9]\\).?\\)") ; Tries to match the x in 0xDEADBEEF - ;; (?x . "x") ; Also tries to match the x in 0xDEADBEEF - ;; (regexp-opt '("" "<--->" "" "<<" "<<-" "<<<" "<<=" "<=" "<=<" "<==" "<=>" "<===>" "<>" "<|" "<|>" "<~" "<~~" "<." "<.>" "<..>")) - (?< . "\\(?:<\\(?:!--\\|\\$>\\|\\*\\(?:\\*?>\\)\\|\\+>\\|-\\(?:-\\(?:->\\|[>-]\\)\\|[>-]\\)\\|\\.\\(?:\\.?>\\)\\|/>\\|<[<=-]\\|=\\(?:==>\\|[<=>]\\)\\||>\\|~~\\|[$*+./<=>|~-]\\)\\)") - (?= . "\\(?:=\\(?:/=\\|:=\\|<<\\|=[=>]\\|>>\\|[=>]\\)\\)") ; (regexp-opt '("=/=" "=:=" "=<<" "==" "===" "==>" "=>" "=>>")) - (?> . "\\(?:>\\(?:->\\|=>\\|>[=>-]\\|[:=>-]\\)\\)") ; (regexp-opt '(">-" ">->" ">:" ">=" ">=>" ">>" ">>-" ">>=" ">>>")) - (?? . "\\(?:\\?[.:=?]\\)") ; (regexp-opt '("??" "?." "?:" "?=")) - (?\[ . "\\(?:\\[\\(?:|]\\|[]|]\\)\\)") ; (regexp-opt '("[]" "[|]" "[|")) - (?\\ . "\\(?:\\\\\\\\[\\n]?\\)") ; (regexp-opt '("\\\\" "\\\\\\" "\\\\n")) - (?^ . "\\(?:\\^==?\\)") ; (regexp-opt '("^=" "^==")) - (?w . "\\(?:wwww?\\)") ; (regexp-opt '("www" "wwww")) - (?{ . "\\(?:{\\(?:|\\(?:|}\\|[|}]\\)\\|[|-]\\)\\)") ; (regexp-opt '("{-" "{|" "{||" "{|}" "{||}")) - (?| . "\\(?:|\\(?:->\\|=>\\||=\\|[]=>|}-]\\)\\)") ; (regexp-opt '("|=" "|>" "||" "||=" "|->" "|=>" "|]" "|}" "|-")) - (?_ . "\\(?:_\\(?:|?_\\)\\)") ; (regexp-opt '("_|_" "__")) - (?\( . "\\(?:(\\*\\)") ; (regexp-opt '("(*")) - (?~ . "\\(?:~\\(?:~>\\|[=>@~-]\\)\\)")) ; (regexp-opt '("~-" "~=" "~>" "~@" "~~" "~~>")) - "An alist of all ligatures used by `+prog-ligatures-modes'. - -The car is the character ASCII number, cdr is a regex which will call -`font-shape-gstring' when matched. - -Because of the underlying code in :ui pretty-code module, the regex should match -a string starting with the character contained in car. - -This variable is used only if you built Emacs with Harfbuzz on a version >= 28") - -(defvar +prog-ligatures-modes '(not org-mode) - "List of major modes in which ligatures should be enabled. - -If t, enable it everywhere. Fundamental mode, and modes derived from special-mode, -comint-mode, eshell-mode and term-mode are *still* excluded. - -If the first element is 'not, enable it in any mode besides what is listed. - -If nil, fallback to the prettify-symbols based replacement (add +font features to pretty-code).") - -(defun +pretty-code--correct-symbol-bounds (ligature-alist) - "Prepend non-breaking spaces to a ligature. - -This way `compose-region' (called by `prettify-symbols-mode') will use the -correct width of the symbols instead of the width measured by `char-width'." - (let ((len (length (car ligature-alist))) - (acc (list (cdr ligature-alist)))) - (while (> len 1) - (setq acc (cons #X00a0 (cons '(Br . Bl) acc)) - len (1- len))) - (cons (car ligature-alist) acc))) - -(defun +pretty-code-init-pretty-symbols-h () - "Enable `prettify-symbols-mode'. - -If in fundamental-mode, or a mode derived from special, comint, eshell or term -modes, this function does nothing. - -Otherwise it builds `prettify-code-symbols-alist' according to -`+pretty-code-symbols-alist' for the current major-mode." - (unless (or (eq major-mode 'fundamental-mode) - (eq (get major-mode 'mode-class) 'special) - (derived-mode-p 'comint-mode 'eshell-mode 'term-mode)) - (when (or (eq +pretty-code-enabled-modes t) - (if (eq (car +pretty-code-enabled-modes) 'not) - (not (memq major-mode (cdr +pretty-code-enabled-modes))) - (memq major-mode +pretty-code-enabled-modes))) - (setq prettify-symbols-alist - (append (cdr (assq major-mode +pretty-code-symbols-alist)) - (default-value 'prettify-symbols-alist))) - (when prettify-symbols-mode - (prettify-symbols-mode -1)) - (prettify-symbols-mode +1)))) - -(defun +pretty-code-init-ligatures-h () - "Enable ligatures. - -If in fundamental-mode, or a mode derived from special, comint, eshell or term -modes, this function does nothing. - -Otherwise it sets the buffer-local composition table to a composition table enhanced with -`+prog-ligatures-alist' ligatures regexes." - (unless (or (eq major-mode 'fundamental-mode) - (eq (get major-mode 'mode-class) 'special) - (derived-mode-p 'comint-mode 'eshell-mode 'term-mode)) - (when (or (eq +prog-ligatures-modes t) - (if (eq (car +prog-ligatures-modes) 'not) - (not (memq major-mode (cdr +prog-ligatures-modes))) - (memq major-mode +prog-ligatures-modes))) - (setq-local composition-function-table composition-ligature-table)))) - - -;; -;;; Bootstrap - -(add-hook 'after-change-major-mode-hook #'+pretty-code-init-pretty-symbols-h) - -;;;###package prettify-symbols -;; When you get to the right edge, it goes back to how it normally prints -(setq prettify-symbols-unprettify-at-point 'right-edge) - -(cond - ;; The emacs-mac build of Emacs appear to have built-in support for ligatures, - ;; using the same composition-function-table method - ;; https://bitbucket.org/mituharu/emacs-mac/src/26c8fd9920db9d34ae8f78bceaec714230824dac/lisp/term/mac-win.el?at=master#lines-345:805 - ;; so use that instead if this module is enabled. - ((and IS-MAC (fboundp 'mac-auto-operator-composition-mode)) - (mac-auto-operator-composition-mode)) - - ;; Harfbuzz builds do not need font-specific ligature support - ;; if they are above emacs-27 - ((and EMACS28+ - (string-match-p "HARFBUZZ" system-configuration-features) - +prog-ligatures-modes - (require 'composite nil t)) - (defvar composition-ligature-table (make-char-table nil)) - - (dolist (char-regexp +prog-ligatures-alist) - (set-char-table-range composition-ligature-table (car char-regexp) - `([,(cdr char-regexp) 0 font-shape-gstring]))) - (unless doom-reloading-p - (set-char-table-parent composition-ligature-table composition-function-table)) - - (add-hook 'after-change-major-mode-hook #'+pretty-code-init-ligatures-h)) - - ;; Font-specific ligature support - ((featurep! +fira) - (load! "+fira")) - ((featurep! +iosevka) - (load! "+iosevka")) - ((featurep! +hasklig) - (load! "+hasklig")) - ((featurep! +pragmata-pro) - (load! "+pragmata-pro"))) diff --git a/.emacs.d/modules/ui/tabs/packages.el b/.emacs.d/modules/ui/tabs/packages.el index c1bbeb4..1f4d617 100644 --- a/.emacs.d/modules/ui/tabs/packages.el +++ b/.emacs.d/modules/ui/tabs/packages.el @@ -1,4 +1,4 @@ ;; -*- no-byte-compile: t; -*- ;;; ui/tabs/packages.el -(package! centaur-tabs :pin "9114ef423e820eee3f9c6cb29e112fc22aee84dd") +(package! centaur-tabs :pin "7e0332b138f836b9d0b6d2134310f53369598cfd") diff --git a/.emacs.d/modules/ui/treemacs/config.el b/.emacs.d/modules/ui/treemacs/config.el index d660c69..3a9c6b9 100644 --- a/.emacs.d/modules/ui/treemacs/config.el +++ b/.emacs.d/modules/ui/treemacs/config.el @@ -26,9 +26,16 @@ This must be set before `treemacs' has loaded.") treemacs-persist-file (concat doom-cache-dir "treemacs-persist") treemacs-last-error-persist-file (concat doom-cache-dir "treemacs-last-error-persist")) :config - ;; Allow ace-window to target treemacs windows + ;; Allow ace-window to target treemacs windows elsewhere (after! ace-window (delq! 'treemacs-mode aw-ignored-buffers)) + ;; ...but not from treemacs-visit-node-ace-* commands. + (defadvice! +treemacs--ace-window-ignore-treemacs-buffer-a (orig-fn &rest args) + :around '(treemacs-visit-node-ace + treemacs-visit-node-ace-horizontal-split + treemacs-visit-node-ace-vertical-split) + (let ((aw-ignored-buffers (cons 'treemacs-mode aw-ignored-buffers))) + (apply orig-fn args))) ;; Don't follow the cursor (treemacs-follow-mode -1) diff --git a/.emacs.d/modules/ui/treemacs/packages.el b/.emacs.d/modules/ui/treemacs/packages.el index 3bda680..c1f7afb 100644 --- a/.emacs.d/modules/ui/treemacs/packages.el +++ b/.emacs.d/modules/ui/treemacs/packages.el @@ -1,7 +1,7 @@ ;; -*- no-byte-compile: t; -*- ;;; ui/treemacs/packages.el -(package! treemacs :pin "644e9402f74dc6100a60fc2b54a2f94ba9bc52e0") +(package! treemacs :pin "027e03b6fac5c0a870440d27c35d53bbe0215d81") ;; These packages have no :pin because they're in the same repo (when (featurep! :editor evil +everywhere) (package! treemacs-evil)) diff --git a/.emacs.d/modules/ui/unicode/packages.el b/.emacs.d/modules/ui/unicode/packages.el index cafa4ae..827cffb 100644 --- a/.emacs.d/modules/ui/unicode/packages.el +++ b/.emacs.d/modules/ui/unicode/packages.el @@ -1,4 +1,4 @@ ;; -*- no-byte-compile: t; -*- ;;; ui/unicode/packages.el -(package! unicode-fonts :pin "7b88ae84e589f6c8b9386b2fb5a02ff4ccb91169") +(package! unicode-fonts :pin "e3942fe40b418bfb2dc4e73633e09195437fef01") diff --git a/.emacs.d/modules/ui/window-select/packages.el b/.emacs.d/modules/ui/window-select/packages.el index 144908c..42a5e24 100644 --- a/.emacs.d/modules/ui/window-select/packages.el +++ b/.emacs.d/modules/ui/window-select/packages.el @@ -3,7 +3,7 @@ (if (featurep! +switch-window) (package! switch-window :pin "8710f6304d843365fb59b6efe7e1f729d14e557c") - (package! ace-window :pin "7003c88cd9cad58dc35c7cd13ebc61c355fb5be7")) + (package! ace-window :pin "c7cb315c14e36fded5ac4096e158497ae974bec9")) (when (featurep! +numbers) (package! winum :pin "c5455e866e8a5f7eab6a7263e2057aff5f1118b9")) diff --git a/.emacs.d/modules/ui/workspaces/config.el b/.emacs.d/modules/ui/workspaces/config.el index 170963b..9847788 100644 --- a/.emacs.d/modules/ui/workspaces/config.el +++ b/.emacs.d/modules/ui/workspaces/config.el @@ -163,6 +163,7 @@ stored in `persp-save-dir'.") ("O" counsel-projectile-switch-project-action "jump to a project buffer or file") ("f" counsel-projectile-switch-project-action-find-file "jump to a project file") ("d" counsel-projectile-switch-project-action-find-dir "jump to a project directory") + ("D" counsel-projectile-switch-project-action-dired "open project in dired") ("b" counsel-projectile-switch-project-action-switch-to-buffer "jump to a project buffer") ("m" counsel-projectile-switch-project-action-find-file-manually "find file manually from project root") ("w" counsel-projectile-switch-project-action-save-all-buffers "save all project buffers") @@ -195,10 +196,15 @@ stored in `persp-save-dir'.") (defun +workspaces-delete-all-posframes-h (&rest _) (posframe-delete-all)))) - ;; Fix #1525: Ignore dead buffers in PERSP's buffer list - (defun +workspaces-dead-buffer-p (buf) - (not (buffer-live-p buf))) - (add-hook 'persp-filter-save-buffers-functions #'+workspaces-dead-buffer-p) + + (add-hook! 'persp-filter-save-buffers-functions + (defun +workspaces-dead-buffer-p (buf) + ;; Fix #1525: Ignore dead buffers in PERSP's buffer list + (not (buffer-live-p buf))) + (defun +workspaces-remote-buffer-p (buf) + ;; And don't save TRAMP buffers; they're super slow to restore + (let ((dir (buffer-local-value 'default-directory buf))) + (ignore-errors (file-remote-p dir))))) ;; Otherwise, buffers opened via bookmarks aren't treated as "real" and are ;; excluded from the buffer list. diff --git a/.i3/config b/.i3/config index 481d6f3..d8141f5 100644 --- a/.i3/config +++ b/.i3/config @@ -42,7 +42,7 @@ bindsym $mod+Return exec $myTerm bindsym $mod+Shift+c kill # start program launcher -bindsym $mod+KP_Insert exec --no-startup-id rofi -show run +bindsym $mod+Shift+Return exec --no-startup-id rofi -show run # launch categorized menu bindsym $mod+' exec --no-startup-id morc_menu diff --git a/.xmonad/README.org b/.xmonad/README.org index 8e557e2..c542b2c 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -146,7 +146,7 @@ myBorderWidth :: Dimension myBorderWidth = 2 -- Sets border width for windows myNormColor :: String -myNormColor = "#292d3e" -- Border color of normal windows +myNormColor = "#282c34" -- Border color of normal windows myFocusColor :: String myFocusColor = "#bbc5ff" -- Border color of focused windows @@ -168,7 +168,7 @@ myStartupHook = do spawnOnce "picom &" spawnOnce "nm-applet &" spawnOnce "volumeicon &" - spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x292d3e --height 22 &" + spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 &" spawnOnce "/usr/bin/emacs --daemon &" -- spawnOnce "kak -d -s mysession &" setWMName "LG3D" @@ -181,11 +181,11 @@ and lets the user select from it with the cursor/hjkl keys or the mouse. #+BEGIN_SRC haskell myColorizer :: Window -> Bool -> X (String, String) myColorizer = colorRangeFromClassName - (0x29,0x2d,0x3e) -- lowest inactive bg - (0x29,0x2d,0x3e) -- highest inactive bg + (0x28,0x2c,0x34) -- lowest inactive bg + (0x28,0x2c,0x34) -- highest inactive bg (0xc7,0x92,0xea) -- active bg (0xc0,0xa7,0x9a) -- inactive fg - (0x29,0x2d,0x3e) -- active fg + (0x28,0x2c,0x34) -- active fg -- gridSelect menu layout mygridConfig :: p -> GSConfig Window @@ -338,7 +338,7 @@ treeselectAction a = TS.treeselectAction a , Node (TS.TSNode "OMG Ubuntu" "Ubuntu news, apps and reviews" (spawn (myBrowser ++ "https://www.omgubuntu.co.uk"))) [] ] , Node (TS.TSNode "+ Window Managers" "window manager documentation" (return ())) - [ Node (TS.TSNode "Awesome" "awesomewm documentation" (return ())) + [ Node (TS.TSNode "+ Awesome" "awesomewm documentation" (return ())) [ Node (TS.TSNode "Awesome" "Homepage for awesome wm" (spawn (myBrowser ++ "https://awesomewm.org/"))) [] , Node (TS.TSNode "Awesome GitHub" "The GutHub page for awesome" (spawn (myBrowser ++ "https://github.com/awesomeWM/awesome"))) [] , Node (TS.TSNode "r/awesome" "Subreddit for awesome" (spawn (myBrowser ++ "https://www.reddit.com/r/awesomewm/"))) [] @@ -493,16 +493,16 @@ second-level nodes. SUPER+ALT+KEY are third-level nodes. #+BEGIN_SRC haskell tsDefaultConfig :: TS.TSConfig a tsDefaultConfig = TS.TSConfig { TS.ts_hidechildren = True - , TS.ts_background = 0xdd292d3e + , TS.ts_background = 0xdd282c34 , TS.ts_font = myFont - , TS.ts_node = (0xffd0d0d0, 0xff202331) - , TS.ts_nodealt = (0xffd0d0d0, 0xff292d3e) + , TS.ts_node = (0xffd0d0d0, 0xff1c1f24) + , TS.ts_nodealt = (0xffd0d0d0, 0xff282c34) , TS.ts_highlight = (0xffffffff, 0xff755999) , TS.ts_extra = 0xffd0d0d0 , TS.ts_node_width = 200 , TS.ts_node_height = 20 - , TS.ts_originX = 0 - , TS.ts_originY = 0 + , TS.ts_originX = 100 + , TS.ts_originY = 100 , TS.ts_indent = 80 , TS.ts_navigate = myTreeNavigation } @@ -531,8 +531,8 @@ myTreeNavigation = M.fromList dtXPConfig :: XPConfig dtXPConfig = def { font = myFont - , bgColor = "#292d3e" - , fgColor = "#d0d0d0" + , bgColor = "#282c34" + , fgColor = "#bbc2cf" , bgHLight = "#c792ea" , fgHLight = "#000000" , borderColor = "#535974" @@ -750,10 +750,10 @@ tabs = renamed [Replace "tabs"] $ tabbed shrinkText myTabConfig where myTabConfig = def { fontName = "xft:Mononoki Nerd Font:regular:pixelsize=11" - , activeColor = "#292d3e" + , activeColor = "#282c34" , inactiveColor = "#3e445e" - , activeBorderColor = "#292d3e" - , inactiveBorderColor = "#292d3e" + , activeBorderColor = "#282c34" + , inactiveBorderColor = "#282c34" , activeTextColor = "#ffffff" , inactiveTextColor = "#d0d0d0" } @@ -1034,8 +1034,8 @@ main = do , focusedBorderColor = myFocusColor , logHook = workspaceHistoryHook <+> myLogHook <+> dynamicLogWithPP xmobarPP { ppOutput = \x -> hPutStrLn xmproc0 x >> hPutStrLn xmproc1 x >> hPutStrLn xmproc2 x - , ppCurrent = xmobarColor "#c3e88d" "" . wrap "[" "]" -- Current workspace in xmobar - , ppVisible = xmobarColor "#c3e88d" "" -- Visible but not current workspace + , ppCurrent = xmobarColor "#98be65" "" . wrap "[" "]" -- Current workspace in xmobar + , ppVisible = xmobarColor "#98be65" "" -- Visible but not current workspace , ppHidden = xmobarColor "#82AAFF" "" . wrap "*" "" -- Hidden workspaces in xmobar , ppHiddenNoWindows = xmobarColor "#c792ea" "" -- Hidden workspaces (no windows) , ppTitle = xmobarColor "#b3afc2" "" . shorten 60 -- Title of active window in xmobar diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 7aa0c7a..66a3624 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -93,7 +93,7 @@ myBorderWidth :: Dimension myBorderWidth = 2 -- Sets border width for windows myNormColor :: String -myNormColor = "#292d3e" -- Border color of normal windows +myNormColor = "#282c34" -- Border color of normal windows myFocusColor :: String myFocusColor = "#bbc5ff" -- Border color of focused windows @@ -110,18 +110,18 @@ myStartupHook = do spawnOnce "picom &" spawnOnce "nm-applet &" spawnOnce "volumeicon &" - spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x292d3e --height 22 &" + spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 &" spawnOnce "/usr/bin/emacs --daemon &" -- spawnOnce "kak -d -s mysession &" setWMName "LG3D" myColorizer :: Window -> Bool -> X (String, String) myColorizer = colorRangeFromClassName - (0x29,0x2d,0x3e) -- lowest inactive bg - (0x29,0x2d,0x3e) -- highest inactive bg + (0x28,0x2c,0x34) -- lowest inactive bg + (0x28,0x2c,0x34) -- highest inactive bg (0xc7,0x92,0xea) -- active bg (0xc0,0xa7,0x9a) -- inactive fg - (0x29,0x2d,0x3e) -- active fg + (0x28,0x2c,0x34) -- active fg -- gridSelect menu layout mygridConfig :: p -> GSConfig Window @@ -265,7 +265,7 @@ treeselectAction a = TS.treeselectAction a , Node (TS.TSNode "OMG Ubuntu" "Ubuntu news, apps and reviews" (spawn (myBrowser ++ "https://www.omgubuntu.co.uk"))) [] ] , Node (TS.TSNode "+ Window Managers" "window manager documentation" (return ())) - [ Node (TS.TSNode "Awesome" "awesomewm documentation" (return ())) + [ Node (TS.TSNode "+ Awesome" "awesomewm documentation" (return ())) [ Node (TS.TSNode "Awesome" "Homepage for awesome wm" (spawn (myBrowser ++ "https://awesomewm.org/"))) [] , Node (TS.TSNode "Awesome GitHub" "The GutHub page for awesome" (spawn (myBrowser ++ "https://github.com/awesomeWM/awesome"))) [] , Node (TS.TSNode "r/awesome" "Subreddit for awesome" (spawn (myBrowser ++ "https://www.reddit.com/r/awesomewm/"))) [] @@ -411,16 +411,16 @@ treeselectAction a = TS.treeselectAction a tsDefaultConfig :: TS.TSConfig a tsDefaultConfig = TS.TSConfig { TS.ts_hidechildren = True - , TS.ts_background = 0xdd292d3e + , TS.ts_background = 0xdd282c34 , TS.ts_font = myFont - , TS.ts_node = (0xffd0d0d0, 0xff202331) - , TS.ts_nodealt = (0xffd0d0d0, 0xff292d3e) + , TS.ts_node = (0xffd0d0d0, 0xff1c1f24) + , TS.ts_nodealt = (0xffd0d0d0, 0xff282c34) , TS.ts_highlight = (0xffffffff, 0xff755999) , TS.ts_extra = 0xffd0d0d0 , TS.ts_node_width = 200 , TS.ts_node_height = 20 - , TS.ts_originX = 0 - , TS.ts_originY = 0 + , TS.ts_originX = 100 + , TS.ts_originY = 100 , TS.ts_indent = 80 , TS.ts_navigate = myTreeNavigation } @@ -444,8 +444,8 @@ myTreeNavigation = M.fromList dtXPConfig :: XPConfig dtXPConfig = def { font = myFont - , bgColor = "#292d3e" - , fgColor = "#d0d0d0" + , bgColor = "#282c34" + , fgColor = "#bbc2cf" , bgHLight = "#c792ea" , fgHLight = "#000000" , borderColor = "#535974" @@ -632,10 +632,10 @@ tabs = renamed [Replace "tabs"] $ tabbed shrinkText myTabConfig where myTabConfig = def { fontName = "xft:Mononoki Nerd Font:regular:pixelsize=11" - , activeColor = "#292d3e" + , activeColor = "#282c34" , inactiveColor = "#3e445e" - , activeBorderColor = "#292d3e" - , inactiveBorderColor = "#292d3e" + , activeBorderColor = "#282c34" + , inactiveBorderColor = "#282c34" , activeTextColor = "#ffffff" , inactiveTextColor = "#d0d0d0" } @@ -858,8 +858,8 @@ main = do , focusedBorderColor = myFocusColor , logHook = workspaceHistoryHook <+> myLogHook <+> dynamicLogWithPP xmobarPP { ppOutput = \x -> hPutStrLn xmproc0 x >> hPutStrLn xmproc1 x >> hPutStrLn xmproc2 x - , ppCurrent = xmobarColor "#c3e88d" "" . wrap "[" "]" -- Current workspace in xmobar - , ppVisible = xmobarColor "#c3e88d" "" -- Visible but not current workspace + , ppCurrent = xmobarColor "#98be65" "" . wrap "[" "]" -- Current workspace in xmobar + , ppVisible = xmobarColor "#98be65" "" -- Visible but not current workspace , ppHidden = xmobarColor "#82AAFF" "" . wrap "*" "" -- Hidden workspaces in xmobar , ppHiddenNoWindows = xmobarColor "#c792ea" "" -- Hidden workspaces (no windows) , ppTitle = xmobarColor "#b3afc2" "" . shorten 60 -- Title of active window in xmobar