Update 2023-11-01 18:08 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2023-11-01 18:08:32 +01:00
parent fdf2d0391f
commit 6cb4daa541
5 changed files with 59 additions and 48 deletions

View File

@ -170,8 +170,8 @@ XConsole*background: #121212
XConsole*borderWidth: 0
XConsole*scrollVertical: Never
XConsole*scrollHorizontal: Never
XConsole*x: 1450
XConsole*y: 970
XConsole*width: 420
XConsole*height: 60
XConsole*x: 1250
XConsole*y: 870
XConsole*width: 620
XConsole*height: 160

5
.bin/drink Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
. $HOME/.dbus_address
MSG="It's $(/bin/date +"%H:%M"). Drink some water!)"
notify-send "$MSG"

View File

@ -24,6 +24,7 @@ ffmpeg -hide_banner -y \
-c:v libx264 \
-crf 28 \
-s ${_res} \
-pix_fmt yuv420p \
-preset veryfast \
-movflags faststart \
-threads 12 \

View File

@ -217,48 +217,48 @@ end
follow.pattern_maker = follow.pattern_styles.match_label
-- social media enhancer
local webview = require "webview"
webview.add_signal('init', function (view)
view:add_signal('navigation-request', function(v, uri)
if v.uri:match('https://www.reddit.com') then
v.uri = v.uri:gsub('%www.reddit.com', 'old.reddit.com')
return true
end
if v.uri:match('https://new.reddit.com') then
v.uri = v.uri:gsub('%new.reddit.com', 'old.reddit.com')
return true
end
-- if v.uri:match('https://old.reddit.com') then
-- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
-- return true
-- end
-- if v.uri:match('https://old.reddit.com') then
-- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
-- return true
-- end
if v.uri:match('https://www.twitter.com') then
v.uri = v.uri:gsub('%www.twitter.com', 'nitter.net')
return true
end
if v.uri:match('https://twitter.com') then
v.uri = v.uri:gsub('%twitter.com', 'nitter.net')
return true
end
if v.uri:match('https://www.youtube.com') then
v.uri = v.uri:gsub('%www.youtube.com', 'tube.cadence.moe')
return true
end
if v.uri:match('https://youtube.com') then
v.uri = v.uri:gsub('%youtube.com', 'tube.cadence.moe')
return true
end
if v.uri:match('https://youtu.be') then
v.uri = v.uri:gsub('%youtu.be/', 'tube.cadence.moe/watch?v=')
return true
end
end)
end)
-- -- social media enhancer
-- local webview = require "webview"
-- webview.add_signal('init', function (view)
-- view:add_signal('navigation-request', function(v, uri)
-- if v.uri:match('https://www.reddit.com') then
-- v.uri = v.uri:gsub('%www.reddit.com', 'old.reddit.com')
-- return true
-- end
-- if v.uri:match('https://new.reddit.com') then
-- v.uri = v.uri:gsub('%new.reddit.com', 'old.reddit.com')
-- return true
-- end
-- -- if v.uri:match('https://old.reddit.com') then
-- -- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
-- -- return true
-- -- end
-- -- if v.uri:match('https://old.reddit.com') then
-- -- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
-- -- return true
-- -- end
-- if v.uri:match('https://www.twitter.com') then
-- v.uri = v.uri:gsub('%www.twitter.com', 'nitter.net')
-- return true
-- end
-- if v.uri:match('https://twitter.com') then
-- v.uri = v.uri:gsub('%twitter.com', 'nitter.net')
-- return true
-- end
-- if v.uri:match('https://www.youtube.com') then
-- v.uri = v.uri:gsub('%www.youtube.com', 'tube.cadence.moe')
-- return true
-- end
-- if v.uri:match('https://youtube.com') then
-- v.uri = v.uri:gsub('%youtube.com', 'tube.cadence.moe')
-- return true
-- end
-- if v.uri:match('https://youtu.be') then
-- v.uri = v.uri:gsub('%youtu.be/', 'tube.cadence.moe/watch?v=')
-- return true
-- end
-- end)
-- end)
-- social media blocker
local webview = require "webview"

View File

@ -22,7 +22,7 @@ tile_gap = 6
# +--------------------------------------------------
# | BAR SETTINGS
# +--------------------------------------------------
bar_border_width = 1
bar_border_width = 4
bar_border = rgb:18/18/18
bar_border_unfocus = rgb:18/18/18
bar_border_free = rgb:18/18/18
@ -71,7 +71,7 @@ click_to_raise = 1
# +--------------------------------------------------
quirk[scratchpad] = FLOAT + ANYWHERE + FOCUSPREV + FOCUSONMAP_SINGLE
quirk[XConsole:xconsole] = FLOAT + ANYWHERE + NOFOCUSCYCLE + NOFOCUSONMAP + IGNOREPID + IGNORESPAWNWS
quirk[XConsole:xconsole] = FLOAT + ANYWHERE + NOFOCUSCYCLE + NOFOCUSONMAP
# +--------------------------------------------------
# | RESET ALL KEYBOARD MAPPINGS
@ -116,6 +116,9 @@ bind[audio] = MOD+O
program[scratchpad] = sp
bind[scratchpad] = MOD+minus
program[xconsole] = xcons
bind[xconsole] = MOD+Shift+minus
program[apps] = dexec_apps
bind[apps] = MOD+A
@ -217,3 +220,5 @@ bind[wind_del] = MOD+q
bind[wind_kill] = MOD+Shift+q
bind[restart] = MOD+Shift+r
autorun = ws[10]:xcons