Updating xmobar

This commit is contained in:
Derek Taylor
2021-08-04 14:20:07 -05:00
parent 2036a250e6
commit 4621e0371a
7 changed files with 17 additions and 18 deletions

View File

@@ -237,7 +237,7 @@ Awesome has a menu system if you want to use it.
local myawesomemenu = {
{ "hotkeys", function() return false, hotkeys_popup.show_help end },
{ "manual", terminal .. " -e 'man awesome'" },
{ "edit config", terminal.." vim ~/.config/awesome/rc.lua" },
{ "edit config", "emacsclient -c -a emacs ~/.config/awesome/rc.lua" },
{ "arandr", "arandr" },
{ "restart", awesome.restart },
}

View File

@@ -72,7 +72,7 @@ local modkey1 = "Control"
local browser = "firefox"
local editor = os.getenv("EDITOR") or "vim"
local editorgui = "geany"
local filemanager = "thunar"
local filemanager = "pcmanfm"
local mailclient = "geary"
local mediaplayer = "vlc"
local scrlocker = "slimlock"
@@ -165,7 +165,7 @@ beautiful.init(string.format(gears.filesystem.get_configuration_dir() .. "/theme
local myawesomemenu = {
{ "hotkeys", function() return false, hotkeys_popup.show_help end },
{ "manual", terminal .. " -e 'man awesome'" },
{ "edit config", terminal.." vim ~/.config/awesome/rc.lua" },
{ "edit config", "emacsclient -c -a emacs ~/.config/awesome/rc.lua" },
{ "arandr", "arandr" },
{ "restart", awesome.restart },
}
@@ -239,8 +239,8 @@ globalkeys = my_table.join(
{description = "surf web browser" , group = "gui apps" }),
awful.key({ modkey, altkey }, "c", function () awful.util.spawn( terminal.." -e cmus" ) end,
{description = "cmus" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "e", function () awful.util.spawn( "emacsclient -a 'emacs' -c" ) end,
{description = "emacs client" , group = "gui apps" }),
awful.key({ modkey, altkey }, "e", function () awful.util.spawn( terminal.." -e neomutt" ) end,
{description = "neomutt email" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "f", function () awful.util.spawn( terminal.." -e sh ./.config/vifm/scripts/vifmrun" ) end,
{description = "vifm" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "i", function () awful.util.spawn( terminal.." -e irssi" ) end,
@@ -467,7 +467,7 @@ globalkeys = my_table.join(
{description = "dropdown application", group = "super"}),
-- Widgets popups
awful.key({ altkey, }, "c", function () lain.widget.cal().show(7) end,
awful.key({ altkey, }, "c", function () lain.widget.calendar.show(7) end,
{description = "show calendar", group = "widgets"}),
awful.key({ altkey, }, "h", function () if beautiful.fs then beautiful.fs.show(7) end end,
{description = "show filesystem", group = "widgets"}),
@@ -712,8 +712,6 @@ awful.rules.rules = {
{ rule = { class = "Xfce4-settings-manager" },
properties = { floating = false } },
{ rule = { instance = "qutebrowser" },
properties = { screen = 1, tag = " SYS " } },
-- Floating clients.

View File

@@ -1,14 +1,14 @@
[xin_1]
file=/home/dt/wallpapers/photo-1593439915635-8dc0df48453f.jpeg
file=/home/dt/wallpapers/0277.jpg
mode=0
bgcolor=#000000
[xin_0]
file=/home/dt/wallpapers/photo-1593439915635-8dc0df48453f.jpeg
file=/home/dt/wallpapers/0277.jpg
mode=0
bgcolor=#000000
[xin_2]
file=/home/dt/wallpapers/photo-1593439915635-8dc0df48453f.jpeg
file=/home/dt/wallpapers/0277.jpg
mode=0
bgcolor=#000000

View File

@@ -1,8 +1,8 @@
[geometry]
posx=1936
posy=40
sizex=1884
sizey=1020
posx=8
posy=28
sizex=944
sizey=1040
[nitrogen]
view=icon

View File

@@ -35,5 +35,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
]
, sepChar = "%"
, alignSep = "}{"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#666666>|</fc> <fc=#b3afc2><fn=3></fn> <action=`alacritty -e htop`>%uname%</action> </fc> <fc=#666666>|</fc> <fc=#ecbe7b> <action=`alacritty -e htop`>%cpu%</action> </fc> <fc=#666666>|</fc> <fc=#ff6c6b> <action=`alacritty -e htop`>%memory%</action> </fc> <fc=#666666>|</fc> <fc=#51afef> <action=`alacritty -e htop`>%disku%</action> </fc> <fc=#666666>|</fc> <fc=#98be65> <action=`alacritty -e sudo iftop`>%enp6s0%</action> </fc> <fc=#666666>|</fc> <fc=#c678dd><fn=2></fn> <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action> </fc> <fc=#666666>|</fc> <fc=#46d9ff> <action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action> </fc>"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 color=#51afef><fc=#51afef><fn=3></fn> <action=`alacritty -e htop`>%uname%</action> </fc></box> <box type=Bottom width=2 color=#ecbe7b><fc=#ecbe7b> <action=`alacritty -e htop`>%cpu%</action> </fc></box> <box type=Bottom width=2 color=#ff6c6b><fc=#ff6c6b> <action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 color=#a9a1e1><fc=#a9a1e1> <action=`alacritty -e htop`>%disku%</action> </fc></box> <box type=Bottom width=2 color=#98be65><fc=#98be65> <action=`alacritty -e sudo iftop`>%enp6s0%</action> </fc></box> <box type=Bottom width=2 color=#c678dd><fc=#c678dd><fn=2></fn> <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action> </fc></box> <box type=Bottom width=2 color=#46d9ff><fc=#46d9ff> <action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> "
}

View File

@@ -39,5 +39,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
]
, sepChar = "%"
, alignSep = "}{"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#666666>|</fc> <fc=#b3afc2><fn=3></fn> <action=`alacritty -e htop`>%uname%</action> </fc> <fc=#666666>|</fc> <fc=#ecbe7b> <action=`alacritty -e htop`>%cpu%</action> </fc> <fc=#666666>|</fc> <fc=#ff6c6b> <action=`alacritty -e htop`>%memory%</action> </fc> <fc=#666666>|</fc> <fc=#51afef> <action=`alacritty -e htop`>%disku%</action> </fc> <fc=#666666>|</fc> <fc=#98be65> <action=`alacritty -e sudo iftop`>%enp6s0%</action> </fc> <fc=#666666>|</fc> <fc=#c678dd><fn=2></fn> <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action> </fc> <fc=#666666>|</fc> <fc=#46d9ff> <action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action> </fc><fc=#666666><fn=1>|</fn></fc> %trayerpad%"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 color=#51afef><fc=#51afef><fn=3></fn> <action=`alacritty -e htop`>%uname%</action> </fc></box> <box type=Bottom width=2 color=#ecbe7b><fc=#ecbe7b> <action=`alacritty -e htop`>%cpu%</action> </fc></box> <box type=Bottom width=2 color=#ff6c6b><fc=#ff6c6b> <action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 color=#a9a1e1><fc=#a9a1e1> <action=`alacritty -e htop`>%disku%</action> </fc></box> <box type=Bottom width=2 color=#98be65><fc=#98be65> <action=`alacritty -e sudo iftop`>%enp6s0%</action> </fc></box> <box type=Bottom width=2 color=#c678dd><fc=#c678dd><fn=2></fn> <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action> </fc></box> <box type=Bottom width=2 color=#46d9ff><fc=#46d9ff> <action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
}

View File

@@ -6,6 +6,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
, additionalFonts = [ "xft:Mononoki Nerd Font:pixelsize=11:antialias=true:hinting=true"
, "xft:Font Awesome 5 Free Solid:pixelsize=12"
, "xft:Font Awesome 5 Brands:pixelsize=12"
, "xft:DejaVu Sans:pixelsize=28"
]
, bgColor = "#282c34"
, fgColor = "#ff6c6b"
@@ -35,5 +36,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t
]
, sepChar = "%"
, alignSep = "}{"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#666666>|</fc> <fc=#b3afc2><fn=3></fn> <action=`alacritty -e htop`>%uname%</action> </fc> <fc=#666666>|</fc> <fc=#ecbe7b> <action=`alacritty -e htop`>%cpu%</action> </fc> <fc=#666666>|</fc> <fc=#ff6c6b> <action=`alacritty -e htop`>%memory%</action> </fc> <fc=#666666>|</fc> <fc=#51afef> <action=`alacritty -e htop`>%disku%</action> </fc> <fc=#666666>|</fc> <fc=#98be65> <action=`alacritty -e sudo iftop`>%enp6s0%</action> </fc> <fc=#666666>|</fc> <fc=#c678dd><fn=2></fn> <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action> </fc> <fc=#666666>|</fc> <fc=#46d9ff> <action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action> </fc>"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 color=#51afef><fc=#51afef><fn=3></fn> <action=`alacritty -e htop`>%uname%</action> </fc></box> <box type=Bottom width=2 color=#ecbe7b><fc=#ecbe7b> <action=`alacritty -e htop`>%cpu%</action> </fc></box> <box type=Bottom width=2 color=#ff6c6b><fc=#ff6c6b> <action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 color=#a9a1e1><fc=#a9a1e1> <action=`alacritty -e htop`>%disku%</action> </fc></box> <box type=Bottom width=2 color=#98be65><fc=#98be65> <action=`alacritty -e sudo iftop`>%enp6s0%</action> </fc></box> <box type=Bottom width=2 color=#c678dd><fc=#c678dd><fn=2></fn> <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action> </fc></box> <box type=Bottom width=2 color=#46d9ff><fc=#46d9ff> <action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> "
}