diff --git a/rsc/config/awesome/rc.lua b/rsc/config/awesome/rc.lua index dcfac2c..1ee347d 100644 --- a/rsc/config/awesome/rc.lua +++ b/rsc/config/awesome/rc.lua @@ -173,7 +173,11 @@ local function set_wallpaper(s) if type(wallpaper) == "function" then wallpaper = wallpaper(s) end - gears.wallpaper.centered(wallpaper, s) + if s.index == screen.primary.index then + gears.wallpaper.centered(wallpaper, s, gears.color.parse_color("#00ff00ff"), 0.43) + else + gears.wallpaper.centered(wallpaper, s, gears.color.parse_color("#00ff00ff"), 0.31) + end end end diff --git a/rsc/config/awesome/theme.lua b/rsc/config/awesome/theme.lua index 8facf14..e756bd3 100644 --- a/rsc/config/awesome/theme.lua +++ b/rsc/config/awesome/theme.lua @@ -6,91 +6,91 @@ --]] local gears = require("gears") -local lain = require("lain") +local lain = require("lain") local awful = require("awful") local wibox = require("wibox") -local dpi = require("beautiful.xresources").apply_dpi +local dpi = require("beautiful.xresources").apply_dpi local colors = require("colors") local os = os local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility -local theme = {} -theme.dir = os.getenv("HOME") .. "/.config/awesome/" -theme.wallpaper_dir = os.getenv("HOME") .. "/.wallpapers/" -theme.wallpaper = theme.wallpaper_dir .. "/cyberpunk-ship-dock.jpg" -theme.font = "JetBrainsMono Nerd Font 9" -theme.fg_normal = colors.text -theme.fg_focus = colors.teal -theme.fg_urgent = "#CC9393" -theme.bg_normal = colors.base -theme.bg_focus = colors.crust -theme.bg_urgent = "#1e1e2e" -theme.border_width = dpi(1) -theme.border_normal = colors.surface0 -theme.border_focus = colors.teal -theme.border_marked = "#CC9393" -theme.tasklist_bg_focus = colors.base -theme.titlebar_bg_focus = theme.bg_focus -theme.titlebar_bg_normal = theme.bg_normal -theme.titlebar_fg_focus = theme.fg_focus -theme.menu_height = dpi(16) -theme.menu_width = dpi(140) -theme.systray_icon_spacing = 2 -theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png" -theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png" -theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png" -theme.layout_tile = theme.dir .. "/icons/tile.png" -theme.layout_tileleft = theme.dir .. "/icons/tileleft.png" -theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png" -theme.layout_tiletop = theme.dir .. "/icons/tiletop.png" -theme.layout_fairv = theme.dir .. "/icons/fairv.png" -theme.layout_fairh = theme.dir .. "/icons/fairh.png" -theme.layout_spiral = theme.dir .. "/icons/spiral.png" -theme.layout_dwindle = theme.dir .. "/icons/dwindle.png" -theme.layout_max = theme.dir .. "/icons/max.png" -theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png" -theme.layout_magnifier = theme.dir .. "/icons/magnifier.png" -theme.layout_floating = theme.dir .. "/icons/floating.png" -theme.widget_ac = theme.dir .. "/icons/ac.png" -theme.widget_battery = theme.dir .. "/icons/battery.png" -theme.widget_battery_low = theme.dir .. "/icons/battery_low.png" -theme.widget_battery_empty = theme.dir .. "/icons/battery_empty.png" -theme.widget_mem = theme.dir .. "/icons/custom/mem.png" -theme.widget_clock = theme.dir .. "/icons/custom/clock.png" -theme.widget_calendar = theme.dir .. "/icons/custom/calendar.png" -theme.widget_cpu = theme.dir .. "/icons/custom/chip.png" -theme.widget_bat = theme.dir .. "/icons/custom/bat.png" -theme.widget_temp = theme.dir .. "/icons/temp.png" -theme.widget_net = theme.dir .. "/icons/net.png" -theme.widget_hdd = theme.dir .. "/icons/hdd.png" -theme.widget_music = theme.dir .. "/icons/note.png" -theme.widget_music_on = theme.dir .. "/icons/note_on.png" -theme.widget_vol = theme.dir .. "/icons/vol.png" -theme.widget_vol_low = theme.dir .. "/icons/vol_low.png" -theme.widget_vol_no = theme.dir .. "/icons/vol_no.png" -theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png" -theme.widget_mail = theme.dir .. "/icons/mail.png" -theme.widget_mail_on = theme.dir .. "/icons/mail_on.png" -theme.tasklist_plain_task_name = true -theme.tasklist_disable_icon = true -theme.useless_gap = dpi(7) -theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png" -theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png" -theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png" -theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png" -theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png" -theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png" -theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png" -theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png" -theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png" -theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png" +local theme = {} +theme.dir = os.getenv("HOME") .. "/.config/awesome/" +theme.wallpaper_dir = os.getenv("HOME") .. "/.wallpapers/" +theme.wallpaper = theme.wallpaper_dir .. "/rolltreppe-glühwein.jpg" +theme.font = "JetBrainsMono Nerd Font 9" +theme.fg_normal = colors.text +theme.fg_focus = colors.teal +theme.fg_urgent = "#CC9393" +theme.bg_normal = colors.base +theme.bg_focus = colors.crust +theme.bg_urgent = "#1e1e2e" +theme.border_width = dpi(1) +theme.border_normal = colors.surface0 +theme.border_focus = colors.teal +theme.border_marked = "#CC9393" +theme.tasklist_bg_focus = colors.base +theme.titlebar_bg_focus = theme.bg_focus +theme.titlebar_bg_normal = theme.bg_normal +theme.titlebar_fg_focus = theme.fg_focus +theme.menu_height = dpi(16) +theme.menu_width = dpi(140) +theme.systray_icon_spacing = 2 +theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png" +theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png" +theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png" +theme.layout_tile = theme.dir .. "/icons/tile.png" +theme.layout_tileleft = theme.dir .. "/icons/tileleft.png" +theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png" +theme.layout_tiletop = theme.dir .. "/icons/tiletop.png" +theme.layout_fairv = theme.dir .. "/icons/fairv.png" +theme.layout_fairh = theme.dir .. "/icons/fairh.png" +theme.layout_spiral = theme.dir .. "/icons/spiral.png" +theme.layout_dwindle = theme.dir .. "/icons/dwindle.png" +theme.layout_max = theme.dir .. "/icons/max.png" +theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png" +theme.layout_magnifier = theme.dir .. "/icons/magnifier.png" +theme.layout_floating = theme.dir .. "/icons/floating.png" +theme.widget_ac = theme.dir .. "/icons/ac.png" +theme.widget_battery = theme.dir .. "/icons/battery.png" +theme.widget_battery_low = theme.dir .. "/icons/battery_low.png" +theme.widget_battery_empty = theme.dir .. "/icons/battery_empty.png" +theme.widget_mem = theme.dir .. "/icons/custom/mem.png" +theme.widget_clock = theme.dir .. "/icons/custom/clock.png" +theme.widget_calendar = theme.dir .. "/icons/custom/calendar.png" +theme.widget_cpu = theme.dir .. "/icons/custom/chip.png" +theme.widget_bat = theme.dir .. "/icons/custom/bat.png" +theme.widget_temp = theme.dir .. "/icons/temp.png" +theme.widget_net = theme.dir .. "/icons/net.png" +theme.widget_hdd = theme.dir .. "/icons/hdd.png" +theme.widget_music = theme.dir .. "/icons/note.png" +theme.widget_music_on = theme.dir .. "/icons/note_on.png" +theme.widget_vol = theme.dir .. "/icons/vol.png" +theme.widget_vol_low = theme.dir .. "/icons/vol_low.png" +theme.widget_vol_no = theme.dir .. "/icons/vol_no.png" +theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png" +theme.widget_mail = theme.dir .. "/icons/mail.png" +theme.widget_mail_on = theme.dir .. "/icons/mail_on.png" +theme.tasklist_plain_task_name = true +theme.tasklist_disable_icon = true +theme.useless_gap = dpi(7) +theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png" +theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png" +theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png" +theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png" +theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png" +theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png" +theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png" +theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png" +theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png" +theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png" theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/maximized_normal_inactive.png" return theme diff --git a/rsc/wallpaper/rolltreppe-glühwein.jpg b/rsc/wallpaper/rolltreppe-glühwein.jpg new file mode 100644 index 0000000..af0d11c Binary files /dev/null and b/rsc/wallpaper/rolltreppe-glühwein.jpg differ