diff options
| author | ache <ache@ache.one> | 2025-06-13 11:36:39 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-06-13 11:36:39 +0200 |
| commit | 7da7b926db7fe137dc6a6b6673a29e4c1e7dbc05 (patch) | |
| tree | 11cafe6cb51ef5d124916a601f6bdeb17fe33e0f | |
| parent | Fix pulse widget configuration from lain (diff) | |
Augmente le timeout des actions du systrail
| -rw-r--r-- | rc.lua | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -244,14 +244,14 @@ cpuwidget = lain.widget.cpu({ int_cpu_usage = tonumber(cpu_now.usage) widget:set_text("⚙️ " .. cpu_now.usage .. "%") end, - timeout = 10, + timeout = 45, }) -- MPD -- mpdwidget = lain.widget.mpd() gputemp = wibox.widget.textbox() -vicious.register(gputemp, vicious.widgets.thermal, { "sys" }, 5) +vicious.register(gputemp, vicious.widgets.thermal, { "sys" }, 15) mpdwidget = wibox.widget.textbox() -- Register widget @@ -272,7 +272,7 @@ vicious.register(mpdwidget, vicious.widgets.mpd, function(mpdwidget, args) return "" end end -end, 5) +end, 60) -- MEM memwidget = lain.widget.mem({ @@ -290,7 +290,7 @@ memwidget = lain.widget.mem({ }) end end, - timeout = 5, + timeout = 60, }) -- ALSA volume @@ -334,7 +334,7 @@ volumewidget = lain.widget.pulse({ widget:set_markup(markup.fg.color("#ccaacc", volume_emoji .. vlevel)) end, - timeout = 3, + timeout = 60, }) -- Separators @@ -457,14 +457,14 @@ function act() preset = naughty.config.presets.normal, title = "ip change", text = "Changement d'interface par defaut " .. lastInt .. " par " .. interface_default, - timeout = 20, + timeout = 90, }) else naughty.notify({ preset = naughty.config.presets.normal, title = "new ip", text = "Connection à " .. interface_default, - timeout = 20, + timeout = 90, }) end lastInt = interface_default @@ -485,14 +485,14 @@ function act() preset = naughty.config.presets.normal, title = "ip route", text = "Changement de route " .. lastIp .. " vers " .. ip, - timeout = 20, + timeout = 90, }) else naughty.notify({ preset = naughty.config.presets.normal, title = "ip route", text = "Initialisation de la route par defaut vers " .. ip, - timeout = 20, + timeout = 90, }) end lastIp = ip @@ -524,7 +524,7 @@ function act() preset = naughty.config.presets.normal, title = "Connection Wifi", text = "Connecté à " .. essid .. " !", - timeout = 20, + timeout = 90, }) lastEssid = essid end @@ -685,7 +685,7 @@ for s = 1, screen.count() do end -- }}} -wp_timer = timer({ timeout = 15 }) +wp_timer = timer({ timeout = 120 }) wp_timer:connect_signal("timeout", function() showHideWibox() end) @@ -924,10 +924,10 @@ globalkeys = awful.util.table.join( act() end, { description = "Actualise Wibox", group = "awesome" }), awful.key({ modkey, "Shift" }, "#52", function() - awful.util.spawn("passmenu --type -matching fuzzy -theme gruvbox-dark-hard") + awful.util.spawn("loginmenu") end, { description = "🔑 Passwd promt", group = "awesome" }), awful.key({ modkey, "Mod1" }, "#52", function() - awful.util.spawn("passmenu --type") + awful.util.spawn("loginmenu --line=3") end, { description = "🔑 Passwd promt alt", group = "awesome" }), awful.key({ modkey, "Control" }, "#53", function() awful.util.spawn("locker") @@ -1411,7 +1411,7 @@ awful.util.spawn_with_shell("autoWall") -- Have to be here, to write other the f -- awful.util.spawn_with_shell("xbindkeys") -- awful.util.spawn_with_shell("setxkbmap -option grab:break_actions") --- awful.util.spawn_with_shell("xss-lock -n /usr/lib/xsecurelock/dimmer -l -- /usr/bin/xsecurelock") +-- awful.util.spawn_with_shell("xss-lock -n /usr/lib/xsecurelock/dimmer -l -- /usr/local/bin/auth_buzzlocker") -- -- All moved to .xinitrc. client.connect_signal("focus", function(c) |