aboutsummaryrefslogtreecommitdiffstats
path: root/config/awesome
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-04-01 19:04:30 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-04-01 19:04:30 +0200
commitae976c2bd8a4b72174f001d84a52850dae01ebeb (patch)
tree9e5e3ece26408970ca0983af173b1a5b5fc7b689 /config/awesome
parent9c94f06db9fdc9d40f98a0abd4a9646977f45ea1 (diff)
downloaddotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.tar.gz
dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.tar.bz2
dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.zip
Clear employer configs
Diffstat (limited to 'config/awesome')
-rw-r--r--config/awesome/rc.lua24
1 files changed, 5 insertions, 19 deletions
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