long time no commit
This commit is contained in:
@@ -45,7 +45,7 @@ end
|
||||
-- {{{ Variable definitions
|
||||
-- Themes define colours, icons, font and wallpapers.
|
||||
beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
|
||||
beautiful.wallpaper = "/home/snarbutas/Pictures/pineapple_wp.jpg"
|
||||
beautiful.wallpaper = "/home/snarbutas/Pictures/wallpaper1.jpg"
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = "termite"
|
||||
editor = os.getenv("EDITOR") or "nano"
|
||||
@@ -133,7 +133,7 @@ local cal_notification
|
||||
mytextclock:connect_signal("button::release",
|
||||
function()
|
||||
if cal_notification == nil then
|
||||
awful.spawn.easy_async([[zsh -c "cal -3 -m --color=always |sed 's#\x1B\[7m\([ 0-9]\+\)\x1B\[27m#<span foreground=\"red\"><b>\1</b></span>#'"]],
|
||||
awful.spawn.easy_async([[bash -c "cal -3 -m --color=always |sed 's#\x1B\[7m\([ 0-9]\+\)\x1B\[27m#<span foreground=\"red\"><b>\1</b></span>#'"]],
|
||||
function(stdout, stderr, reason, exit_code)
|
||||
cal_notification = naughty.notify{
|
||||
text = stdout,
|
||||
@@ -230,7 +230,7 @@ awful.screen.connect_for_each_screen(function(s)
|
||||
set_wallpaper(s)
|
||||
|
||||
-- Each screen has its own tag table.
|
||||
awful.tag({ "hipc", "web", "hiera", "gimp", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1])
|
||||
awful.tag({ "termite", "web", "code", "gimp", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1])
|
||||
|
||||
-- Create a promptbox for each screen
|
||||
s.mypromptbox = awful.widget.prompt()
|
||||
@@ -436,7 +436,7 @@ globalkeys = gears.table.join(
|
||||
end),
|
||||
awful.key({ "Control", "Mod4" }, "s",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("sleep .1 && scrot -s '%d-%m-%y_%H_%M_scrot.png' -e 'mv $f ~/Pictures/scrots/'", naughty.notify {text = "scrot complete", timeout = 0.5, bg = "#ad11c7"})
|
||||
awful.util.spawn_with_shell("sleep 0.5 && scrotty", naughty.notify {title = "scrot complete", timeout = 0.5, bg = "#ad11c7"})
|
||||
end),
|
||||
|
||||
awful.key({ modkey, "Control" }, "n",
|
||||
|
||||
Reference in New Issue
Block a user