diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 13add2aa..d4ed1f77 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -1,3 +1,9 @@ +-- require $HOME/.config/awesome/private.lua for including variables that are different on +-- my systems like private.thermal_zone or private.net_device; this makes sure that widgets +-- are displaying the right value... ;) +-- This file needs to exist. You need to explore this if you want to use my widget stuff! +require("private") + -- Require some basic stuff local gears = require("gears") local awful = require("awful") @@ -9,12 +15,6 @@ local naughty = require("naughty") local menubar = require("menubar") vicious = require("vicious") --- require $HOME/.config/awesome/private.lua for including variables that are different on --- my systems like private.thermal_zone or private.net_device; this makes sure that widgets --- are displaying the right value... ;) --- This file needs to exist. You need to explore this if you want to use my widget stuff! -require("private") - -- Set programs to autostart. They will only runce once even when reloading awesome. local autostart = { "synclient TouchpadOff=1", @@ -77,7 +77,7 @@ if file_exists(name) then beautiful.wallpaper = name end -terminal = '/usr/bin/uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange -fa "Noto Mono" -fs 13' +terminal = '/usr/bin/uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange -fa "Noto Mono" -fs '..private.font_xterm editor = "/usr/bin/vim" editor_cmd = terminal .. " -e " .. editor diff --git a/.config/awesome/themes/hanez/theme.lua b/.config/awesome/themes/hanez/theme.lua index 098fc360..56b63526 100644 --- a/.config/awesome/themes/hanez/theme.lua +++ b/.config/awesome/themes/hanez/theme.lua @@ -3,7 +3,7 @@ ------------------------- theme = {} -theme.font = "sans 10" +theme.font = "sans "..private.font_awesome theme.bg_normal = "#222222" theme.bg_focus = "#222222" diff --git a/.zshrc b/.zshrc index 13cf5060..ef4866e8 100644 --- a/.zshrc +++ b/.zshrc @@ -129,5 +129,5 @@ case $TERM in ;; esac -/usr/bin/shellpic --shell24 --scale-x 50 ~/images/tux.png +[ -f /usr/bin/shellpic ] && [ -f ~/images/tux.png ] /usr/bin/shellpic --shell24 --scale-x 50 ~/images/tux.png