From 0a330f33798c66596fd51a97aab1a713cac30a52 Mon Sep 17 00:00:00 2001 From: ngoomie Date: Wed, 29 Nov 2023 04:08:54 -0700 Subject: [PATCH] many many changes [ AWESOMEWM ] - set up better theme config somewhat - start some work on new theme (currently nicknamed 'neo'. i don't even remember what i was doing here) - add new global key combos for ames (and change existing ones to accomodate this) - spawn ibus on load - change tags [ BETTERDISCORD ] - include my settings.json for BetterDiscord - start including my config for plugin CollapsibleUI - include custom CSS (in the form of the .scss file only. i don't like committing the full CSS files if i don't need to) [ THUNDERBIRD ] - add filters for sorting aliexpress emails - add filters for deleting spammy marketing emails from aliexpress - add filters for sorting etsy emails - add filters for deleting spammy marketing emails from etsy - add filters for sorting myus emails --- .gitignore | 9 +- awesome/bindings/keys/global.lua | 44 ++++- awesome/main/rules.lua | 3 +- awesome/main/startup.lua | 6 +- awesome/main/tags.lua | 11 +- awesome/main/user_vars.lua | 3 +- awesome/rc.lua | 12 +- awesome/themes/neo/layouts/cornerne.png | Bin 0 -> 272 bytes awesome/themes/neo/layouts/cornernew.png | Bin 0 -> 272 bytes awesome/themes/neo/layouts/cornernw.png | Bin 0 -> 263 bytes awesome/themes/neo/layouts/cornernww.png | Bin 0 -> 264 bytes awesome/themes/neo/layouts/cornerse.png | Bin 0 -> 264 bytes awesome/themes/neo/layouts/cornersew.png | Bin 0 -> 264 bytes awesome/themes/neo/layouts/cornersw.png | Bin 0 -> 263 bytes awesome/themes/neo/layouts/cornersww.png | Bin 0 -> 264 bytes awesome/themes/neo/layouts/dwindle.png | Bin 0 -> 320 bytes awesome/themes/neo/layouts/dwindlew.png | Bin 0 -> 320 bytes awesome/themes/neo/layouts/fairh.png | Bin 0 -> 245 bytes awesome/themes/neo/layouts/fairhw.png | Bin 0 -> 245 bytes awesome/themes/neo/layouts/fairv.png | Bin 0 -> 246 bytes awesome/themes/neo/layouts/fairvw.png | Bin 0 -> 246 bytes awesome/themes/neo/layouts/floating.png | Bin 0 -> 282 bytes awesome/themes/neo/layouts/floatingw.png | Bin 0 -> 282 bytes awesome/themes/neo/layouts/fullscreen.png | Bin 0 -> 866 bytes awesome/themes/neo/layouts/fullscreenw.png | Bin 0 -> 865 bytes awesome/themes/neo/layouts/magnifier.png | Bin 0 -> 345 bytes awesome/themes/neo/layouts/magnifierw.png | Bin 0 -> 345 bytes awesome/themes/neo/layouts/max.png | Bin 0 -> 574 bytes awesome/themes/neo/layouts/maxw.png | Bin 0 -> 581 bytes awesome/themes/neo/layouts/spiral.png | Bin 0 -> 328 bytes awesome/themes/neo/layouts/spiralw.png | Bin 0 -> 328 bytes awesome/themes/neo/layouts/tile.png | Bin 0 -> 265 bytes awesome/themes/neo/layouts/tilebottom.png | Bin 0 -> 264 bytes awesome/themes/neo/layouts/tilebottomw.png | Bin 0 -> 264 bytes awesome/themes/neo/layouts/tileleft.png | Bin 0 -> 266 bytes awesome/themes/neo/layouts/tileleftw.png | Bin 0 -> 266 bytes awesome/themes/neo/layouts/tiletop.png | Bin 0 -> 260 bytes awesome/themes/neo/layouts/tiletopw.png | Bin 0 -> 265 bytes awesome/themes/neo/layouts/tilew.png | Bin 0 -> 265 bytes awesome/themes/neo/statusbar.lua | 84 +++++++++ awesome/themes/neo/submenu.png | Bin 0 -> 440 bytes awesome/themes/neo/taglist/squarefw.png | Bin 0 -> 187 bytes awesome/themes/neo/taglist/squarew.png | Bin 0 -> 193 bytes awesome/themes/neo/theme.lua | 153 ++++++++++++++++ awesome/themes/neo/titlebar/close_focus.png | Bin 0 -> 966 bytes awesome/themes/neo/titlebar/close_normal.png | Bin 0 -> 966 bytes .../neo/titlebar/floating_focus_active.png | Bin 0 -> 386 bytes .../neo/titlebar/floating_focus_inactive.png | Bin 0 -> 237 bytes .../neo/titlebar/floating_normal_active.png | Bin 0 -> 386 bytes .../neo/titlebar/floating_normal_inactive.png | Bin 0 -> 237 bytes .../neo/titlebar/maximized_focus_active.png | Bin 0 -> 480 bytes .../neo/titlebar/maximized_focus_inactive.png | Bin 0 -> 452 bytes .../neo/titlebar/maximized_normal_active.png | Bin 0 -> 480 bytes .../titlebar/maximized_normal_inactive.png | Bin 0 -> 452 bytes .../themes/neo/titlebar/minimize_focus.png | Bin 0 -> 234 bytes .../themes/neo/titlebar/minimize_normal.png | Bin 0 -> 225 bytes .../neo/titlebar/ontop_focus_active.png | Bin 0 -> 467 bytes .../neo/titlebar/ontop_focus_inactive.png | Bin 0 -> 604 bytes .../neo/titlebar/ontop_normal_active.png | Bin 0 -> 467 bytes .../neo/titlebar/ontop_normal_inactive.png | Bin 0 -> 604 bytes .../neo/titlebar/sticky_focus_active.png | Bin 0 -> 654 bytes .../neo/titlebar/sticky_focus_inactive.png | Bin 0 -> 758 bytes .../neo/titlebar/sticky_normal_active.png | Bin 0 -> 654 bytes .../neo/titlebar/sticky_normal_inactive.png | Bin 0 -> 758 bytes awesome/themes/neo/vars.lua | 5 + .../spacestation}/statusbar.lua | 2 +- discord/data/stable/custom.scss | 27 +++ discord/data/stable/settings.json | 37 ++++ discord/plugins/CollapsibleUI.config.json | 46 +++++ linkdir.pl | 11 +- miscellany/yt-dlp.pl | 53 ++++++ miscellany/yt-dlp.yml | 5 + polybar/config.ini | 172 ++++++++++++++++++ thunderbird/filters/AliExpress/README.md | 13 ++ .../filters/AliExpress/[SPAM] ae-news.dat | 5 + .../filters/AliExpress/[SPAM] promotion.dat | 5 + thunderbird/filters/AliExpress/sort.dat | 6 + .../Etsy/[SPAM] email@email.etsy.com.dat | 5 + thunderbird/filters/Etsy/sort.dat | 6 + thunderbird/filters/MyUS/sort.dat | 6 + thunderbird/filters/README.md | 13 ++ 81 files changed, 718 insertions(+), 24 deletions(-) create mode 100644 awesome/themes/neo/layouts/cornerne.png create mode 100644 awesome/themes/neo/layouts/cornernew.png create mode 100644 awesome/themes/neo/layouts/cornernw.png create mode 100644 awesome/themes/neo/layouts/cornernww.png create mode 100644 awesome/themes/neo/layouts/cornerse.png create mode 100644 awesome/themes/neo/layouts/cornersew.png create mode 100644 awesome/themes/neo/layouts/cornersw.png create mode 100644 awesome/themes/neo/layouts/cornersww.png create mode 100644 awesome/themes/neo/layouts/dwindle.png create mode 100644 awesome/themes/neo/layouts/dwindlew.png create mode 100644 awesome/themes/neo/layouts/fairh.png create mode 100644 awesome/themes/neo/layouts/fairhw.png create mode 100644 awesome/themes/neo/layouts/fairv.png create mode 100644 awesome/themes/neo/layouts/fairvw.png create mode 100644 awesome/themes/neo/layouts/floating.png create mode 100644 awesome/themes/neo/layouts/floatingw.png create mode 100644 awesome/themes/neo/layouts/fullscreen.png create mode 100644 awesome/themes/neo/layouts/fullscreenw.png create mode 100644 awesome/themes/neo/layouts/magnifier.png create mode 100644 awesome/themes/neo/layouts/magnifierw.png create mode 100644 awesome/themes/neo/layouts/max.png create mode 100644 awesome/themes/neo/layouts/maxw.png create mode 100644 awesome/themes/neo/layouts/spiral.png create mode 100644 awesome/themes/neo/layouts/spiralw.png create mode 100644 awesome/themes/neo/layouts/tile.png create mode 100644 awesome/themes/neo/layouts/tilebottom.png create mode 100644 awesome/themes/neo/layouts/tilebottomw.png create mode 100644 awesome/themes/neo/layouts/tileleft.png create mode 100644 awesome/themes/neo/layouts/tileleftw.png create mode 100644 awesome/themes/neo/layouts/tiletop.png create mode 100644 awesome/themes/neo/layouts/tiletopw.png create mode 100644 awesome/themes/neo/layouts/tilew.png create mode 100644 awesome/themes/neo/statusbar.lua create mode 100644 awesome/themes/neo/submenu.png create mode 100644 awesome/themes/neo/taglist/squarefw.png create mode 100644 awesome/themes/neo/taglist/squarew.png create mode 100644 awesome/themes/neo/theme.lua create mode 100644 awesome/themes/neo/titlebar/close_focus.png create mode 100644 awesome/themes/neo/titlebar/close_normal.png create mode 100644 awesome/themes/neo/titlebar/floating_focus_active.png create mode 100644 awesome/themes/neo/titlebar/floating_focus_inactive.png create mode 100644 awesome/themes/neo/titlebar/floating_normal_active.png create mode 100644 awesome/themes/neo/titlebar/floating_normal_inactive.png create mode 100644 awesome/themes/neo/titlebar/maximized_focus_active.png create mode 100644 awesome/themes/neo/titlebar/maximized_focus_inactive.png create mode 100644 awesome/themes/neo/titlebar/maximized_normal_active.png create mode 100644 awesome/themes/neo/titlebar/maximized_normal_inactive.png create mode 100644 awesome/themes/neo/titlebar/minimize_focus.png create mode 100644 awesome/themes/neo/titlebar/minimize_normal.png create mode 100644 awesome/themes/neo/titlebar/ontop_focus_active.png create mode 100644 awesome/themes/neo/titlebar/ontop_focus_inactive.png create mode 100644 awesome/themes/neo/titlebar/ontop_normal_active.png create mode 100644 awesome/themes/neo/titlebar/ontop_normal_inactive.png create mode 100644 awesome/themes/neo/titlebar/sticky_focus_active.png create mode 100644 awesome/themes/neo/titlebar/sticky_focus_inactive.png create mode 100644 awesome/themes/neo/titlebar/sticky_normal_active.png create mode 100644 awesome/themes/neo/titlebar/sticky_normal_inactive.png create mode 100644 awesome/themes/neo/vars.lua rename awesome/{deco => themes/spacestation}/statusbar.lua (99%) create mode 100644 discord/data/stable/custom.scss create mode 100644 discord/data/stable/settings.json create mode 100644 discord/plugins/CollapsibleUI.config.json create mode 100755 miscellany/yt-dlp.pl create mode 100644 miscellany/yt-dlp.yml create mode 100644 polybar/config.ini create mode 100644 thunderbird/filters/AliExpress/README.md create mode 100644 thunderbird/filters/AliExpress/[SPAM] ae-news.dat create mode 100644 thunderbird/filters/AliExpress/[SPAM] promotion.dat create mode 100644 thunderbird/filters/AliExpress/sort.dat create mode 100644 thunderbird/filters/Etsy/[SPAM] email@email.etsy.com.dat create mode 100644 thunderbird/filters/Etsy/sort.dat create mode 100644 thunderbird/filters/MyUS/sort.dat create mode 100644 thunderbird/filters/README.md diff --git a/.gitignore b/.gitignore index de9ced0..b0e613f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,12 +24,13 @@ fish/channel rofi/theme.rasi # ---> BetterDiscord -# generalistic -discord/data/ +discord/data/betterdiscord.asar +discord/data/stable/* +!discord/data/stable/custom.scss +!discord/data/stable/settings.json discord/plugins/* +!discord/plugins/CollapsibleUI.config.json discord/themes/* -# specific -### there's actually nothing here yet lol # ---> status.cafe miscellany/websites/status cafe/*.css diff --git a/awesome/bindings/keys/global.lua b/awesome/bindings/keys/global.lua index c8844d5..79f95ad 100644 --- a/awesome/bindings/keys/global.lua +++ b/awesome/bindings/keys/global.lua @@ -212,7 +212,7 @@ function _M.get() group = "awesome" }), --- open the run prompt [global::mod+r] - awful.key({ modkey }, "r", + awful.key({ modkey, "Shift" }, "r", function() awful.screen.focused().mypromptbox:run() end, @@ -256,7 +256,47 @@ function _M.get() awful.util.spawn("rofi -show drun") end, { description = "open rofi launcher", - group = "launcher" }) + group = "launcher" }), + + --- ames: start/stop audio recording [global::mod+alt+r] + awful.key({ modkey, "Mod1" }, "r", + function() + awful.util.spawn("bash /home/nu/opt/ames/ames.sh -r") + end, + { description = "start/stop audio recording", + group = "ames" }), + + --- ames: screenshot selection [global::mod+alt+s] + awful.key({ modkey, "Mod1" }, "s", + function() + awful.util.spawn("bash /home/nu/opt/ames/ames.sh -s") + end, + { description = "screenshot selection", + group = "ames" }), + + --- ames: repeat previous screenshot selection [global::mod+alt+a] + awful.key({ modkey, "Mod1" }, "a", + function() + awful.util.spawn("bash /home/nu/opt/ames/ames.sh -a") + end, + { description = "repeat previous screenshot selection", + group = "ames" }), + + --- ames: screenshot active window [global::mod+alt+w] + awful.key({ modkey, "Mod1" }, "w", + function() + awful.util.spawn("bash /home/nu/opt/ames/ames.sh -w") + end, + { description = "screenshot active window", + group = "ames" }), + + --- ames: export copied text to card [global::mod+alt+c] + awful.key({ modkey, "Mod1" }, "c", + function() + awful.util.spawn("bash /home/nu/opt/ames/ames.sh -c") + end, + { description = "export copied text to card", + group = "ames" }) ) return global_keys diff --git a/awesome/main/rules.lua b/awesome/main/rules.lua index 8817384..84174e4 100644 --- a/awesome/main/rules.lua +++ b/awesome/main/rules.lua @@ -52,7 +52,8 @@ function _M.get(clientkeys, clientbuttons) "Picture-in-picture", "review files to import", -- Hydrus import window "Spotify", - "Calculator" + "Calculator", + "Steam Games List" }, role = { "AlarmWindow", -- Thunderbird's calendar. diff --git a/awesome/main/startup.lua b/awesome/main/startup.lua index 666521b..043e9cd 100644 --- a/awesome/main/startup.lua +++ b/awesome/main/startup.lua @@ -1,3 +1,7 @@ local awful = require("awful") -awful.spawn.single_instance("picom --config /home/nu/.config/picom/picom.conf") \ No newline at end of file +awful.spawn.single_instance("picom --config /home/nu/.config/picom/picom.conf") +--- TODO: fix reloads spawning an additional instance of caffeine +--- adding `killall -9 caffeine-ng` before doesn't work for some reason? +--- awful.spawn.single_instance("caffeine") +awful.spawn.single_instance("ibus-daemon -drxR") \ No newline at end of file diff --git a/awesome/main/tags.lua b/awesome/main/tags.lua index e30f120..9e3f807 100644 --- a/awesome/main/tags.lua +++ b/awesome/main/tags.lua @@ -8,18 +8,15 @@ local _M = {} function _M.get () local tags = {} - awful.tag.add("➊ home", + awful.tag.add("1", { layout = awful.layout.suit.floating, }) - awful.tag.add("➋ code", - { layout = awful.layout.suit.tile, }) - - awful.tag.add("➌ art", + awful.tag.add("2", { layout = awful.layout.suit.floating, }) - awful.tag.add("➍ games", + awful.tag.add("3", { layout = awful.layout.suit.floating, }) - + return tags end diff --git a/awesome/main/user_vars.lua b/awesome/main/user_vars.lua index d3866ac..cdac120 100644 --- a/awesome/main/user_vars.lua +++ b/awesome/main/user_vars.lua @@ -3,8 +3,7 @@ local home = os.getenv("HOME") local _M = { terminal = "alacritty", file_manager = "Thunar", - modkey = "Mod4", - wallpaper = "/usr/share/backgrounds/custom/space_station.jpg" + modkey = "Mod4" } return _M diff --git a/awesome/rc.lua b/awesome/rc.lua index 7f7d801..3f66e90 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -16,10 +16,12 @@ RC.vars = require("main.user_vars") require("main.errors") ------ theme stuff ---- TODO: implement a not-shitty way of handling multiple themes ---local theme = require("themes.spacestation") -beautiful.init("~/.config/awesome/themes/spacestation/theme.lua") -beautiful.wallpaper = RC.vars.wallpaper +local themename = "spacestation" +local style = { + vars = require("themes." .. themename .. ".vars") +} +beautiful.init("~/.config/awesome/themes/" .. themename .. "/theme.lua") +beautiful.wallpaper = style.vars.wallpaper ------- custom Local Library --- main @@ -69,7 +71,7 @@ root.keys(RC.global_keys) mykeyboardlayout = awful.widget.keyboardlayout() ------ statusbar -require("deco.statusbar") +require("themes."..themename..".statusbar") ------ rules --- rules to apply to new clients diff --git a/awesome/themes/neo/layouts/cornerne.png b/awesome/themes/neo/layouts/cornerne.png new file mode 100644 index 0000000000000000000000000000000000000000..c85bd56a3ccc2cd058c1ebdaeb9d7a8fb683b644 GIT binary patch literal 272 zcmV+r0q_2aP)MBRZ2 z3>(<}cWbp0auMp6wMn@j_;`tUkW1+kqT^ET6_p#nwJp7(N(1g*Dk^|?0a=y{$huuX zv=f*PIsInbL)@eVxFH5{XvH9DYs+|T6+k)}!H@#5{*9lr8ruH=Ji3EM(daK)y^e z0|NtliKnkC`+Zhfetwm&FLrw~Ffi~3_=LDJFfgoGu|i2n>EgwU&z?P-(5DSDlc^-g zFPP!L+wc4x3=9m6N#5=*OljOTDGUq@m7Xq+As(G?ryk@zpupiO+2rc8i}7y#vZ&Yn zj*9c5d|vJTz^^ZORO6!1hnb#Rvw{Tsti9GsX&#y!Xd3+^?7)T?#>Zu>0-8Rv=i~_& za(_JJReq`VNW*WQqHeQeS^1oItdg&)u;c`Xs3b>d{d0d|zxCmQU-^X=uL|_K?u1R8 UKGl$ufq{X+)78&qol`;+04)MuU;qFB literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/cornernw.png b/awesome/themes/neo/layouts/cornernw.png new file mode 100644 index 0000000000000000000000000000000000000000..dfe78b3da94de0befd857e47a253647df611d6ea GIT binary patch literal 263 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svnoCO|{#S9F**Fl)kNn>^e z0|NtliKnkC`+ZhfetzbFM|=tl3=I4MJ|V6Q3=Fxsxn^c&N=i!4o;_=Mv$maqfq}Us z$S;^-_HU;(duB5*Ffb;0ySuRTXWR^AU|`7iba4#vIG&s!A>wdCf?2}JmG>am6hl!7 zN7vp1Ts<2ZX1rL@bZ|jKLW-iRc^Rum!T}M1k|!CnWSqEO%vRedp2X7a_{ht@hHK-F z)*4nPj_Hbq6Gb$X|Fj)BA|@U&L)nw@TZ5C=^e z0|NtliKnkC`+Zhfem?zb#o#6e1_u5BpAc6D28L%~proYq?Afz4S0NP!1_tJmAirRS z_=f@!;j0-K7#Neh-CdXkd3-)GFfbH&x;Tb-98XS=5OFxc%534}DtnMC#6Z--(RJNKzs9Pp*~= zTp1j~o{d~ljJ%0S-P}57CN5#9c2HdE`NmP#C1=+HW(EeW+_1V3qwG)y1_lOCS3j3^ HP6^e z0|NtliKnkC`+Zhfets+d=WQAc3=I4MJ|V6Q3=BCrIZ8@OW@cv3o;|A+El6NsU|=c< z@(X6To~P2~&%nUInB?v5!qT5{GmwFSq0rOCF~s9|a)N}2g9j%E&q5P6VU8XLpHz+B zgDgxO(r$~5-RChiF}517n8?%IfMbuuLLBBW%}_4XYFO$y zhsz)-BjjL%rh-Hy%i`IeL`-L?xr-)r>&$7DsM^}GSwhBufx$p??SoSh>h~BJ7#KWV L{an^LB{Ts5TZ2jn literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/cornersew.png b/awesome/themes/neo/layouts/cornersew.png new file mode 100644 index 0000000000000000000000000000000000000000..f7cfa1c0db222304f9d880c023601c576fd5e040 GIT binary patch literal 264 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svnoCO|{#S9F**Fl)kNn>^e z0|NtliKnkC`+ZhfetzRJYr7r>1_u5BpAc6D28I@a^e z0|NtliKnkC`+ZhfegO`ytea*G3=I4MJ|V6Q3=BCrIZ8@OW@cv3o;|A+El6NsU|=c< z@(X6To~P2~&%nUInB?v5!qT5{GmwFSp}^C{F~sBe+bMxu42m2syPeeo@-O`5-yWdb zV{yU%%BHXTROBT3W?WJ~ace?^m#A0$)`%$4FRfG5IcowGJ_I%&h*WU66UqGOju5Nz zT^nPTA1dNE{Hz+6R<_z6GFX#%hdb=uyC?pvbw?C*>ev+Dy|r2Av{r}N;`$B-1_lOC LS3j3^P67Ic0000FP)t-s0001L;_|Dd}IIs0C7n~K~zYI?Uca@03i$n?ZH-T zAjJM_5-cBAW@FNCc@iPc+i# literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/dwindle.png b/awesome/themes/neo/layouts/dwindle.png new file mode 100644 index 0000000000000000000000000000000000000000..9902d22d9fe71e7fcb27ebb4dc6060e5d1bf6b1e GIT binary patch literal 320 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?#fQp nCjAuF$qWCS^mu6SfPsNiNSEPJ1_lP6k|4ie23I#vFYh}K9zJ^fMCP+T z$brS4E{-7{$CDEzL==AU2t_mr9q zrvkO)&;~{}heoLmFP7<{-W#-DFa{n!c<*Sqo8yZ>Ru`5j;_JRN2xc;`U`Vez@ImdG s*ISiIO!_ITlNbIu>G9Cu0Rsc4kS^nylCQTI7#J8lUHx3vIVCg!02Qcz*8l(j literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/fairh.png b/awesome/themes/neo/layouts/fairh.png new file mode 100644 index 0000000000000000000000000000000000000000..d41deead1ee2490ce0ada3a48c16a9a898535222 GIT binary patch literal 245 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?J=^$%UQA)!>*-!_6Ru*M%QO_fS&DI_VGG@v6PF|c@6ml?Q d))8igmT$J~ao3)zGcYhPc)I$ztaD0e0sv*YM`i#3 literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/fairvw.png b/awesome/themes/neo/layouts/fairvw.png new file mode 100644 index 0000000000000000000000000000000000000000..4f4ed52219e33c9189a536b712b3cc82f277ff4a GIT binary patch literal 246 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?Ul)4+1lek#w;1%$%`|KLJnrk cI>OA*^39e#?%Gpz1_lNOPgg&ebxsLQ0IRcB{Qv*} literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/floating.png b/awesome/themes/neo/layouts/floating.png new file mode 100644 index 0000000000000000000000000000000000000000..b8061a058bf7f52adb51d85c27d9294dc88dc566 GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?^6Nq~%deDgy&Uq^FBxh{y5d z1PPG?$!cN&Jxdk{&2Gx{;7UtkUCiYs+M~6gm#Kp9=;8z^MONdNOBuo$nZgtLd>w@* zF~u|_vG%lxbR=mg2&69NYMavJ^(R#N+LoCn7Fu}>rz$o(_1EW}W?*1o@O1TaS?83{ F1OT(#Q0)K! literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/floatingw.png b/awesome/themes/neo/layouts/floatingw.png new file mode 100644 index 0000000000000000000000000000000000000000..481589427960286e42e6c5c4e764e1222dccf10d GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?>@(X5=_4M-I_UQ4GmPawE3=9mBo-U3d z9>lCcZQz;03CZsP%%N zFX}ho(MS2V;Ipwe=t2SiW42_n*)BVCrtNG!Cpjs-@=h`8S5d z%Md=Q#!;|cmtq6+mxXXC-tud^uJdYRzA^w$-t+D>*XoMjA6K`yDRNfws0E7+}LSGu)9``0l z;J0V+rtRX5B}n+C$XEzLh<`DZ6q!LuQYi4LB@leY8%vV%rpbBs-p1W0v_uR6a>!|N zry;UK##IyAXydgIdd?^SPD17fJ;A*V+r+zidK3VTLWbC=AhawkTwNCL-*u~ zK?r|z#k+c%6aY<;rjDxjSO^;AxNil%>2*A}=N*O={mgyGrjM@##Ux^OQ}&y@BE$gH s0Q~odrs@+4VP7P5^T9|qHa6M*0ydFz%Ff(hL;wH)07*qoM6N<$f+5&_C;$Ke literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/fullscreenw.png b/awesome/themes/neo/layouts/fullscreenw.png new file mode 100644 index 0000000000000000000000000000000000000000..5c35bfa8afe6c4f091f3895d92c50f845df52483 GIT binary patch literal 865 zcmV-n1D^beP)DEINg2jB%EarEGlDCI7^0NIKDE~nlw6Yw>-q|E}IwOrD#hdl~f3bJRyW_bzF)=YQ%_^13 zn{v5agdfb97ocr@BminSgW?D7L;-Lx%Ps)o0)Wly$Lsa_*?c~KahMm2#l>2!c9$IY z+$Q?yGXm~YAA|m=@33=IYCA(F92Hli(KyEj&}=r(j}X5;Veye6v|6nTYydRB4r@!7q6%bM ziB0J3K(Vs{U?8~^^3c>vKz6qa{}dD>B~CU5!OIC2uS3`fi1P{?07lZQzT+F}gh|Wu z_i;OX)ni5ae9guza9un0IicbMAz&7`!3N+s&drpF{|^EFO(jCN*Z?q)+{V51B_-l@ z2;Xrv+_5nT{($eL@Y$ar{FDU|0U!VbfB+Bx0zd!=00AHX1b_e#00O`WfR|#yo{dG( zxA@#np?Fs<08*GlI2*N+{);34=?eP>qa3T7+)$MVAfdsx= zf_IWG-dce~P>DRp9nPEjzSaW}p5D0C0^<2aR9h+t24(4p$lIzs9OEa0kCaYCww2?vM9cdB~xQBej1CEQ>c`-ztzca;SB1v5y?$a;EtZ`r!-(c>q@nn_m~ z7#KP{T^vI^jwdHbh$uYQlgT-HEd55ez>e15^9ACZ36J?@SzBiuT->A=L^I+6CU%+vbN4RxVUkV17k3w zaTimLqR*^h3hUfqQ literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/max.png b/awesome/themes/neo/layouts/max.png new file mode 100644 index 0000000000000000000000000000000000000000..8d208445cde503e0d87b2093e7037837fadeedcb GIT binary patch literal 574 zcmV-E0>S->P)@N91~|2d8IGJY!}#r1<)>smylXp1+K zV(YVd0_#f(OOZ8cce~li4CHMg$q$lDhO99f8X6k80I&_<1HfEZn*nIM0L%nVe$l2b z0CUMr0RjU^ZHo_pnfr@AiRdymfNZ&6X17)k(`5YgKz4ZuV*K?P6%1yBG5P=H_o#sJ=HoY0r= zEwVHKo7=alNLG9ReCr9N01(mhBE1a(z>Xu`6u>Zls|y9dj^(&&fb5U&g8^_sSQ#K+ z!wVU}me&r;2Iv)h9~^+)828HpxcTS%AOY;yb^-jv46s+q5+I`61}=evvNyrI25o{z zRUL!(%az?|j=_c`Lg&$@!bEhj>C4b4l*HL;tDtQ=n7OcPENtkeSb1 zYj|Sw03tdqs@}$u2%P}f(M(VQ!UBl?r>VA3gefy`>5q{b8XEcd1wN^@(7L|o(*OVf M07*qoM6N<$f^MSfcK`qY literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/maxw.png b/awesome/themes/neo/layouts/maxw.png new file mode 100644 index 0000000000000000000000000000000000000000..85f5ce3afaa2270aaf11850ebb6360a02ed3db15 GIT binary patch literal 581 zcmV-L0=oT)P) uv`izevYixPJ1_lP6k|4ie23I#vFYh}K9zJ^fMCP+T z$br?KE{-7{$CDEzL==AU2t_mr9q zrvkO)&;~{}2S<|~IYG>YLWPyWFZRj_JhzZztzbIE{ifcAYeKA90GGnU2K!wftA#CZ y_NcH%XqiS_WjiSzcY;gp@TF#PrFb3-28K>8UB@@(OLuU){hW`PX9M5seND~qzX=ys;#2PY~BW*Tu=b3Z&Q^hRe%!=ZCh tp$`6F*?IpqY;?Q)WJS|OlTJV91)U^Ld$9?|udb1_n=8KbLh*2~7Yngi)FR literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/tileleftw.png b/awesome/themes/neo/layouts/tileleftw.png new file mode 100644 index 0000000000000000000000000000000000000000..cf14c25e6dfcea21b1ce34e1a8e26da6d865f895 GIT binary patch literal 266 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?j?-Os?lz~JfX=d#Wzp$P!4SYa^$ literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/layouts/tiletop.png b/awesome/themes/neo/layouts/tiletop.png new file mode 100644 index 0000000000000000000000000000000000000000..98cade20c8ad66f318a3c9ce484f54c7f5cc0fc4 GIT binary patch literal 260 zcmeAS@N?(olHy`uVBq!ia0y~yV6XsT7G?$phNu;4x(o~q%*9TgAsieWw;%dHU|?Y2 zEbxddW? su?b{yNJ~sz;v5;A_O8z7C5JBlW?*1o@O1TaS?83{1OWWfVFLgF literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/statusbar.lua b/awesome/themes/neo/statusbar.lua new file mode 100644 index 0000000..14615eb --- /dev/null +++ b/awesome/themes/neo/statusbar.lua @@ -0,0 +1,84 @@ +-- Standard awesome library +local gears = require("gears") +local awful = require("awful") + +-- Wibox handling library +local wibox = require("wibox") + +-- Custom Local Library: Common Functional Decoration +local deco = { + wallpaper = require("deco.wallpaper"), + taglist = require("deco.taglist"), + tasklist = require("deco.tasklist"), + borders = require("deco.borders") +} + +local taglist_buttons = deco.taglist() +local tasklist_buttons = deco.tasklist() + +local _M = {} + +-- Custom Local Library: widgets +local volume_widget = require('awesome-wm-widgets.pactl-widget.volume') + +-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + +-- Create a textclock widget +text_clock = wibox.widget.textclock('%l:%M %p :: %b. %e, %Y ') + +awful.screen.connect_for_each_screen(function(s) + -- Wallpaper + set_wallpaper(s) + + -- Create a promptbox for each screen + s.mypromptbox = awful.widget.prompt() + + -- Create an imagebox widget which will contain an icon indicating which layout we're using. + -- We need one layoutbox per screen. + s.mylayoutbox = awful.widget.layoutbox(s) + s.mylayoutbox:buttons(gears.table.join( + awful.button({ }, 1, function () awful.layout.inc( 1) end), + awful.button({ }, 3, function () awful.layout.inc(-1) end), + awful.button({ }, 4, function () awful.layout.inc( 1) end), + awful.button({ }, 5, function () awful.layout.inc(-1) end) + )) + + -- Create a taglist widget + s.mytaglist = awful.widget.taglist { + screen = s, + filter = awful.widget.taglist.filter.all, + buttons = taglist_buttons + } + + -- Create a tasklist widget + s.mytasklist = awful.widget.tasklist { + screen = s, + filter = awful.widget.tasklist.filter.currenttags, + buttons = tasklist_buttons + } + + -- Create the wibox + s.mywibox = awful.wibar({ position = "top", screen = s, height = 25 }) + + -- Add widgets to the wibox + s.mywibox:setup { + layout = wibox.layout.align.horizontal, + { -- Left widgets + layout = wibox.layout.fixed.horizontal, +-- RC.launcher, + s.mytaglist, + s.mypromptbox, + }, + s.mytasklist, -- Middle widget + { -- Right widgets + layout = wibox.layout.fixed.horizontal, + wibox.widget.systray(), + volume_widget{ + widget_type = 'arc', + tooltip = 'true' + }, + text_clock, + s.mylayoutbox + }, + } +end) diff --git a/awesome/themes/neo/submenu.png b/awesome/themes/neo/submenu.png new file mode 100644 index 0000000000000000000000000000000000000000..b2778e2ebe7f632abc51257e3609992bda592a83 GIT binary patch literal 440 zcmV;p0Z0CcP)P000>X1^@s6#OZ}&00004b3#c}2nYxW zd2z8Hj+`L9UQg2LG>t}MEh2;Ea(U|nQA(kdBAd<9YPAv(`2en+Ap7$9 zJe^KwE+TKhr4wXdu~;OEA~PC|UVw8a$i8y9{L}CE<2a6=fKw-kQVQSqsaC6BA~H^r zH=O_8VMG{L02RRJS%U zFfd4#xJHyX=jZ08=9Mrw7o{eaq^2m8XO?6rxO@5rgg5euGcYiSdAc};Se#D&;m=^u jBfz>iL8OO?hk;=p$A8B7x)>D(1_lOCS3j3^P6H=O_8VMG{L0#=J$0`z zFfd4#xJHyX=jZ08=9Mrw7o{eaq^2m8XO?6rxO@5rgg5euGcYj7c)B=-Se#D&;m=^u qz$ufEp?To-*+2s>H%2xFhU0np6O*PM?O|YGVDNPHb6Mw<&;$TozB6b5 literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/theme.lua b/awesome/themes/neo/theme.lua new file mode 100644 index 0000000..672b570 --- /dev/null +++ b/awesome/themes/neo/theme.lua @@ -0,0 +1,153 @@ +------------------------------ +--- spacestation - ngoomie --- +------------------------------ + +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local gfs = require("gears.filesystem") +local themes_path = gfs.get_themes_dir() + +local theme = { + color = { + transparent = "#00000000", + dark = "#3b3b3b", + white = "#fbfbfb", + black = "#191919", + }, + fonts = { + main = "Noto Sans CJK JP " + } +} + +theme.font = theme.fonts.main .. "Medium 9" + +theme.bg_normal = theme.color.dark .. "70" +theme.bg_focus = theme.color.white +theme.bg_urgent = theme.color.dark +theme.bg_minimize = theme.color.transparent +theme.bg_systray = theme.color.transparent + +theme.fg_normal = theme.color.white +theme.fg_focus = theme.color.black +theme.fg_urgent = theme.color.white +theme.fg_minimize = theme.color.white + +theme.border_width = 0 +theme.border_normal = theme.color.dark +theme.border_focus = theme.color.dark +theme.border_marked = theme.color.dark + +theme.notification_font = theme.fonts.main .. "10" + +theme.notification_bg = theme.bg_normal +theme.notification_fg = theme.fg_normal +theme.notification_border_color = theme.border_normal + +theme.tooltip_fg_color = theme.color.white +theme.tooltip_bg_color = theme.color.dark .. 38 +theme.tooltip_border_color = theme.color.dark + +theme.prompt_bg = theme.bg_normal + +theme.tasklist_bg_normal = theme.bg_minimize + +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] +-- tasklist_[bg|fg]_[focus|urgent] +-- titlebar_[bg|fg]_[normal|focus] +-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] +-- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] +-- Example: +--theme.taglist_bg_focus = "#ff0000" + +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- notification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] + +-- Variables set for theming the menu: +-- menu_[bg|fg]_[normal|focus] +-- menu_[border_color|border_width] +theme.menu_submenu_icon = themes_path.."default/submenu.png" +theme.menu_height = dpi(17) +theme.menu_width = dpi(100) +theme.menu_bg_normal = theme.bg_normal +theme.menu_bg_focus = theme.bg_focus +theme.menu_border_color = theme.fg_normal + +-- You can add as many variables as +-- you wish and access them by using +-- beautiful.variable in your rc.lua +--theme.bg_widget = "#cc0000" + +-- Define the image to load +theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png" + +theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png" + +theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png" + +theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png" + +theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png" + +theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png" + +-- You can use your own layout icons like this: +theme.layout_fairh = themes_path.."default/layouts/fairhw.png" +theme.layout_fairv = themes_path.."default/layouts/fairvw.png" +theme.layout_floating = themes_path.."default/layouts/floatingw.png" +theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png" +theme.layout_max = themes_path.."default/layouts/maxw.png" +theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png" +theme.layout_tile = themes_path.."default/layouts/tilew.png" +theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png" +theme.layout_spiral = themes_path.."default/layouts/spiralw.png" +theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path.."default/layouts/cornernww.png" +theme.layout_cornerne = themes_path.."default/layouts/cornernew.png" +theme.layout_cornersw = themes_path.."default/layouts/cornersww.png" +theme.layout_cornerse = themes_path.."default/layouts/cornersew.png" + +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) + +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.icon_theme = nil + +return theme diff --git a/awesome/themes/neo/titlebar/close_focus.png b/awesome/themes/neo/titlebar/close_focus.png new file mode 100644 index 0000000000000000000000000000000000000000..01ef82565db041f356c02173b69cc60d4275ebac GIT binary patch literal 966 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+!p@Y%CxAU={tIC%d2Ih>6Quqws{a2Y}pSh?crQU(Twh>{?` zUfG;HSx%;|j5dv8LB%fu;@bi8u|zy13kFQhKJyZHUPH!oh_%ddWC zbNfg?BZ)Qyg37OYG9Q-`~Bp(X`{!8pk>2(qa#L*_Qti`YaP#Uuk+u(t^7_ zdF~paP{J|6*2j-lPRV)5+^5uo)dZbU}NI3!xH&#_wHX-eyB!Hp|R-s0rNAJCl;h+{(Bg;_RxXDs;BNrZ{v$? zp4cwswV&yD!lQ+)pW+kp4L%#VG)?^Zr=yT%zQ=`a&m#{TpSo^olf2^A){Waew+Ftv zwbk(a%=s%7yC?0gxtHM)m8Z7)*V)wDkJx7J zOz4nGDLERr{onC!NsYK84>B)_pFN(sobCTfhR0EkPmaCy4lhx*)mt9sA}x9Ar0DxN mx5Hs?wPy2pv?c}y1_n=8KbLh*2~7aJ#xd0Z literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/close_normal.png b/awesome/themes/neo/titlebar/close_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..5448ed8f9c92f048158c9b0e9115b0531926b5b2 GIT binary patch literal 966 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+$hy#vSY`Nb?eq`+qP}px^){jZrr+c>y8~e zwr<_JapT6#n>WK5TefW3xN+mAO`A4v-V7l(Zw3iM$Sqs8Km?H)AQfN$7ev;JW(X#L z7*0E|LO;EUfq@~SB*-tAft!a{Ku}0nR7_k#Qddvkz|hFp#MI0`ATTH-G$}bHEj^>W zp{cp0wXMBl;@0gucJA7}ci;X4m#pT@CLP$CmjLyL9gNcW-Sp?fA6DagMpP*u!47 z<$r`e%Y@cfnx2xh;I2=eyN2(rCj`Jjb8BPm-Fh$3KIj3XQihrE^`B%@gq5LEQ;#liIWAL|#7Fn0V~4ME={o`T z9!9M_bl|Y+se97f_+pzUwo7^KXF8tnXkqK8_=J3e&jv0{6Mz2cC}f%Maber@$iv2` zu3Oq9ueh~!<95&Of$wf@H9S9a{z}E}NxN(AWq3s8sjdEXcJ&2ki}J&B?*}-~^pKtO z`E=r@HWS4UnIiW?HJYC-<_`_|za?R+#g%g}lK*x-O>O<7>oSY+7i*aM)X|**so(I}*k1pSTF`yO}r*lyDe4UHx3vIVCg!0Gguw A3jhEB literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/floating_focus_active.png b/awesome/themes/neo/titlebar/floating_focus_active.png new file mode 100644 index 0000000000000000000000000000000000000000..82dcc7ca6d97a2a90afcde2bd3be3e4826e0d5f3 GIT binary patch literal 386 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+kzdUuwAfkCDu$S;_I zS<%GQ%*N9^LRd z@R{|4W5RZZUIvlRtIS-O63$8Auxb3ViQ(jrYb6Jmp8Rs;5ct77VP&;Cb7HmD?@9bZ a)n&{Z9_`x;5FHT}$V6gFYaSZV|o}3`T zT96>b#q5_MqfyY>-MXM~fr1F*1&hU8ZlV(wHzZ67ZtS*PROnWGZADWc>tUO8UIPY( ZY9o7|^Lu{wFfcGMc)I$ztaD0e0szeLPPqU8 literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/floating_normal_active.png b/awesome/themes/neo/titlebar/floating_normal_active.png new file mode 100644 index 0000000000000000000000000000000000000000..62342d19e7a9fad2384d3ebb68e065de18a05400 GIT binary patch literal 386 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+K?1gt2AI7P!df%^)sB77bt(pZB1-je&td zrXF6Kd*Skx+jj0gaPHRK`>#Iz`1LnVyzo5(14F5&i(^Q{;kVb# z`5GK}Tmp;E6*lhtZ<(37K{uEA(x1Ax$EO?*+*o|eF}Iubzy@|J#tm;S3M)7?Ff{fv zax?5WCEW0t^@C%=c7|RCkY*C2?_%SPgg&ebxsLQ04Q9lQvd(} literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/floating_normal_inactive.png b/awesome/themes/neo/titlebar/floating_normal_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..e2bbdfa1793b1bff74d7a745e952778a672eaf3c GIT binary patch literal 237 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?ZudwX2f6hJg7PGT?7$r1tilo5VCphy0`rb4#}f=SwJ{#d z(X}BSOo_EV9*pn53M#Vl^vAYsa-8(}GDFqM74CcqzUqvz7q|sCw52G#SjH0JoPI!! zqrtRmdKI;Vst0D!~JeE{ujhUwf&Ccl*oU>S&fpVhyk62wdI5@T_HpALnu_^%VX~OcKJA znvd%K%b(MJT)>IrA*;{sj*54m#pGwC2`-$3!(&+A9(RJavQSg9bsv(U_YS8&{52A fXXfoM&!l-fUCU}Oe|*lsz`)??>gTe~DWM4f3Mjr^ literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/maximized_normal_active.png b/awesome/themes/neo/titlebar/maximized_normal_active.png new file mode 100644 index 0000000000000000000000000000000000000000..a705f8164298c1f1741425effec9ad1d57ce37ed GIT binary patch literal 480 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+b*zg zU5-gF+-5F}_Tjl(lveY&`4hkV)$=(zzt{FIyd5LC>+RgYPeSI6f!A2|4ZLo@U~&5? z6QO+dxx9(wF3&UeuU7Hjeyf_e=c@dYSqA#u-PN}}HZ4nHU|?YIboFyt=akR{0Q$tm A4gdfE literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/maximized_normal_inactive.png b/awesome/themes/neo/titlebar/maximized_normal_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..4c1ab1f91f3191b9f1324a7aebdc82fb5cf83baf GIT binary patch literal 452 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn%*9TgAsieWw;%dHU|?Y2 zEbxddW?6SvMgRn@;m!=S=+yaFq@_z(2%I91^@U2;x^&-pdMDE+%d<;j-ESM5*FJMr( z=E&KwcK&WAg{pT&ANp1{{ylB`CjOn|nV;9|zxJy?)7|EnP+Sltp!~p#r;*!`P45Ux og9ZBmJ%)~AhC4HFe|aX&+v!?Xd->yY1_lNOPgg&ebxsLQ0OpOh7ytkO literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/minimize_focus.png b/awesome/themes/neo/titlebar/minimize_focus.png new file mode 100644 index 0000000000000000000000000000000000000000..caaceb296dc2e49a723b425a62aa12b6cc060ce0 GIT binary patch literal 234 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svnoCO|{#S9F**Fl)kNn>^e z0|NtliKnkC`+W{JVI`*AYON#&1_tQ>pAc6D28L(Po;?SHXE5;m`Sbt(|3Ch{&wzn} zfvqISFPMQnEBn)r$YMb=1_lPkByV>Yj<$PKs~8v%=Gi%x^rnmgNO=iW(1=q*Qt#44GW|>s)AW(Go@cSAmYN#w3stTq=)GiBSWcv X*q`h3SM6nBU|{fc^>bP0l+XkKH78B; literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/minimize_normal.png b/awesome/themes/neo/titlebar/minimize_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..36621d0f3993fb0739d99558b5b46838c3a87e41 GIT binary patch literal 225 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svnoCO|{#S9F**Fl)kNn>^e z0|NtliKnkC`+W{JVO5=fZ#HHzFfd32_=LDJFfeT1ym`~6O`DOx|NsB5-n}i&z`(#( z666=mz@C-;=|^O-pcw-L17ni6y9>KmV#jL+1_oPC7sn8f*71ni+90AlTu;Y^@t27K>X{7b~zyym%qYx;VjtnIV07*xm_OUobH+ PFfe$!`njxgN@xNA+b~Dk literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/ontop_focus_active.png b/awesome/themes/neo/titlebar/ontop_focus_active.png new file mode 100644 index 0000000000000000000000000000000000000000..312c00ba8246608404568b1338cba9b264847bdc GIT binary patch literal 467 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+ue;>F9CFJFMcvuDqq!vKW+^yyQGz*8`I{v5=3MlJ~3 zGc}cgfkCY#$S;_Il}$`sN7uvC%R4r%yrZ+Ld&SCCTefc7fAGwu%U2#eeDwIqk3WAE zmMVKOFfh#Xba4!cIQ;hdNxmink=Dd55eGTv1URI=`)#ijJ!!L*rdsTr`t#GDOZNP-rEi5d;|rNk?gnLH1&0O(#{VpA?|w2iShL?@xH0dX%W>a^>DiYIlz+Uf)xXZx zFp=4f!HchgSs-5CWhZBWbZ(%aZ8<~D4#jH>J~9T3AHK#m)*2dX@XU5m_ pP2V%W{JY_&xzP7Z^O9+2*)B-3tX(;ymVtqR!PC{xWt~$(699N_>URJD literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/ontop_focus_inactive.png b/awesome/themes/neo/titlebar/ontop_focus_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..a48e1c5c7a4b20a783fb8afe704616531d367039 GIT binary patch literal 604 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+E#_5o}O1+Qd!mBJ!!_AMXOeC+_`W6=?m9x-GB7> z$@>qVzyA33=kGs(nrT}Z7#Plbx;TbJ9DX~^U92g9hv8sTmxkB|?XJDevM2wZf9fWm z5i#MsTkXuhXP&7udM3>f=w%it@D(X&Y-wha(|xe;K$lp=qJ}JA&WKm<_pDo|{(0-( zXun6|+Zc8)+A%+xnIY%XqPnz?HJ{ham_KXpvb1?(ADv+e1FMYrN z*W2@NUtajrcgx-HVn^48@FuPvK0(AZQ8VX^X4sEwxBT}f^ZTUKvWU~ zzOkO|W?*1YD+%%oW?*F#6W7u8@bvPIjVtfy?CM^za@Cft+x8zkbLsMx2M-@Te)8kb zUxlU0UJMKj^E_P~Ln02py?&Cf$v~tvaZAKO&N%@NsqcQtS z3AlRcT7BtT;m!C$CX~BDSy;iLfr0Tq3){P&j1AW8cNlKWJLhuTw_$qrB?ILjZ)^3h zvo%a)c4P43t6&z0mv`C8Ss;GP_skv8iS9F0po|Sv5mEc#u_;dw=;~M`Rk}PXi&ZuQzU|{fc^>bP0l+XkKmkiVP literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/ontop_normal_inactive.png b/awesome/themes/neo/titlebar/ontop_normal_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..d3a10c8a7d1f94a8f99dfbcda0e8338beef56657 GIT binary patch literal 604 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+(_7Iym{NUZ5uakgfO;l-MVq(#w}a6 zY~8wbGZ<{zv}yC^&0Dr?LE|EeZ`lIkZUF;`GBf~D3;}SX2!biu>^~V87;H*{{DK)6 znOWF4IC%v`M8&0LA_Z>PD7H3jf69Bk^+5Zj>LwYORJWkmbu6@#_7ab?ekWZ`~X1 z_egvj!|p{p=0`I#zcU+gvF;8l$Mn@w@#WqbI!bl%T}yjyJ5?=?K}4FKX&HI z^@oq1y?g)Z%h&Hee*OOQ_uoga-#-`_7@m5%IEF+VetYFO-ys75mVnFE?**#f@7><= z_kX<-lcvS9C$Wr9pXLWjd5)PZ;5C&BVC-dkqUgJiAO g9vt|y{SM>n)Qs43)4r%MFfcH9y85}Sb4q9e0FJV45&!@I literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/sticky_focus_inactive.png b/awesome/themes/neo/titlebar/sticky_focus_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..21b000d89e24c824a5080b2f57f12e3e83ae3299 GIT binary patch literal 758 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+Ca7cXACef##|!-p?lzI^iJ$IYUVkIS|3tH#6IE+rHC}?ax_4|K+A+wN`PEhRg z9jESoeROZ#WUm$j37-F5*7Zj|#fsJ(vuKoQ;6KO1%rHk%iD7*KYuZANw1>QV4(T4y zIY#54*PCd)D18 zrBQ#^^LyjF`+Mel#yf7BpTok!{(tN2r`@%Q1`<4eKUmL+G_G+s5sF}7U|{fc^>bP0 Hl+XkKij1~F literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/sticky_normal_active.png b/awesome/themes/neo/titlebar/sticky_normal_active.png new file mode 100644 index 0000000000000000000000000000000000000000..bdb5595dbafe4cd35499dc8c638f26ce27ceb835 GIT binary patch literal 654 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+F%$ZfIR_))vf7Pm0+qP}nv17;9ty?#3+O%cMmW>-X zZr!?dycwYYE`=tzX%k2p zgL6rcUoZnBGbLa7qLPZ5x`vjvu9<5!j&3=geEU zY{lxe8@6oQzGLtHV`r{hfB5LxyZ4{IeEt68*Y7`n|9$lO{eyvl;i;#KV@Sl|w^xqy z9WoGL3AkMSUZCpz-t8@a|JN%qX<9sc63giHX-?5hb#J+LLs8MG=hLjVrz>#3IWX_) z^~S9XIw_5F7*bLgj~}@ve=6Sj$(gVHjz?UlSuW^^Z2F$|m0$15G#>67hOB=$I`*d( z@Fq0ynJ=+gG~dADfzTxOUE7XdSs=?$+%oTjeTLV!$!!cT0xcKtCq)%C{A0`6sO_?D zBF~g9?yu4||N5h|;GXjtmOniL=Xw43xDJ?YQ2Bb3=a|U?UQ?+6#$L83ir&nZCM;r1 v{BV)s`#eG8MNCqn9)XPN!GS;9?=Zej&4@iW?TZQn0|SGntDnm{r-UW|I66g_ literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/titlebar/sticky_normal_inactive.png b/awesome/themes/neo/titlebar/sticky_normal_inactive.png new file mode 100644 index 0000000000000000000000000000000000000000..a96b9b1951dee732d570ce3afe9512f9e4546d8f GIT binary patch literal 758 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4rT@hhPm4t-!L#RFc&*{hH!9j+VLqo%=Rjc;z-@j_rs%_i0K^QxC?%cL*+m8^9hQ}$SNqSs;O&e>l+vvo0(g< zc=`DG2ZqKbWMq|=*L8ID^z~1iHhb>;1q&B1S-NcJf%BJd+5CqoAjYV@Sl|x06qXF&PTDGBar{R#H;BpmmOm!{~&Hg2v`kzyJ3a zG7DMh1jRnzaq8~ZNB7oE_G&SZ;Q8NWU4P_LtZ2Lt1Ps|-T^zFax)t@V1p(BI4d%3QzH|GN0< zJKK~$vkuSi36Z_K;oC*kW6^*7JpRAo|F!0SzV3w@#YN1w-#IsR#f|F_P5+FhGyAi?AJgY}$9;~IApp$G;B O1_n=8KbLh*2~7aA1B5yN literal 0 HcmV?d00001 diff --git a/awesome/themes/neo/vars.lua b/awesome/themes/neo/vars.lua new file mode 100644 index 0000000..b3f74bf --- /dev/null +++ b/awesome/themes/neo/vars.lua @@ -0,0 +1,5 @@ +local _M = { + wallpaper = "/usr/share/backgrounds/custom/space_station.jpg" +} + +return _M \ No newline at end of file diff --git a/awesome/deco/statusbar.lua b/awesome/themes/spacestation/statusbar.lua similarity index 99% rename from awesome/deco/statusbar.lua rename to awesome/themes/spacestation/statusbar.lua index 7a668f0..77ecffa 100644 --- a/awesome/deco/statusbar.lua +++ b/awesome/themes/spacestation/statusbar.lua @@ -81,4 +81,4 @@ awful.screen.connect_for_each_screen(function(s) s.mylayoutbox }, } -end) +end) \ No newline at end of file diff --git a/discord/data/stable/custom.scss b/discord/data/stable/custom.scss new file mode 100644 index 0000000..4711a95 --- /dev/null +++ b/discord/data/stable/custom.scss @@ -0,0 +1,27 @@ +// --- SQUARE ICONS +// -- border radius vars +$small: 4px; +$medium: $small; +$large: 6px; + +// -- clear mask that makes icons round in various spots +foreignObject[mask*="url(#"] { + mask: none; + //! SIDENOTE: while this removes the rounding, it also removes any cutout for the status icon. i'm going to be frank and say i think this looks like shit. i will look into crafting my own SVG instead at some point if i can, as an alternative to just entirely clearing it (but i'll still be using border rads for custom icon rounding) +} + +// -- now apply border rads +// - user list icons (DM list, server member list) +.wrapper_edb6e0 svg foreignObject { + border-radius: $small; +} + +// - user icons in chat +.avatar__08316 { + border-radius: $medium; +} + +// - profile modal icons +.clickable__35918 svg foreignObject { + border-radius: $large; +} \ No newline at end of file diff --git a/discord/data/stable/settings.json b/discord/data/stable/settings.json new file mode 100644 index 0000000..94080c4 --- /dev/null +++ b/discord/data/stable/settings.json @@ -0,0 +1,37 @@ +{ + "general": { + "voiceDisconnect": false, + "showToasts": true, + "mediaKeys": true + }, + "addons": { + "addonErrors": true, + "editAction": "detached" + }, + "customcss": { + "customcss": true, + "liveUpdate": true, + "openAction": "system" + }, + "editor": { + "lineNumbers": true, + "minimap": true, + "hover": true, + "quickSuggestions": true, + "fontSize": 14, + "renderWhitespace": "selection" + }, + "window": { + "transparency": false, + "removeMinimumSize": true, + "frame": false + }, + "developer": { + "debugLogs": false, + "devTools": true, + "debuggerHotkey": false, + "reactDevTools": false, + "inspectElement": true, + "devToolsWarning": true + } +} \ No newline at end of file diff --git a/discord/plugins/CollapsibleUI.config.json b/discord/plugins/CollapsibleUI.config.json new file mode 100644 index 0000000..a419fe6 --- /dev/null +++ b/discord/plugins/CollapsibleUI.config.json @@ -0,0 +1,46 @@ +{ + "currentVersionInfo": { + "version": "7.4.2", + "hasShownChangelog": true + }, + "cuiSettingsVersion": "10", + "disableTransitions": "false", + "transitionSpeed": "250", + "disableToolbarCollapse": "false", + "disableSettingsCollapse": "false", + "disableMsgBarBtnCollapse": "false", + "enableFullToolbarCollapse": "false", + "dynamicUncollapse": "true", + "dynamicUncollapseDistance": "30,30,30,30,30,30,30,30", + "dynamicUncollapseCloseDistance": "30,30,30,30,30,30,30,30", + "dynamicUncollapseDelay": "15", + "autoCollapse": "true", + "autoCollapseThreshold": "500,600,400,200,950,0,550,1000", + "conditionalAutoCollapse": "false", + "autoCollapseConditionals": ",,,,,,,", + "resizableChannelList": "true", + "resizableMembersList": "true", + "channelListWidth": "0", + "buttonsOrder": "1,2,4,6,7,3,5,8", + "dynamicUncollapseEnabled": "true,true,true,true,true,false,true,false", + "disabledButtonsStayCollapsed": "false", + "keyBindsEnabled": "true", + "keyStringList": "Alt+S,Alt+C,Alt+T,Alt+W,Alt+M,Alt+U,Alt+P,Alt+I", + "settingsButtonsMaxWidth": "100", + "messageBarButtonsMaxWidth": "200", + "messageBarButtonsMinWidth": "40", + "toolbarIconMaxWidth": "300", + "profilePanelMaxWidth": "340", + "toolbarMaxWidth": "800", + "userAreaMaxHeight": "300", + "msgBarMaxHeight": "400", + "windowBarHeight": "18", + "collapsedDistance": "0", + "buttonCollapseFudgeFactor": "10", + "serverListButtonActive": "true", + "channelListButtonActive": "true", + "msgBarButtonActive": "true", + "userAreaButtonActive": "true", + "profilePanelButtonActive": "false", + "membersListButtonActive": "true" +} \ No newline at end of file diff --git a/linkdir.pl b/linkdir.pl index c6315fd..89ba64e 100755 --- a/linkdir.pl +++ b/linkdir.pl @@ -14,12 +14,21 @@ my %confDirs = ( "omf" => "fish", "picom" => "picom", "rofi" => "rofi", - "BetterDiscord" => "discord", "Thunar" => "thunar", + "polybar" => "polybar" +); +my %otherDirs = ( + "/home/nu/.var/app/com.discordapp.Discord/config/BetterDiscord/" + => "discord" ); +# mount from %confDirs while (my ($key, $value) = each %confDirs) { `mount --bind "/home/nu/.config\/$key" "/mnt/Storage/(500) Programming/598. Groups of smaller projects/dotfiles\/$value"` } +# mount from %otherDirs +while (my ($key, $value) = each %otherDirs) { + `mount --bind "$key" "/mnt/Storage/(500) Programming/598. Groups of smaller projects/dotfiles\/$value"` +} print("Done!"); \ No newline at end of file diff --git a/miscellany/yt-dlp.pl b/miscellany/yt-dlp.pl new file mode 100755 index 0000000..c54b8ee --- /dev/null +++ b/miscellany/yt-dlp.pl @@ -0,0 +1,53 @@ +#! /usr/bin/env perl +use warnings; +use strict; +use utf8; +use YAML::Syck; +use File::Slurp; + +# vars with static values during runtime +my $skip = " Skipping...\n"; +my $conf = LoadFile('yt-dlp.yml'); +# declare empty vars for use later +my $site; +my $type; + +foreach my ($url) (@ARGV) { + if ($url =~ /^(https?:?\/\/)?((www|m)\.)?(youtube(-nocookie)?\.com|youtu\.be)/g ) { + + $site = "yout"; + print "[".$url."] YouTube URL"; + + if ( $url =~ /((watch\?v=)([0-9A-Za-z_-]{10}[048AEIMQUYcgkosw])|playlist|watch)(&|\?)(list=)(PL)([A-Z0-9]{16}|[0-9A-Za-z_-]{32})((&v=)([0-9A-Za-z_-]{10}[048AEIMQUYcgkosw]))?&?$/g ) { + + $type = "lst"; + print ": playlist\n"; + + } elsif ( $url =~ /((channel\/)(UC)?[0-9A-Za-z_-]{21}[AQgw]|(@|\/c\/|\/user\/).{1,})$/g ) { + + $type = "usr"; + print ": channel\n"; + + } elsif ( $url =~ /(watch\?v=)([0-9A-Za-z_-]{10}[048AEIMQUYcgkosw])(\?t=\d{3,5})?$/g ) { + + $type = "vid"; + print ": video\n"; + + } else { + print "\nCannot determine whether this is a video, playlist, or channel.".$skip; + } + + } elsif ($url =~ /^(https?:\/\/)?((www)\.)?(bilibili\.com)/g ) { + + $site = "bili"; + print "[".$url."] Bilibili URL\n"; + + } elsif ($url =~ /^(https?:\/\/)?((www)\.)?(nicovideo\.jp)/g ) { + + $site = "nico"; + print "[".$url."] niconico URL\n"; + + } else { + print "Unknown or invalid URL: `".$url."`".$skip; + } +} \ No newline at end of file diff --git a/miscellany/yt-dlp.yml b/miscellany/yt-dlp.yml new file mode 100644 index 0000000..502e32b --- /dev/null +++ b/miscellany/yt-dlp.yml @@ -0,0 +1,5 @@ +default: + video: --write-thumbnail --write-link --write-info-json + +youtube: + video: --write-thumbnail --write-link --sponsorblock-mark=all --write-info-json \ No newline at end of file diff --git a/polybar/config.ini b/polybar/config.ini new file mode 100644 index 0000000..d407fe2 --- /dev/null +++ b/polybar/config.ini @@ -0,0 +1,172 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +background = #282A2E +background-alt = #373B41 +foreground = #C5C8C6 +primary = #F0C674 +secondary = #8ABEB7 +alert = #A54242 +disabled = #707880 + +[bar/example] +width = 100% +height = 24pt +radius = 6 + +; dpi = 96 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3pt + +border-size = 4pt +border-color = #00000000 + +padding-left = 0 +padding-right = 1 + +module-margin = 1 + +separator = | +separator-foreground = ${colors.disabled} + +font-0 = monospace;2 + +modules-left = xworkspaces xwindow +modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + +; tray-position = right + +; wm-restack = generic +; wm-restack = bspwm +; wm-restack = i3 + +; override-redirect = true + +[module/xworkspaces] +type = internal/xworkspaces + +label-active = %name% +label-active-background = ${colors.background-alt} +label-active-underline= ${colors.primary} +label-active-padding = 1 + +label-occupied = %name% +label-occupied-padding = 1 + +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 1 + +label-empty = %name% +label-empty-foreground = ${colors.disabled} +label-empty-padding = 1 + +[module/xwindow] +type = internal/xwindow +label = %title:0:60:...% + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% + +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.disabled} + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume-prefix = "VOL " +format-volume-prefix-foreground = ${colors.primary} +format-volume = + +label-volume = %percentage%% + +label-muted = muted +label-muted-foreground = ${colors.disabled} + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +label-layout = %layout% +label-layout-foreground = ${colors.primary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-foreground = ${colors.background} +label-indicator-background = ${colors.secondary} + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = "RAM " +format-prefix-foreground = ${colors.primary} +label = %percentage_used:2%% + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = "CPU " +format-prefix-foreground = ${colors.primary} +label = %percentage:2%% + +[network-base] +type = internal/network +interval = 5 +format-connected = +format-disconnected = +label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected + +[module/wlan] +inherit = network-base +interface-type = wireless +label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% + +[module/eth] +inherit = network-base +interface-type = wired +label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% + +[module/date] +type = internal/date +interval = 1 + +date = %H:%M +date-alt = %Y-%m-%d %H:%M:%S + +label = %date% +label-foreground = ${colors.primary} + +[settings] +screenchange-reload = true +pseudo-transparency = true + +; vim:ft=dosini diff --git a/thunderbird/filters/AliExpress/README.md b/thunderbird/filters/AliExpress/README.md new file mode 100644 index 0000000..5a104e3 --- /dev/null +++ b/thunderbird/filters/AliExpress/README.md @@ -0,0 +1,13 @@ +# Thunderbird filters for AliExpress emails + +## `sort.dat` + +Moves all AliExpress emails to a folder of your choice + +## `[SPAM] ae-news.dat` + +Deletes emails sent from domains like `ae-news.a*@mail.aliexpress.com` since these seem to all be promotional mumbo jumbo that fills your inbox + +## `[SPAM] promotion.dat` + +Deletes emails sent from domain `promotion@aliexpress.com` UNLESS their subject matches `Price drop on your Wish List`, as all of these other emails are promotional mumbo jumbo that fills your inbox (other people might want to edit this filter so it even deletes the wishlist price drop notifications, I'd imagine) diff --git a/thunderbird/filters/AliExpress/[SPAM] ae-news.dat b/thunderbird/filters/AliExpress/[SPAM] ae-news.dat new file mode 100644 index 0000000..5e958b3 --- /dev/null +++ b/thunderbird/filters/AliExpress/[SPAM] ae-news.dat @@ -0,0 +1,5 @@ +name="SPAM: AliExpress (ae-news)" +enabled="yes" +type="17" +action="Delete" +condition="AND (from,begins with,ae-news.a) AND (from,ends with,@mail.aliexpress.com)" diff --git a/thunderbird/filters/AliExpress/[SPAM] promotion.dat b/thunderbird/filters/AliExpress/[SPAM] promotion.dat new file mode 100644 index 0000000..a7936c1 --- /dev/null +++ b/thunderbird/filters/AliExpress/[SPAM] promotion.dat @@ -0,0 +1,5 @@ +name="SPAM: AliExpress (promotion@aliexpress.com minus wishlist price reductions)" +enabled="yes" +type="17" +action="Delete" +condition="AND (from,is,promotion@aliexpress.com) AND (subject,isn't,Price drop on your Wish List)" diff --git a/thunderbird/filters/AliExpress/sort.dat b/thunderbird/filters/AliExpress/sort.dat new file mode 100644 index 0000000..88e7d97 --- /dev/null +++ b/thunderbird/filters/AliExpress/sort.dat @@ -0,0 +1,6 @@ +name="AliExpress" +enabled="yes" +type="17" +action="Move to folder" +actionValue="imap://{YOUREMAIL}@{YOURPROVIDER}/INBOX/Shopping/AliExpress" +condition="OR (from,ends with,.aliexpress.com) OR (from,ends with,@aliexpress.com)" diff --git a/thunderbird/filters/Etsy/[SPAM] email@email.etsy.com.dat b/thunderbird/filters/Etsy/[SPAM] email@email.etsy.com.dat new file mode 100644 index 0000000..46e8ed1 --- /dev/null +++ b/thunderbird/filters/Etsy/[SPAM] email@email.etsy.com.dat @@ -0,0 +1,5 @@ +name="SPAM: Etsy" +enabled="yes" +type="17" +action="Delete" +condition="AND (from,is,email@email.etsy.com)" \ No newline at end of file diff --git a/thunderbird/filters/Etsy/sort.dat b/thunderbird/filters/Etsy/sort.dat new file mode 100644 index 0000000..46d4e1f --- /dev/null +++ b/thunderbird/filters/Etsy/sort.dat @@ -0,0 +1,6 @@ +name="Etsy" +enabled="yes" +type="17" +action="Move to folder" +actionValue="imap://{YOUREMAIL}@{YOURPROVIDER}/INBOX/Shopping/Etsy" +condition="OR (from,ends with,.etsy.com) OR (from,ends with,@etsy.com)" \ No newline at end of file diff --git a/thunderbird/filters/MyUS/sort.dat b/thunderbird/filters/MyUS/sort.dat new file mode 100644 index 0000000..2f7a529 --- /dev/null +++ b/thunderbird/filters/MyUS/sort.dat @@ -0,0 +1,6 @@ +name="MyUS" +enabled="yes" +type="48" +action="Move to folder" +actionValue="imap://{YOUREMAIL}@{YOURPROVIDER}/INBOX/Shopping/MyUS" +condition="OR (from,ends with,.myus.com) OR (from,ends with,@myus.com)" \ No newline at end of file diff --git a/thunderbird/filters/README.md b/thunderbird/filters/README.md new file mode 100644 index 0000000..6b1c881 --- /dev/null +++ b/thunderbird/filters/README.md @@ -0,0 +1,13 @@ +# Thunderbird filters + +Here are my Thunderbird email filters. These are individual filters for things like sorting inbox content or deleting stuff that amounts to spam from otherwise okay senders (i.e. promotional emails from shopping sites or whatever) + +You're meant to paste them into your `msgFilterRules.dat` for a given email account (after the header, which I have excluded from any individual filters saved here because they're basically just fragments of one of those files anyways) + +## subfolder README.md contents + +If there's more than a `sort.dat` in a given folder, it will have its own `README.md` which provides information on what each individual filter does. + +If a filter is for sorting emails into folders, you'll need to edit it to replace the `actionValue` in the file with the imap URL to the folder you want to move it to. by default all of mine here have my actual email replaced with `{YOUREMAIL}@{YOURPROVIDER}` (partially because a lot of these are for my irl personal email which I just don't want to share here lol). + +For the filters marked `[SPAM]`, if you have any sorting filters for the same domain you'll want to make sure the spam-deleting filters are listed above the sorting filters inside Thunderbird.