Minor edits.

This commit is contained in:
Derek Taylor
2019-10-16 18:46:40 -05:00
parent b1963fa820
commit fc97828310
16 changed files with 88 additions and 73 deletions
+2 -2
View File
@@ -269,7 +269,7 @@ globalkeys = my_table.join(
-- dmenu -- dmenu
awful.key({ altkey, "Control" }, "Return", awful.key({ altkey, "Control" }, "Return",
function () function ()
awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'UbuntuMono Nerd Font:bold:pixelsize=14'", awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'Mononoki Nerd Font:bold:pixelsize=14'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
end, end,
{description = "show dmenu", group = "hotkeys"}), {description = "show dmenu", group = "hotkeys"}),
@@ -578,7 +578,7 @@ globalkeys = my_table.join(
{description = "show the menubar", group = "super"}) {description = "show the menubar", group = "super"})
--]] --]]
awful.key({ altkey }, "x", awful.key({ altkey, "Shift" }, "x",
function () function ()
awful.prompt.run { awful.prompt.run {
prompt = "Run Lua code: ", prompt = "Run Lua code: ",
@@ -16,19 +16,19 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {} local theme = {}
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-blue" theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-blue"
theme.wallpaper = theme.dir .. "/starwars.jpg" theme.wallpaper = theme.dir .. "/starwars.jpg"
theme.font = "UbuntuMono Nerd Font 11" theme.font = "Mononoki Nerd Font 9"
theme.taglist_font = "Droid Sans 7" theme.taglist_font = "Droid Sans Bold 7"
theme.fg_normal = "#FEFEFE" theme.fg_normal = "#ffffff"
theme.fg_focus = "#A77AC4" theme.fg_focus = "#A77AC4"
theme.fg_urgent = "#b74822" theme.fg_urgent = "#b74822"
theme.bg_normal = "#292d3e" theme.bg_normal = "#282a36"
theme.bg_focus = "#892f4e" theme.bg_focus = "#FF79C6"
theme.bg_urgent = "#3F3F3F" theme.bg_urgent = "#3F3F3F"
theme.taglist_fg_focus = "#ffffff" theme.taglist_fg_focus = "#282a36"
theme.tasklist_bg_focus = "#000000" theme.tasklist_bg_focus = "#000000"
theme.tasklist_fg_focus = "#A77AC4" theme.tasklist_fg_focus = "#A77AC4"
theme.border_width = 2 theme.border_width = 2
theme.border_normal = "#292D3E" theme.border_normal = "#282a36"
theme.border_focus = "#F07178" theme.border_focus = "#F07178"
theme.border_marked = "#CC9393" theme.border_marked = "#CC9393"
theme.titlebar_bg_focus = "#3F3F3F" theme.titlebar_bg_focus = "#3F3F3F"
@@ -115,7 +115,7 @@ local clock = awful.widget.watch(
theme.cal = lain.widget.cal({ theme.cal = lain.widget.cal({
attach_to = { clock }, attach_to = { clock },
notification_preset = { notification_preset = {
font = "UbuntuMono Nerd Font 11", font = "Mononoki Nerd Font 11",
fg = theme.fg_normal, fg = theme.fg_normal,
bg = theme.bg_normal bg = theme.bg_normal
} }
@@ -239,7 +239,7 @@ Copy/paste the city code in the URL to this file in city_id
local weathericon = wibox.widget.imagebox(theme.widget_weather) local weathericon = wibox.widget.imagebox(theme.widget_weather)
theme.weather = lain.widget.weather({ theme.weather = lain.widget.weather({
city_id = 2803138, -- placeholder (Belgium) city_id = 2803138, -- placeholder (Belgium)
notification_preset = { font = "UbuntuMono Nerd Font 11", fg = theme.fg_normal }, notification_preset = { font = "Mononoki Nerd Font 11", fg = theme.fg_normal },
weather_na_markup = markup.fontfg(theme.font, "#ffffff", "N/A "), weather_na_markup = markup.fontfg(theme.font, "#ffffff", "N/A "),
settings = function() settings = function()
descr = weather_now["weather"][1]["description"]:lower() descr = weather_now["weather"][1]["description"]:lower()
+5 -1
View File
@@ -13,9 +13,13 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, persistent = True , persistent = True
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "." , iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10 , commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
, Run UnsafeStdinReader , Run UnsafeStdinReader
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> " , template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
} }
+5 -1
View File
@@ -13,9 +13,13 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, persistent = True , persistent = True
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "." , iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10 , commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
, Run UnsafeStdinReader , Run UnsafeStdinReader
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> " , template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
} }
+1 -1
View File
@@ -21,5 +21,5 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> " , template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
} }
+16 -16
View File
@@ -8,7 +8,7 @@
# Dmenu script for editing some of my more frequently edited config files. # Dmenu script for editing some of my more frequently edited config files.
declare -nc options=(" awesome declare options=(" awesome
bash bash
bspwm bspwm
dwm dwm
@@ -31,47 +31,47 @@ choice=$(echo -e "${options[@]}" | dmenu -i -p 'Edit a config file: ')
echo "Program terminated." echo "Program terminated."
fi fi
if [ "$choice" == ' awesome ' ]; then if [ "$choice" == ' awesome ' ]; then
exec emacsclient -nc '~/.config/awesome/rc.lua' exec emacsclient -c '~/.config/awesome/rc.lua'
fi fi
if [ "$choice" == ' bash ' ]; then if [ "$choice" == ' bash ' ]; then
exec emacsclient -nc '~/.bashrc' exec emacsclient -c '~/.bashrc'
fi fi
if [ "$choice" == ' bspwm ' ]; then if [ "$choice" == ' bspwm ' ]; then
exec emacsclient -nc '~/.config/bspwm/bspwmrc' exec emacsclient -c '~/.config/bspwm/bspwmrc'
fi fi
if [ "$choice" == ' dwm ' ]; then if [ "$choice" == ' dwm ' ]; then
exec emacsclient -nc '~/dwm/config.h' exec emacsclient -c '~/dwm/config.h'
fi fi
if [ "$choice" == ' emacs ' ]; then if [ "$choice" == ' emacs ' ]; then
exec emacsclient -nc '~/.emacs.d/init.el' exec emacsclient -c '~/.emacs.d/init.el'
fi fi
if [ "$choice" == ' herbstluftwm ' ]; then if [ "$choice" == ' herbstluftwm ' ]; then
exec emacsclient -nc '~/.config/herbstluftwm/autostart' exec emacsclient -c '~/.config/herbstluftwm/autostart'
fi fi
if [ "$choice" == ' i3 ' ]; then if [ "$choice" == ' i3 ' ]; then
exec emacsclient -nc '~/.i3/config' exec emacsclient -c '~/.i3/config'
fi fi
if [ "$choice" == ' polybar ' ]; then if [ "$choice" == ' polybar ' ]; then
exec emacsclient -nc '~/.config/polybar/config' exec emacsclient -c '~/.config/polybar/config'
fi fi
if [ "$choice" == ' qtile ' ]; then if [ "$choice" == ' qtile ' ]; then
exec emacsclient -nc '~/.config/qtile/config.py' exec emacsclient -c '~/.config/qtile/config.py'
fi fi
if [ "$choice" == ' st ' ]; then if [ "$choice" == ' st ' ]; then
exec emacsclient -nc '~/st/config.h' exec emacsclient -c '~/st/config.h'
fi fi
if [ "$choice" == ' sxhkd ' ]; then if [ "$choice" == ' sxhkd ' ]; then
exec emacsclient -nc '~/.config/sxhkd/sxhkdrc' exec emacsclient -c '~/.config/sxhkd/sxhkdrc'
fi fi
if [ "$choice" == ' vim ' ]; then if [ "$choice" == ' vim ' ]; then
exec emacsclient -nc '~/.vimrc' exec emacsclient -c '~/.vimrc'
fi fi
if [ "$choice" == ' xmobar ' ]; then if [ "$choice" == ' xmobar ' ]; then
exec emacsclient -nc '~/.config/xmobar/xmobarrc2' exec emacsclient -c '~/.config/xmobar/xmobarrc2'
fi fi
if [ "$choice" == ' xmonad ' ]; then if [ "$choice" == ' xmonad ' ]; then
exec emacsclient -nc '~/.xmonad/xmonad.hs' exec emacsclient -c '~/.xmonad/xmonad.hs'
fi fi
if [ "$choice" == ' zsh ' ]; then if [ "$choice" == ' zsh ' ]; then
exec emacsclient -nc '~/.zshrc' exec emacsclient -c '~/.zshrc'
fi fi
+12 -6
View File
@@ -24,7 +24,9 @@
(quote (quote
(("gnu" . "http://elpa.gnu.org/packages/") (("gnu" . "http://elpa.gnu.org/packages/")
("melpa-stable" . "http://stable.melpa.org/packages/")))) ("melpa-stable" . "http://stable.melpa.org/packages/"))))
'(package-selected-packages (quote (minimap lua-mode haskell-mode ##))) '(package-selected-packages
(quote
(rainbow-mode pdf-tools emojify minimap lua-mode haskell-mode ##)))
'(scroll-bar-mode nil) '(scroll-bar-mode nil)
'(tool-bar-mode nil) '(tool-bar-mode nil)
'(tooltip-mode nil)) '(tooltip-mode nil))
@@ -32,18 +34,22 @@
(add-to-list 'load-path "/home/dt/.emacs.d/elpa/which-key-3.3.0/which-key.el") (add-to-list 'load-path "/home/dt/.emacs.d/elpa/which-key-3.3.0/which-key.el")
(require 'which-key) (require 'which-key)
(which-key-mode) (which-key-mode)
(require 'rainbow-mode)
(use-package rainbow-mode
:ensure t
:config
(setq rainbow-x-colors nil)
(add-hook 'prog-mode-hook 'rainbow-mode))
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes") (add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'dracula t) (load-theme 'dracula t)
(add-hook 'after-init-hook #'global-emojify-mode)
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(default ((t (:family "mononoki Nerd Font Mono" :foundry "UKWN" :slant normal :weight normal :height 120 :width normal)))) '(default ((t (:family "mononoki Nerd Font Mono" :foundry "UKWN" :slant normal :weight normal :height 120 :width normal)))))
'(minimap-active-region-background ((t (:background "#303342"))))
'(powerline-grey22-white ((t (:background "gray22" :foreground "white" :box nil))) t)
'(powerline-grey40-white ((t (:background "dark magenta" :foreground "white" :box nil))) t))
;;; Keybindings ;;; Keybindings
(global-set-key (kbd "C->") 'indent-rigidly-right-to-tab-stop) ; Indent selection by one tab length (global-set-key (kbd "C->") 'indent-rigidly-right-to-tab-stop) ; Indent selection by one tab length
+13 -13
View File
@@ -111,7 +111,7 @@ main = do
---AUTOSTART ---AUTOSTART
------------------------------------------------------------------------ ------------------------------------------------------------------------
myStartupHook = do myStartupHook = do
spawnOnce "urxvtd &" --spawnOnce "emacs --daemon &"
spawnOnce "nitrogen --restore &" spawnOnce "nitrogen --restore &"
spawnOnce "compton --config /home/dt/.config/compton/compton.conf &" spawnOnce "compton --config /home/dt/.config/compton/compton.conf &"
setWMName "LG3D" setWMName "LG3D"
@@ -148,21 +148,21 @@ spawnSelected' lst = gridselect conf lst >>= flip whenJust spawn
---KEYBINDINGS ---KEYBINDINGS
------------------------------------------------------------------------ ------------------------------------------------------------------------
myKeys = myKeys =
-- Xmonad --- Xmonad
[ ("M-C-r", spawn "xmonad --recompile") -- Recompiles xmonad [ ("M-C-r", spawn "xmonad --recompile") -- Recompiles xmonad
, ("M-S-r", spawn "xmonad --restart") -- Restarts xmonad , ("M-S-r", spawn "xmonad --restart") -- Restarts xmonad
, ("M-S-q", io exitSuccess) -- Quits xmonad , ("M-S-q", io exitSuccess) -- Quits xmonad
-- Windows --- Windows
, ("M-S-c", kill1) -- Kill the currently focused client , ("M-S-c", kill1) -- Kill the currently focused client
, ("M-S-a", killAll) -- Kill all the windows on current workspace , ("M-S-a", killAll) -- Kill all the windows on current workspace
-- Floating windows --- Floating windows
, ("M-<Delete>", withFocused $ windows . W.sink) -- Push floating window back to tile. , ("M-<Delete>", withFocused $ windows . W.sink) -- Push floating window back to tile.
, ("M-S-<Delete>", sinkAll) -- Push ALL floating windows back to tile. , ("M-S-<Delete>", sinkAll) -- Push ALL floating windows back to tile.
-- Grid Select --- Grid Select
, (("M-S-t"), spawnSelected' , (("M-S-t"), spawnSelected'
[ ("Audacity", "audacity") [ ("Audacity", "audacity")
, ("Deadbeef", "deadbeef") , ("Deadbeef", "deadbeef")
@@ -185,7 +185,7 @@ myKeys =
, ("M-S-g", goToSelected $ mygridConfig myColorizer) , ("M-S-g", goToSelected $ mygridConfig myColorizer)
, ("M-S-b", bringSelected $ mygridConfig myColorizer) , ("M-S-b", bringSelected $ mygridConfig myColorizer)
-- Windows navigation --- Windows navigation
, ("M-m", windows W.focusMaster) -- Move focus to the master window , ("M-m", windows W.focusMaster) -- Move focus to the master window
, ("M-j", windows W.focusDown) -- Move focus to the next window , ("M-j", windows W.focusDown) -- Move focus to the next window
, ("M-k", windows W.focusUp) -- Move focus to the prev window , ("M-k", windows W.focusUp) -- Move focus to the prev window
@@ -213,7 +213,7 @@ myKeys =
, ("M-C-<Right>", sendMessage (DecreaseRight 10)) -- Decrease size of focused window right , ("M-C-<Right>", sendMessage (DecreaseRight 10)) -- Decrease size of focused window right
, ("M-C-<Left>", sendMessage (DecreaseLeft 10)) -- Decrease size of focused window left , ("M-C-<Left>", sendMessage (DecreaseLeft 10)) -- Decrease size of focused window left
-- Layouts --- Layouts
, ("M-<Space>", sendMessage NextLayout) -- Switch to next layout , ("M-<Space>", sendMessage NextLayout) -- Switch to next layout
, ("M-S-<Space>", sendMessage ToggleStruts) -- Toggles struts , ("M-S-<Space>", sendMessage ToggleStruts) -- Toggles struts
, ("M-S-n", sendMessage $ Toggle NOBORDERS) -- Toggles noborder , ("M-S-n", sendMessage $ Toggle NOBORDERS) -- Toggles noborder
@@ -234,27 +234,27 @@ myKeys =
, ("M-S-;", sendMessage zoomReset) , ("M-S-;", sendMessage zoomReset)
, ("M-;", sendMessage ZoomFullToggle) , ("M-;", sendMessage ZoomFullToggle)
-- Workspaces --- Workspaces
, ("M-<KP_Add>", moveTo Next nonNSP) -- Go to next workspace , ("M-<KP_Add>", moveTo Next nonNSP) -- Go to next workspace
, ("M-<KP_Subtract>", moveTo Prev nonNSP) -- Go to previous workspace , ("M-<KP_Subtract>", moveTo Prev nonNSP) -- Go to previous workspace
, ("M-S-<KP_Add>", shiftTo Next nonNSP >> moveTo Next nonNSP) -- Shifts focused window to next workspace , ("M-S-<KP_Add>", shiftTo Next nonNSP >> moveTo Next nonNSP) -- Shifts focused window to next workspace
, ("M-S-<KP_Subtract>", shiftTo Prev nonNSP >> moveTo Prev nonNSP) -- Shifts focused window to previous workspace , ("M-S-<KP_Subtract>", shiftTo Prev nonNSP >> moveTo Prev nonNSP) -- Shifts focused window to previous workspace
-- Scratchpads --- Scratchpads
, ("M-C-<Return>", namedScratchpadAction myScratchPads "terminal") , ("M-C-<Return>", namedScratchpadAction myScratchPads "terminal")
, ("M-C-c", namedScratchpadAction myScratchPads "cmus") , ("M-C-c", namedScratchpadAction myScratchPads "cmus")
-- Open Terminal --- Open Terminal
, ("M-<Return>", spawn myTerminal) , ("M-<Return>", spawn myTerminal)
-- Dmenu Scripts (Alt+Ctr+Key) --- Dmenu Scripts (Alt+Ctr+Key)
, ("M1-C-<Return>", spawn "dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'") , ("M1-C-<Return>", spawn "dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'")
, ("M1-C-e", spawn "./.dmenu/dmenu-edit-configs.sh") , ("M1-C-e", spawn "./.dmenu/dmenu-edit-configs.sh")
, ("M1-C-m", spawn "./.dmenu/dmenu-sysmon.sh") , ("M1-C-m", spawn "./.dmenu/dmenu-sysmon.sh")
, ("M1-C-p", spawn "passmenu") , ("M1-C-p", spawn "passmenu")
, ("M1-C-s", spawn "./.dmenu/dmenu-surfraw.sh") , ("M1-C-s", spawn "./.dmenu/dmenu-surfraw.sh")
-- My Applications (Super+Alt+Key) --- My Applications (Super+Alt+Key)
, ("M-M1-a", spawn (myTerminal ++ " -e ncpamixer")) , ("M-M1-a", spawn (myTerminal ++ " -e ncpamixer"))
, ("M-M1-b", spawn ("surf www.youtube.com/c/DistroTube/")) , ("M-M1-b", spawn ("surf www.youtube.com/c/DistroTube/"))
, ("M-M1-c", spawn (myTerminal ++ " -e cmus")) , ("M-M1-c", spawn (myTerminal ++ " -e cmus"))
@@ -270,7 +270,7 @@ myKeys =
, ("M-M1-w", spawn (myTerminal ++ " -e wopr report.xml")) , ("M-M1-w", spawn (myTerminal ++ " -e wopr report.xml"))
, ("M-M1-y", spawn (myTerminal ++ " -e youtube-viewer")) , ("M-M1-y", spawn (myTerminal ++ " -e youtube-viewer"))
-- Multimedia Keys --- Multimedia Keys
, ("<XF86AudioPlay>", spawn "cmus toggle") , ("<XF86AudioPlay>", spawn "cmus toggle")
, ("<XF86AudioPrev>", spawn "cmus prev") , ("<XF86AudioPrev>", spawn "cmus prev")
, ("<XF86AudioNext>", spawn "cmus next") , ("<XF86AudioNext>", spawn "cmus next")
+2 -2
View File
@@ -9,8 +9,8 @@ static const char *fonts[] = {
static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = { static const char *colors[SchemeLast][2] = {
/* fg bg */ /* fg bg */
[SchemeNorm] = { "#bbc5ff", "#292d3e" }, [SchemeNorm] = { "#CAA7FA", "#282a36" },
[SchemeSel] = { "#292d3e", "#82aaff" }, [SchemeSel] = { "#282a36", "#ff79c6" },
[SchemeOut] = { "#000000", "#00ffff" }, [SchemeOut] = { "#000000", "#00ffff" },
}; };
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+23 -22
View File
@@ -88,40 +88,41 @@ unsigned int alpha = 0xf2;
/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = { static const char *colorname[] = {
/* 8 normal colors */ /* 8 normal colors */
"#292d3e", "#282a36",
"#f07178", "#ff5555",
"#c3e88d", "#50fa7b",
"#ffcb6b", "#f1fa8c",
"#82aaff", "#bd93f9",
"#c792ea", "#ff79c6",
"#89ddff", "#8be9fd",
"#d0d0d0", "#bbbbbb",
/* 8 bright colors */ /* 8 bright colors */
"#434758", "#44475a",
"#ff8b92", "#FF6E67",
"#ddffa7", "#5AF78E",
"#ffe585", "#F4F99D",
"#9cc4ff", "#CAA9FA",
"#e1acff", "#FF92D0",
"#a3f7ff", "#9AEDFE",
"#ffffff", "#E6E6E6",
[255] = 0, [255] = 0,
/* more colors can be added after 255 to use with DefaultXX */ /* more colors can be added after 255 to use with DefaultXX */
"#bbc5ff", "#282a36",
"#292d3e", "#f8f8f2",
"#d7d7d7",
}; };
/* /*
* Default colors (colorname index) * Default colors (colorname index)
* foreground, background, cursor, reverse cursor * foreground, background, cursor, reverse cursor
*/ */
unsigned int defaultfg = 256; unsigned int defaultbg = 256;
unsigned int defaultbg = 257; unsigned int defaultfg = 257;
static unsigned int defaultcs = 256; static unsigned int defaultcs = 258;
static unsigned int defaultrcs = 257; static unsigned int defaultrcs = 258;
/* /*
* Default shape of cursor * Default shape of cursor