From ae976c2bd8a4b72174f001d84a52850dae01ebeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 1 Apr 2022 19:04:30 +0200 Subject: Clear employer configs --- config/awesome/rc.lua | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'config/awesome') diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 633d2f0..0235ea3 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -42,13 +42,10 @@ end local hostname = io.popen("uname -n"):read() -- Setup laptop screen -if "titanroam" == hostname then - -- awful.spawn.with_shell("nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1") -- load the gpu performance profile saved in home - awful.spawn.with_shell("xrandr --output eDP1 --mode 1920x1080 --output HDMI2 --mode 1920x1080 --left-of eDP1 --primary") - awful.spawn.with_shell("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1") -elseif "klappbier" == hostname or "archlive" == hostname then - awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --output DP-1-2 --mode 2560x1440 --pos 3840x0 --output DP-1-3 --primary --mode 1920x1080 --pos 1920x0") -end +-- awful.spawn.with_shell("nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1") -- load the gpu performance profile saved in home +awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --output HDMI-2 --primary --mode 1920x1080 --pos 1920x0") +awful.spawn.with_shell("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1") + -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. @@ -68,12 +65,6 @@ local tools = { habit = "/home/titan/dev/helpful_scripts/guile/habit.scm", } -if "klappbier" == hostname then - tools.terminal = "gnome-terminal" - tools.filemanager = "nautilus" - tools.pass = "/usr/share/doc/pass/examples/dmenu/passmenu" -end - -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. -- If you do not like this or do not have such a key, @@ -162,12 +153,7 @@ local tasklist_buttons = gears.table.join( end)) local function set_wallpaper(s) - local wallpaper - if "archlive" == hostname then - wallpaper = awful.util.getdir("config") .. "brown-hair-brunette-green-eyes.jpg" - elseif "klappbier" == hostname or "archlive" == hostname then - wallpaper = awful.util.getdir("config") .. "hot sexy red hair girls.jpg" - end + local wallpaper = awful.util.getdir("config") .. "brown-hair-brunette-green-eyes.jpg" gears.wallpaper.maximized(wallpaper, s, true) end -- cgit v1.2.3