From 4621e0371ac05df98125cb2ec28c5d2bd4396eda Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Wed, 4 Aug 2021 14:20:07 -0500 Subject: [PATCH] Updating xmobar --- .config/awesome/README.org | 2 +- .config/awesome/rc.lua | 12 +++++------- .config/nitrogen/bg-saved.cfg | 6 +++--- .config/nitrogen/nitrogen.cfg | 8 ++++---- .config/xmobar/xmobarrc0 | 2 +- .config/xmobar/xmobarrc1 | 2 +- .config/xmobar/xmobarrc2 | 3 ++- 7 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.config/awesome/README.org b/.config/awesome/README.org index 4990ecb..7da37c4 100644 --- a/.config/awesome/README.org +++ b/.config/awesome/README.org @@ -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 }, } diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index b56dd6c..d7952df 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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. diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg index c3d326b..c72faf9 100644 --- a/.config/nitrogen/bg-saved.cfg +++ b/.config/nitrogen/bg-saved.cfg @@ -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 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg index 8af6a8f..b0192ec 100644 --- a/.config/nitrogen/nitrogen.cfg +++ b/.config/nitrogen/nitrogen.cfg @@ -1,8 +1,8 @@ [geometry] -posx=1936 -posy=40 -sizex=1884 -sizey=1020 +posx=8 +posy=28 +sizex=944 +sizey=1040 [nitrogen] view=icon diff --git a/.config/xmobar/xmobarrc0 b/.config/xmobar/xmobarrc0 index 2177742..7e6a13f 100755 --- a/.config/xmobar/xmobarrc0 +++ b/.config/xmobar/xmobarrc0 @@ -35,5 +35,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ | %uname% | %cpu% | %memory% | %disku% | %enp6s0% | %pacupdate% | %date% " + , template = " | %UnsafeStdinReader% }{ %uname% %cpu% %memory% %disku% %enp6s0% %pacupdate% %date% " } diff --git a/.config/xmobar/xmobarrc1 b/.config/xmobar/xmobarrc1 index 9f131ec..621a7f0 100755 --- a/.config/xmobar/xmobarrc1 +++ b/.config/xmobar/xmobarrc1 @@ -39,5 +39,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=t ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ | %uname% | %cpu% | %memory% | %disku% | %enp6s0% | %pacupdate% | %date% | %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %uname% %cpu% %memory% %disku% %enp6s0% %pacupdate% %date% %trayerpad%" } diff --git a/.config/xmobar/xmobarrc2 b/.config/xmobar/xmobarrc2 index 8d8b73c..038a4e0 100755 --- a/.config/xmobar/xmobarrc2 +++ b/.config/xmobar/xmobarrc2 @@ -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 = " | %UnsafeStdinReader% }{ | %uname% | %cpu% | %memory% | %disku% | %enp6s0% | %pacupdate% | %date% " + , template = " | %UnsafeStdinReader% }{ %uname% %cpu% %memory% %disku% %enp6s0% %pacupdate% %date% " }