diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 7d48ad1..e8c2f9d 100755 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -214,7 +214,9 @@ font: # If `true`, bold text is drawn using the bright color variants. draw_bold_text_with_bright_colors: true -# COLOR SCHEMES +####################################### +## START OF COLOR SCHEMES ## +####################################### schemes: ### Doom One ### doom-one: &doom-one @@ -332,6 +334,35 @@ schemes: cyan: '0x8ec07c' white: '0xebdbb2' +### Monokai ### + monokai-pro: &monokai-pro + # Default colors + primary: + background: '#2D2A2E' + foreground: '#FCFCFA' + + # Normal colors + normal: + black: '#403E41' + red: '#FF6188' + green: '#A9DC76' + yellow: '#FFD866' + blue: '#FC9867' + magenta: '#AB9DF2' + cyan: '#78DCE8' + white: '#FCFCFA' + + # Bright colors + bright: + black: '#727072' + red: '#FF6188' + green: '#A9DC76' + yellow: '#FFD866' + blue: '#FC9867' + magenta: '#AB9DF2' + cyan: '#78DCE8' + white: '#FCFCFA' + ### Nord ### nord: &nord # Default colors @@ -361,6 +392,40 @@ schemes: cyan: '0x8FBCBB' white: '0xECEFF4' + ### Oceanic Next ### + oceanic-next: &oceanic-next + # Default colors + primary: + background: '#1b2b34' + foreground: '#d8dee9' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '#1b2b34' + cursor: '#ffffff' + + # Normal colors + normal: + black: '#343d46' + red: '#EC5f67' + green: '#99C794' + yellow: '#FAC863' + blue: '#6699cc' + magenta: '#c594c5' + cyan: '#5fb3b3' + white: '#d8dee9' + + # Bright colors + bright: + black: '#343d46' + red: '#EC5f67' + green: '#99C794' + yellow: '#FAC863' + blue: '#6699cc' + magenta: '#c594c5' + cyan: '#5fb3b3' + white: '#d8dee9' + ### Solarized Light ### solarized-light: &solarized-light # Default colors @@ -470,12 +535,19 @@ schemes: # *doom-one # *dracula # *gruvbox-dark +# *monokai-pro # *nord +# *oceanic-next # *solarized-light # *solarized-dark # *tomorrow-night + colors: *doom-one +####################################### +## END OF COLOR SCHEMES ## +####################################### + # Visual Bell # # Any time the BEL code is received, Alacritty "rings" the visual bell. Once diff --git a/.config/doom/packages.el b/.config/doom/packages.el index 49d5a2f..1aaf69f 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -48,6 +48,13 @@ ;(unpin! pinned-package another-pinned-package) ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) + +(package! gitconfig-mode + :recipe (:host github :repo "magit/git-modes" + :files ("gitconfig-mode.el"))) +(package! gitignore-mode + :recipe (:host github :repo "magit/git-modes" + :files ("gitignore-mode.el"))) (package! flycheck-aspell) (package! async) (package! calfw) diff --git a/.config/xmobar/doom-one-xmobarrc b/.config/xmobar/doom-one-xmobarrc new file mode 100644 index 0000000..9918a7d --- /dev/null +++ b/.config/xmobar/doom-one-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Doom One +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#282c34" + , fgColor = "#ff6c6b" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + } diff --git a/.config/xmobar/dracula-xmobarrc b/.config/xmobar/dracula-xmobarrc new file mode 100644 index 0000000..07810eb --- /dev/null +++ b/.config/xmobar/dracula-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Dracula +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#282a36" + , fgColor = "#f8f8f2" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + } diff --git a/.config/xmobar/gruvbox-dark-xmobarrc b/.config/xmobar/gruvbox-dark-xmobarrc new file mode 100644 index 0000000..3145a10 --- /dev/null +++ b/.config/xmobar/gruvbox-dark-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Gruvbox Dark +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#282828" + , fgColor = "#ebdbb2" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + } diff --git a/.config/xmobar/monokai-pro-xmobarrc b/.config/xmobar/monokai-pro-xmobarrc new file mode 100644 index 0000000..b37866e --- /dev/null +++ b/.config/xmobar/monokai-pro-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Monokai Pro +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#2D2A2E" + , fgColor = "#FCFCFA" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + } diff --git a/.config/xmobar/nord-xmobarrc b/.config/xmobar/nord-xmobarrc new file mode 100644 index 0000000..4a698f8 --- /dev/null +++ b/.config/xmobar/nord-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Nord +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#2E3440" + , fgColor = "#D8DEE9" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + } diff --git a/.config/xmobar/oceanic-next-xmobarrc b/.config/xmobar/oceanic-next-xmobarrc new file mode 100644 index 0000000..1ce8491 --- /dev/null +++ b/.config/xmobar/oceanic-next-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Oceanic Next +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#1b2b34" + , fgColor = "#ffffff" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + } diff --git a/.config/xmobar/solarized-dark-xmobarrc b/.config/xmobar/solarized-dark-xmobarrc new file mode 100644 index 0000000..999b27b --- /dev/null +++ b/.config/xmobar/solarized-dark-xmobarrc @@ -0,0 +1,66 @@ +-- Xmobar (http://projects.haskell.org/xmobar/) +-- This is one of the xmobar configurations for DTOS. +-- This config is packaged in the DTOS repo as 'dtos-xmobar' +-- Color scheme: Solarized Dark +-- Dependencies: + -- otf-font-awesome + -- ttf-mononoki + -- ttf-ubuntu-font-family + -- htop + -- emacs + -- pacman (Arch Linux) + -- trayer + -- 'dtos-local-bin' (from dtos-core-repo) + +Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" + , additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true" + , "xft:Font Awesome 5 Free Solid:pixelsize=12" + , "xft:Font Awesome 5 Brands:pixelsize=12" + ] + , bgColor = "#002b36" + , fgColor = "#839496" + -- Position TopSize and BottomSize take 3 arguments: + -- an alignment parameter (L/R/C) for Left, Right or Center. + -- an integer for the percentage width, so 100 would be 100%. + -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels. + -- NOTE: The height should be the same as the trayer (system tray) height. + , position = TopSize L 100 24 + , lowerOnStart = True + , hideOnStart = False + , allDesktops = True + , persistent = True + , iconRoot = ".xmonad/xpm/" -- default: "." + , commands = [ + -- Echos a "penguin" icon in front of the kernel output. + Run Com "echo" ["\xf17c"] "penguin" 3600 + -- Get kernel version (script found in .local/bin) + , Run Com ".local/bin/kernel" [] "kernel" 36000 + -- Cpu usage in percent + , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + -- Ram used number and percent + , Run Memory ["-t", "\xf233 mem: M (%)"] 20 + -- Disk space free + , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 + -- Echos an "up arrow" icon in front of the uptime output. + , Run Com "echo" ["\xf0aa"] "uparrow" 3600 + -- Uptime + , Run Uptime ["-t", "uptime: d h"] 360 + -- Echos a "bell" icon in front of the pacman updates. + , Run Com "echo" ["\xf0f3"] "bell" 3600 + -- Check for pacman updates (script found in .local/bin) + , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000 + -- Echos a "battery" icon in front of the pacman updates. + , Run Com "echo" ["\xf242"] "baticon" 3600 + -- Battery + , Run BatteryP ["BAT0"] ["-t", " (%)"] 360 + -- Time and date + , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. + , Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 + -- Prints out the left side items such as workspaces, layout, etc. + , Run UnsafeStdinReader + ] + , sepChar = "%" + , alignSep = "}{" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + }