diff --git a/.config/emacs/config.org b/.config/emacs/config.org index ffbe551..9913567 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -410,8 +410,7 @@ Emacs has built-in programming language modes for Lisp, Scheme, DSSSL, Ada, ASM, #+end_src * MODELINE -The modeline is the bottom status bar that appears in Emacs windows. For more information on what is available to configure in the Doom modeline, check out: -https://github.com/seagle0128/doom-modeline +The modeline is the bottom status bar that appears in Emacs windows. While you can create your own custom modeline, why go to the trouble when Doom Emacs already has a nice modeline package available. For more information on what is available to configure in the Doom modeline, check out: [[https://github.com/seagle0128/doom-modeline][Doom Modeline]] #+begin_src emacs-lisp (use-package doom-modeline @@ -426,7 +425,7 @@ https://github.com/seagle0128/doom-modeline #+end_src * NEOTREE -Neotree is a file tree viewer. When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable. NeoTree provides following themes: classic, ascii, arrow, icons, and nerd. Theme can be configed by setting "two" themes for neo-theme: one for the GUI and one for the terminal. I like to use 'SPC t' for 'toggle' keybindings, so I have used 'SPC t n' for toggle-neotree. +Neotree is a file tree viewer. When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable. NeoTree provides following themes: classic, ascii, arrow, icons, and nerd. Theme can be config'd by setting "two" themes for neo-theme: one for the GUI and one for the terminal. I like to use 'SPC t' for 'toggle' keybindings, so I have used 'SPC t n' for toggle-neotree. | COMMAND | DESCRIPTION | KEYBINDING | |----------------+---------------------------+------------| @@ -615,7 +614,7 @@ Vterm is a terminal emulator within Emacs. The 'shell-file-name' setting sets t #+end_src * THEME -The first line below designates the directory where will place all of our custom-made themes, which I have created only one (dtmacs) You can create your own Emacs themes with the help of the [[https://emacsfodder.github.io/emacs-theme-editor/][Emacs Theme Editor]]. I also am installing =doom-themes= because it contains a huge collection of themes. M-x load-theme will list all of the themes available. +The first line below designates the directory where will place all of our custom-made themes, which I have created only one (dtmacs). You can create your own Emacs themes with the help of the [[https://emacsfodder.github.io/emacs-theme-editor/][Emacs Theme Editor]]. I am also installing =doom-themes= because it contains a huge collection of themes. M-x load-theme will list all of the themes available. #+begin_src emacs-lisp (add-to-list 'custom-theme-load-path "~/.config/emacs/themes/") diff --git a/.config/qtile/config.py b/.config/qtile/config.py index b3f2f02..975baf9 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -447,19 +447,18 @@ def init_widgets_list(): ] return widgets_list -# I use 3 monitors which means that I need 3 bars, but some widgets (such as the systray) -# can only have one instance, otherwise it will crash. So I define the follow two lists. -# The first one creates a bar with every widget EXCEPT index 15 and 16 (systray and spacer). -# The second one creates a bar with all widgets. - +# Monitor 1 will display ALL widgets in widgets_list. It is important that this +# is the only monitor that displays all widgets because the systray widget will +# crash if you try to run multiple instances of it. def init_widgets_screen1(): widgets_screen1 = init_widgets_list() - del widgets_screen1[22:23] # Removes widgets 15 and 16 for bars on Monitors 1 + 3 - return widgets_screen1 + return widgets_screen1 +# All other monitors' bars will display everything but widgets 22 (systray) and 23 (spacer). def init_widgets_screen2(): widgets_screen2 = init_widgets_list() - return widgets_screen2 # Monitor 2 will display ALL widgets in widgets_list + del widgets_screen2[22:23] + return widgets_screen2 # For adding transparency to your bar, add (background="#00000000") to the "Screen" line(s) # For ex: Screen(top=bar.Bar(widgets=init_widgets_screen2(), background="#00000000", size=24)), @@ -467,7 +466,7 @@ def init_widgets_screen2(): def init_screens(): return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), size=26)), Screen(top=bar.Bar(widgets=init_widgets_screen2(), size=26)), - Screen(top=bar.Bar(widgets=init_widgets_screen1(), size=26))] + Screen(top=bar.Bar(widgets=init_widgets_screen2(), size=26))] if __name__ in ["config", "__main__"]: screens = init_screens()