From f8d515e1f612e45b2e007a742c6b8df1d0bff3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Mon, 22 Mar 2021 23:39:18 +0300 Subject: [PATCH] Switched to Material Ocean color scheme for st and calendar --- .gitignore | 1 + .gitsecret/paths/mapping.cfg | 3 +- gtk/gtkrc-2.0 | 8 + install.sh | 7 +- mail/mbsyncrc.secret | Bin 935 -> 934 bytes mail/msmtp/config.secret | Bin 764 -> 763 bytes misc/calcurse/.gitignore | 6 + misc/calcurse/caldav/config.secret | Bin 0 -> 1103 bytes .../__init__.py => calcurse/conf} | 0 misc/calcurse/keys | 55 ++++++ misc/nextcloud.secret | Bin 830 -> 868 bytes .../__pycache__/__init__.cpython-39.opt-1.pyc | Bin 142 -> 0 bytes .../material-ocean.cpython-39.opt-1.pyc | Bin 2824 -> 0 bytes misc/ranger/colorschemes/material-ocean.py | 181 ------------------ misc/ranger/rc.conf | 2 +- misc/spotifyd.conf.secret | Bin 809 -> 808 bytes misc/vdirsyncer/config | 18 ++ misc/wakatime.cfg.secret | Bin 736 -> 736 bytes scripts/status-bar/date | 11 +- scripts/status-bar/memory | 3 + suckless/dwm/rules.h | 4 +- suckless/st/config.h | 40 ++-- suckless/st/config.mk | 2 +- suckless/st/patches/st-alpha-0.8.2.diff | 163 ++++++++++++++++ .../{ => patches}/st-universcroll-0.8.4.diff | 0 suckless/st/st.h | 1 + suckless/st/x.c | 40 +++- zsh/antibody/zsh_plugins.txt | 2 +- zsh/secret.secret | Bin 885 -> 886 bytes zsh/zshrc | 37 ++++ 30 files changed, 366 insertions(+), 218 deletions(-) create mode 100644 gtk/gtkrc-2.0 create mode 100644 misc/calcurse/.gitignore create mode 100644 misc/calcurse/caldav/config.secret rename misc/{ranger/colorschemes/__init__.py => calcurse/conf} (100%) create mode 100644 misc/calcurse/keys delete mode 100644 misc/ranger/colorschemes/__pycache__/__init__.cpython-39.opt-1.pyc delete mode 100644 misc/ranger/colorschemes/__pycache__/material-ocean.cpython-39.opt-1.pyc delete mode 100644 misc/ranger/colorschemes/material-ocean.py create mode 100644 misc/vdirsyncer/config create mode 100644 suckless/st/patches/st-alpha-0.8.2.diff rename suckless/st/{ => patches}/st-universcroll-0.8.4.diff (100%) diff --git a/.gitignore b/.gitignore index e16391b3..2515ecef 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ mail/msmtp/config misc/spotifyd.conf misc/wakatime.cfg misc/nextcloud +misc/calcurse/caldav/config diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg index b244cb73..7f944c4e 100644 --- a/.gitsecret/paths/mapping.cfg +++ b/.gitsecret/paths/mapping.cfg @@ -3,4 +3,5 @@ mail/mbsyncrc:65eec91b162f829575c2cc4b2428faa90eb71f3f79ba779bcfe70712f161cabe mail/msmtp/config:529c5ae169a81f528ece6356c2bfb23f20af93619386aa018f28fab9505271ec misc/spotifyd.conf:dd73afe8809498ba3b00ba9aa99e78fb3606867dc4871231880d2ebfd55196a9 misc/wakatime.cfg:e306146d45036c38f15aa9a817fc172bdca3c4c9d9ed3c4f6fe1d8d93d783d78 -misc/nextcloud:936fb8a7f1f7a624c12e370edb0d19e219f9a8bb7210728449d6fff1b9d060a9 +misc/nextcloud:1ee8feae4ac43c1e27178a5114374ff0afed84a1fd558a12d91e5409f77efef1 +misc/calcurse/caldav/config:15d288e4edcbb85da765080fcdc7d25815cf2e22854002af5ea5ca2b4c4c7955 diff --git a/gtk/gtkrc-2.0 b/gtk/gtkrc-2.0 new file mode 100644 index 00000000..b08a9474 --- /dev/null +++ b/gtk/gtkrc-2.0 @@ -0,0 +1,8 @@ +# Auto-written by gtk2_prefs. Do not edit. + +gtk-theme-name = "material-ocean" +style "user-font" +{ + font_name="CaskaydiaCove Nerd Font Mono 11" +} +widget_class "*" style "user-font" diff --git a/install.sh b/install.sh index e121659c..52688caa 100755 --- a/install.sh +++ b/install.sh @@ -84,7 +84,8 @@ ln -s ~/.dotfiles/vim/nvim ~/.config/nvim # GTK ln -s ~/.dotfiles/gtk/themes ~/.themes -ln -s ~/.dotfiles/gtk/gtk-2.0 ~/.config/gtk-2.0 +ln -s ~/.dotfiles/gtk/gtkrc-2.0 ~/.gtkrc-2.0 +ln -s ~/.dotfiles/gtk/gtk-3.0 ~/.config/gtk-2.0 ln -s ~/.dotfiles/gtk/gtk-3.0 ~/.config/gtk-3.0 ln -s ~/.dotfiles/gtk/gtk-4.0 ~/.config/gtk-4.0 ~/.dotfiles/gtk/Tela-icon-theme/install.sh @@ -93,6 +94,7 @@ ln -s ~/.dotfiles/gtk/gtk-4.0 ~/.config/gtk-4.0 ln -s ~/.dotfiles/misc/dunst ~/.config/dunst ln -s ~/.dotfiles/misc/zathura ~/.config/zathura ln -s ~/.dotfiles/misc/termite/ ~/.config/termite +ln -s ~/.dotfiles/misc/vdirsyncer ~/.vdirsyncer ln -s ~/.dotfiles/misc/systemd ~/.config/systemd ln -s ~/.dotfiles/misc/ranger ~/.config/ranger ln -s ~/.dotfiles/misc/neofetch ~/.config/neofetch @@ -104,6 +106,7 @@ ln -s ~/.dotfiles/misc/mimeapps.list ~/.config/mimeapps.list ln -s ~/.dotfiles/misc/wakatime.cfg ~/.wakatime.cfg ln -s ~/.dotfiles/misc/BetterDiscord ~/.config/BetterDiscord ln -s ~/.dotfiles/misc/nextcloud ~/.nextcloud +ln -s ~/.dotfiles/misc/calcurse ~/.calcurse mkdir -p ~/.config/spotifyd ln -s ~/.dotfiles/misc/spotifyd.conf ~/.config/spotifyd/spotifyd.conf ln -s ~/.dotfiles/fonts ~/.fonts @@ -151,6 +154,8 @@ if [ ! -f "/var/spool/cron$username" ]; then fi echo "*/8 * * * * /home/$username/.scripts/mailsync" >> /var/spool/cron/yigit echo "*/15 * * * * /home/$username/.scripts/nextcloud-sync" >> /var/spool/cron/yigit +echo "*/30 * * * * calcurse-caldav" >> /var/spool/cron/yigit +echo "*/30 * * * * vdirsyncer sync" >> /var/spool/cron/yigit # Root sudo cp ~/.dotfiles/root/dwm.desktop /usr/share/xsessions diff --git a/mail/mbsyncrc.secret b/mail/mbsyncrc.secret index 665f6b6e853fae0e38336febb487f5daeb15748c..6e49abb62042ef04e52effc72835dd70145bc5fd 100644 GIT binary patch literal 934 zcmV;X16llq0t^F?ut;Rv{V9Y25CFp&hy-OyY@~R%8Zj*9EA8mjp%}(I2Tow5dR2r) zm!#(`$zSQA&sW7=OJm^z&tLSL^NYGsG={jA-|q(4LdCu~zK3$nuZ=g0bHA_U@r0FY z7TBvl8A2JCKD1u~A$j7#HbEeEO9>{&rr$=a>)+y_yabfb> z3QGxJsQ7OX{qb;KZ{Ez-a?CtZNxO0t*&R>cLLi-D?i9sJAGOpZJ z>eruDomGSIU6p1Dh5=AI5cJK0kXO?>&3${Cn#g>AVMJERsx^di$u#YB!*K8MGM|@M zbFxnsOkW+|E*;uSjRMt1qq-?Cwp~&$`?KJbN~SKM>t;4xXz8^1&w#3)Zy@@W zYXx~0pIF>;%pzB6;`E)+fYj`S1#)dcY%jT6?t=xz12GSuU;TpqLf}a$p-* zxAP<Hg&uM%hSnPqO^XgZvEc*I~Ydt?@E4WMHw@j_3CH~y1y~zfOOF$ z8m-*qW`j555&HzM!|Ak>Usmi%VkV;U)SKo;-fzK>+H$*N{}hAWDZ|0qd5&Kz7wXg` zB$rQP;K)4VGi`t&6>&iqR%l>&d9G>LYYhQq+s+e2;~d8B%;7HqJs6y7AkoIbhfD|bxvs!BzxJL>!|#_v)PqOqnKaV?m5 z_Eh;bdBFIU;%22IY?6qG>eVerLtIO+mQPJq3@fcdllJl%LKv!i+tz)9rf4*Nuda-J zadz7jO?q3zttbTKPNP+--cSJ~1SUMo;!C)0pw_)PEDCMEI(=+?x4jHuIWWG`#HIhs zwp6T_vNo0k)XqHJ*yWEOo^H(O)p*kU0#)sH&z?8^^=t**48<|uGVG@&-p=QJ>&7A$ zLiM>5(6Kla0Fam4M4Gl4S`>N1E%rtH3!j#zZ;Iepke%3U0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r3m8oJ#>!oAf)hHCo*9#|-bVDb-Qtnn`p5BQ0I#>SoJ&w?028QYm7y}&f#d=-fqDJ5O zu{jW=iZJM98kI|MDUX1z5J>N|_82HxUzB#X`GCQ$1cK=?mxd7V^6_nN>Nqn@Y(jE% z9)j~wxGW2(ZOYYbS@5L7lAfBO=!YVJ`P(0L4qlfl|G;t#-?BT&s$%yNmYVXuvk8C~ z7dN(_T-GPQNpB-QSJ7;w5j;`c)u0d~a@JFD=lVr^imFi~9MUj8#Flf#s>Cl=t6^*; zJWLttg;pVRcXr4}!_}t@y5AGeXAh7*u!Chn;Imc+LX|DohWH5d#`w%A&P%*gx(T9cWeaYq~1kAm>l& zU}D=yh#g`h9LKw)pOU`fXIYiidEt2(YVlz*N|u$`5k1R9QExO(npk2X)ZY7K&XM?O z&UzNr8}PW%`V*`HLc>kkKeANI(CG5A1O9`01Mh?GSOIsu->vg +raise-priority + +lower-priority - diff --git a/misc/nextcloud.secret b/misc/nextcloud.secret index 0fba7013fb42e6d3cd39f0ff5b72ae3c79ea42ae..6125178deafe2cc8b8c7512df49516de71b70de4 100644 GIT binary patch literal 868 zcmV-q1DpJX0t^F?ut;Rv{V9Y25C2UID*Sxbmzabx$KU&0js>6Jnb5ltCJkbGb3Is! zod51%{POWPKaIQK^E1lzltQA79-VOi7DWma7&+)FZEN&!E)^|#^F|4q4i2TXNOlA@ z2U$tn-_jU*^}>mwC<+nvOY+X6xJ$;`p{gRihXd2i^Z*$%fBLdQtGc#^Nv`Su;m36x zDgU*0pk_-#Q4oW+LCA6i%@P6Q*5XX7*U5YnMlc6j3lG4lZg~*ReA*(Qs#LnX*A~Ra z3|jp2Q->AeO=)EbviPh@PApaQU}OvTS?&i^%3>m8*Pn{@PG`=XHH#}CR60&81fi>- z@GF-K2##~eW^k6ars90~;;WHz0y9XiVdC8;X}t>XhY0!+cexo#7)Lh1DCq=q&&l2% zjiRp`pt&4o&%5gG7$KCu>zW64lWN*p(>-?zb(&XFOa_P() zqrY5sITq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@Tj(`*ucGDL?Sf zANcYq%r8LxrHw$(fiG8Ky~Okv7?NMGIe8*F%I!r+KY#~l)d%;*d z@mIZpm7-mH1=jzt))eO|xc?l*xd!fY`%F-r>+ogY2)nPBY#e&ty?uW_7~$>j`8N*# zi$g-XAiW=(a9E_-wv54?!h0q6aMl(xZd&{f z&t^Iu7C3HG0r4mwRVGqZw#~H($C7hlBF1;}jGLgy#kL8?RmDt@?WMxBbUGfCsoaM1 zaCeexxPdTAR_b~0rXXkw97WtnR$V<{>LG{2)wbCQoI1%|HEO4asG&UZ~{6SU}2j`p>! z2Qe!0Oq&jvna~pZjmRxhO;RyltY>0dRJ+1ZP*g!;N<{66%wqE~E<^}PFL_xZ7t)Ig zts&WvPjbObjAc6E=n2Kfy~`zB;qD6X5RFWO_MIy5Mq}d*$0kU%mVb8S&#@n0ywsmm zCGYR$<6QT*03GGyzN8#wzrJGaHLdz3S|Rhac)H4XDz>J3#-Axpx2HNu54PL&A~*12 zH*zB{a64{*6^)v&*H-Jc-1uH_&+}ueCt9OPyXtn`7?gaR!7A{91|kN!{$mXf&?8n% z!(GRStd?ltwyd<45t_U&DdCA*AT3u%SXf!xuYAW|?YCIy4l0|Dh7k zN^bN{lgH6a&m=rb`b?2N5rUbGdOx?uvm852pG|g8C4Ie^?$?#}FtI0&J)-IZh~C}$ zEvBPN(zeSBMCgM{K1t+JB4>#_OXM68O7&O?wj!#-#Fy&wFH?eQ1LUOFanFYVHs{#i F`#-|t`A7f& diff --git a/misc/ranger/colorschemes/material-ocean.py b/misc/ranger/colorschemes/material-ocean.py deleted file mode 100644 index 33304c5c..00000000 --- a/misc/ranger/colorschemes/material-ocean.py +++ /dev/null @@ -1,181 +0,0 @@ -# This file is part of ranger, the console file manager. -# License: GNU GPL version 3, see the file "AUTHORS" for details. - -from __future__ import (absolute_import, division, print_function) - -from ranger.gui.colorscheme import ColorScheme -from ranger.gui.color import ( - default, normal, bold, reverse, dim, BRIGHT, default_colors, -) - - -black = 16 -blue = 32 -cyan = 50 -green = 47 -magenta = 141 -red = 9 -white = 255 -yellow =227 - -class Default(ColorScheme): - progress_bar_color = 87 - - def use(self, context): # pylint: disable=too-many-branches,too-many-statements - fg, bg, attr = 231, black, bold - - if context.reset: - return default_colors - - elif context.in_browser: - if context.selected: - attr = reverse - else: - attr = normal - if context.empty or context.error: - bg = red - if context.border: - fg = default - if context.media: - if context.image: - fg = yellow - else: - fg = magenta - if context.container: - fg = red - if context.directory: - attr |= bold - fg = blue - elif context.executable and not \ - any((context.media, context.container, - context.fifo, context.socket)): - attr |= bold - fg = green - if context.socket: - attr |= bold - fg = magenta - if context.fifo or context.device: - fg = yellow - if context.device: - attr |= bold - if context.link: - fg = cyan if context.good else magenta - if context.tag_marker and not context.selected: - attr |= bold - if fg in (red, magenta): - fg = white - else: - fg = red - if not context.selected and (context.cut or context.copied): - attr |= bold - fg = black - # If the terminal doesn't support bright colors, use dim white - # instead of black. - if BRIGHT == 0: - attr |= dim - fg = white - if context.main_column: - # Doubling up with BRIGHT here causes issues because it's - # additive not idempotent. - if context.selected: - attr |= bold - if context.marked: - attr |= bold - fg = yellow - if context.badinfo: - if attr & reverse: - bg = magenta - else: - fg = magenta - - if context.inactive_pane: - fg = cyan - - elif context.in_titlebar: - if context.hostname: - fg = red if context.bad else green - elif context.directory: - fg = blue - elif context.tab: - if context.good: - bg = green - elif context.link: - fg = cyan - attr |= bold - - elif context.in_statusbar: - if context.permissions: - if context.good: - fg = cyan - elif context.bad: - fg = magenta - if context.marked: - attr |= bold | reverse - fg = yellow - if context.frozen: - attr |= bold | reverse - fg = cyan - if context.message: - if context.bad: - attr |= bold - fg = red - if context.loaded: - bg = self.progress_bar_color - if context.vcsinfo: - fg = blue - attr &= ~bold - if context.vcscommit: - fg = yellow - attr &= ~bold - if context.vcsdate: - fg = cyan - attr &= ~bold - - if context.text: - if context.highlight: - attr |= reverse - - if context.in_taskview: - if context.title: - fg = blue - - if context.selected: - attr |= reverse - - if context.loaded: - if context.selected: - fg = self.progress_bar_color - else: - bg = self.progress_bar_color - - if context.vcsfile and not context.selected: - attr &= ~bold - if context.vcsconflict: - fg = magenta - elif context.vcsuntracked: - fg = cyan - elif context.vcschanged: - fg = red - elif context.vcsunknown: - fg = red - elif context.vcsstaged: - fg = green - elif context.vcssync: - fg = green - elif context.vcsignored: - fg = default - - elif context.vcsremote and not context.selected: - attr &= ~bold - if context.vcssync or context.vcsnone: - fg = green - elif context.vcsbehind: - fg = red - elif context.vcsahead: - fg = blue - elif context.vcsdiverged: - fg = magenta - elif context.vcsunknown: - fg = red - - return fg, bg, attr diff --git a/misc/ranger/rc.conf b/misc/ranger/rc.conf index ceec81e3..7090e20b 100644 --- a/misc/ranger/rc.conf +++ b/misc/ranger/rc.conf @@ -31,7 +31,7 @@ set unicode_ellipsis true # Show dotfiles in the bookmark preview box? set show_hidden_bookmarks true -set colorscheme material-ocean +#set colorscheme material-ocean # Preview files on the rightmost column? # And collapse (shrink) the last column if there is nothing to preview? diff --git a/misc/spotifyd.conf.secret b/misc/spotifyd.conf.secret index 51c6bd811e0c8a46798507c4684d418b8603104d..50b2b850f94555f41fc0fcf01d646e0afef11005 100644 GIT binary patch literal 808 zcmV+@1K0e80t^F?ut;Rv{V9Y25C3MlIw_8%uNQ|rh(@KMlwZ#@5R+<#y7VkDH4L!f zd{mh70{=#}o$cA3rQ%dlk8(pe`flE{`V}!`mO!5qZ3y%B%rnxg_eF~6TaEgrU%KDS zkEgM@BTD~#7rh@g3C;^vB)x(R7*(t}b3-ET@ia6>uaCxLP}+->DJz3gAh@SW<+%_a zR16kP&fA9U6a9ZUJ{)g6RqizfICF3^vlV1)lHr+!If0yMYwzl)BH&dC=|3|I5NX&Y z4IyGU9I*keRt|RAm>{?dbNI(-vsj5xnBxG8y%|(vl%#@o~E~dDZA@y9fLic2L&S+QYb>o z4{|JJ(Jx9%8FS0TkE+!;>pzZG-JQZ+q-tZNK_5lu#dMeA5aOl^f{x?%UGT{#R4Pez zjE;puu%eG+jSHs-1%p_`LlhqpSSskUutl7j`O6AM)RZ~284SA@QAYq4StESBy_wUtS|XL*3~6Xyh2$cUmg(NUjh~K$+KS&?tL$~m0ksyur6Zpl z_K_KT=1qEbieqE0fIs_Ab>dF^4X9woH6a|~4v&M&`~?EIA&xaL&B6Q$1G7qbE1{lh zEWhQX!9NEryanuYK6)plGtCte*8VtRS&XkeN0@Wf-50xB2VU`PCJu?Uo)w3dbZ}wj z5qqiw`k$IiM9@c4s2zLC&l3r#b3Z7~AS3c=;1jIavP|;%bO_v{8}V^gJViNz>eHal ml)t|a-#^^Oz(cuh?@;d+sK3DkyVVAlVU>_c$t(1~p&Nsq)`L|5 literal 809 zcmV+^1J?Y70t^F?ut;Rv{V9Y25CF52G|5!dm9yW!$x<42dA{Nan!5+`4L_m6YD2wagS@b`i(*)k(#GExks-aXH$41#6X(Sx zfJZ5+He}$e)xH*{}8~h@6I#M&20gJ2+?po`b zU=&#I-odHCwwTkv(c7k^6&oiG=B1o#G)$DRzb^hmSOD zwOoVoGHu5X5gfxbcr44#isr}@ubYaLilPH6@=wUI3>A+-();+TUW6h}5idFZLYE=I$E}XY1Ig&6Nu9xgCI9mZhOXKfAw;Xous9 z*r7w0G^dHXFEJ8F!Q#BN3i04o@a{OYK-Qe}=vQpa8q@sDrPv=)83bU_Kx-p^m}Nvt z<&=eLfOMn{41ypXcdoZ2dU<6GdNxHoCi1xFA~)hU9IgH9?sRC%in1~a_L?ZVHyqyV z9UsjSPp+-_7?$JxIoP}c!=RKtDIuG6vVoxp diff --git a/misc/vdirsyncer/config b/misc/vdirsyncer/config new file mode 100644 index 00000000..f199a266 --- /dev/null +++ b/misc/vdirsyncer/config @@ -0,0 +1,18 @@ +[general] +status_path = "~/.cache/vsync-status/" + +[pair nextcloud_contacts] +a = "nx_contacts_local" +b = "nx_contacts_remote" +collections = ["from a", "from b"] + +[storage nx_contacts_local] +type = "filesystem" +path = "~/.card/contacts" +fileext = ".vcf" + +[storage nx_contacts_remote] +type = "carddav" +url = "https://drive.yigitcolakoglu.com/" +username = "yigitcolakoglu" +password = "@Ygtclksbl12!" diff --git a/misc/wakatime.cfg.secret b/misc/wakatime.cfg.secret index bb483d22febeb07071247b9528669938f9b182b1..673f756e969dfd00bafb157964e9755f7a81cfff 100644 GIT binary patch literal 736 zcmV<60w4W_0t^F?ut;Rv{V9Y25CFuaaxGgAl0*P^&zO{lYAUFhgR>j_2P9&jUzFKo z+4P&&P)PGb4=4b|_g5J{5DC3N@w!)DB%R~c2u>g}jpgg}dSJWZTDdQldM54-(6Am^ zp~YzAyAY&2@D=sfs?`A_cf;-lnU{nwCIPcY8(?RdL5(&_i zKBdI(osFXYM&-~;k$J_UoMxzT}4tFn_E^OvyloqkE&W(f7SYr#LSOw zG1vByj_A@W8Z)O_o|p?`8xepM}beA*ZU2YbT-$FYWT1~9|0HaFuXJn zPxi2r7LMLy3L05G!4&zVE}}1rO=|?h3FOsYGUtJfk4Ti2pI-pI?OHC<7!~}lP8y=DJNlbF+$;lCH z8BG~WE(H_F;z3ttx^7L*QivsW=!qUo*Rd71#v2NZYcgX_o+6iL7)2QeIpZN^ihphr zl`>ikq}()~W6WtJ?A9_>ejd5@n$J*>rUPqOfQN^1h3 z@X|cJc;#{7&c-Zdh3P@}Iujg~0N5x}#h+nO-Mfnc>hlNW=A>7(=;SF4w-j2ACqWSwfa<0q#JlGNM%n`CdUJpUrU=}Jii9;-Fgq3!Q`0*A zt_Y6eUt=m%6r=L!Q_prv&r2gq(5Tfap5hrfjXkjd+iGB&ym>&*DU;I`p zz3g@wpCeZUJonU2Hd&%#C5y;+OuQ0CUkWeQ*TS4H#V?C$Ba`@=+x+)2=d46YV)weG z&bQfb1cmh8VCInlA3|$)0xOh11l`A^8ZttTUknJEZrc%)MR8TEOnJIpoXl=>Z~$;@9|Jxz>hsHI4Hi3gz*vAuT1q7lD_nff_qPNEp9s)!uAAk+mG&8u zyS?I5GZo{k3g~N4`5$mckRMjE#2yKYxUNv&2P*DqNo->)dI}VAjiR3g8ccZ' | wc -l) +if [ ! "$events" = "0" ]; then + events="($events) " +fi cmd=$(date +"%h %e") #echo "$ifg $icon $tfg$cmd" -echo -n "^c#0f111a^^b#88c0d0^ $icon $cmd ^d^" +echo -n "^c#0f111a^^b#88c0d0^ $icon $events$cmd ^d^" + +case $BLOCK_BUTTON in + 1) setsid -f st -c center -n center -e calcurse;; +esac + diff --git a/scripts/status-bar/memory b/scripts/status-bar/memory index 7fd2d2f8..1ac12f98 100755 --- a/scripts/status-bar/memory +++ b/scripts/status-bar/memory @@ -4,4 +4,7 @@ MEM=$(free | grep Mem | awk '{printf("%d", $3/$2 * 100.0)}') echo "^c#a3be8c^ ^d^ $MEM%" +case $BLOCK_BUTTON in + 1) setsid -f st -c htop -n htop -e htop;; +esac diff --git a/suckless/dwm/rules.h b/suckless/dwm/rules.h index 75b5d8ff..cef2a16c 100644 --- a/suckless/dwm/rules.h +++ b/suckless/dwm/rules.h @@ -32,8 +32,10 @@ static const Rule rules[] = { RULE(.class = "mpv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H") RULE(.instance = "sxiv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H") RULE(.class = "neomutt-send", 0, .isfloating = 1, .floatpos="50% 50% 1000W 700H") - RULE(.class = "neomutt-send", 0, .isfloating = 1, .floatpos="50% 50% 250W 600H") // Why did I put this here? + RULE(.class = "Zathura", 0, .isfloating = 1, .floatpos="100% 50% 700W 1000H") RULE(.class = "weather", 0, .isfloating = 1, .floatpos="50% 50% 1200W 800H") // Why did I put this here? + RULE(.class = "center", 0, .isfloating = 1, .floatpos="50% 50% 1000W 600H") // Why did I put this here? + RULE(.class = "htop", 0, .isfloating = 1, .floatpos="50% 50% 1200W 600H") // Why did I put this here? RULE(.title = "SimCrop", 0, .isfloating = 1, .floatpos="50% 50% 800W 500H") }; diff --git a/suckless/st/config.h b/suckless/st/config.h index 8e181202..f45c3203 100644 --- a/suckless/st/config.h +++ b/suckless/st/config.h @@ -9,6 +9,7 @@ static char *font = "CaskaydiaCove Nerd Font Mono:pixelsize=16:antialias=true:au static char *font2[] = { "Symbola:pixelsize=16:antialias=true:autohint=true", }; +char *iso14755_cmd = "dmenu -p codepoint: 8LdPn-(qU*M!N{YtR>2QD?q6R%GL|Pm{xq!P3Gz{ip zjB?^8?K_WZao-VK=E(&QnEf$JXKF+9%K$np{ejMg>>#QwPdsIxl#?@|A~(SE#|d>d zEj$<$0RsaZxoJhu47auK+M6i()!+H2?(KtKlTr5Q^Si6 zQtys9qEmuCy_~YDs@Vhv>mrxv6|m4U7s2V{jxh{XT))v49#Gere`?W2|Y9> zrfvPIh1?Ts{la(RAL;A5a2!t-IvlLTW`j}ynh_K2zcifcbxu3uulsJ{`jg|uEDngN zEu{xMe=Ju?!xv{HXMfVbqyZV!uTh^_*z=#8+^v31f{QsP7M_ECpAE;|A(~09e(282 z@=@O3O6GpHxqJjpaiTsgZjD+UMQ6svaIQJP55EncglzYAENKK>qwq|PKJIC_g)FlW z;h`cH@Je)Cfka2C)%%*mW63QDP#u0OB#5CTr|1>V5gSCIgvK$Cpqam}6lGn0_jRA> zLEB;X1wtl|f)-xyhMGXkuBvzqo2q=<2H_%Jp9`2MuJ5;9-w>lKWT~aW3rX(C*j}_( zil5S6E$I?FSTd=&7EGp6>!hcqet{yy34y!~_>KLf7# zqs!=X(RCgQKrJ9bxuk`jkbj8!j)uGKXj<9kt5VtDpbZQ9`{!ws)93aCFe)&^^gXpxVh4?YI-}{-AY1Ch4lcSKGg_ zv$#yDooYk!>~uD1Nf9p#(9wNsI{;ibMlo6~GP<%$?Z!I|5ja|#%Yl6`wj7tAo0#lu zB|FaaUFsLjds2I)z7&AeCk3#|TiVyvMAztZGvsoD39e}p42h(uaKG#-t+qU5?l~E z@sgGA|DEUq+@qXE7ue$joqyS);wUjRzw8|8l39D*P@fsDtYohYKPN=nfC zan+XK2oc!1%V8!(9M|1BK-XO^=X9XD0xDHznn@OQ?nyp z8$6<^bOU$94BbFER25KUr8G+spzikpN4N#&@|@$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