This commit is contained in:
2024-05-17 23:49:30 +02:00
parent bdd07011f6
commit 7b5d99eefc
2 changed files with 93 additions and 27 deletions

View File

@@ -1,44 +1,72 @@
(defwindow bar-primary (defwindow bar-primary
:monitor 0 :monitor 0
:geometry (geometry :x "0px" :geometry (geometry :x "0px"
:y "0px" :y "25px"
:width "100%" :width "100%"
:height "25px" :height "25px"
:anchor "top center") :anchor "top center")
:stacking "fg" :stacking "fg"
:reserve (struts :distance "25px" :side "top") :reserve (struts :distance "50px" :side "top")
:windowtype "dock" :windowtype "dock"
:wm-ignore false :wm-ignore false
(box
:orientation "horizontal"
:halign "right"
(eventbox :onclick "notify-send Left"
:onrightclick "notify-send Right"
"Click Me!")
(rightSideBar)))
;; The Wrapper of the rightside Information
(defwidget rightSideBar []
(box (box
(button :space-evenly "false"
:width "60px" :halign "end"
:onclick "notify-send 'Wow' 'That's a clock, idiot!'" (nw)
"${time}"))) (date)
; List of all workspaces ))
(defvar workspacesList "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]")
(defwidget workspaces ;; The Internet Information box.
(box (defwidget nw []
(for entry in workspacesList
(button :onclick "notify-send 'click' 'button ${entry}'"
entry))))
(defwidget labeled-container [name]
(box :class "container" (box :class "container"
name :space-evenly "false"
(children))) :halign "end"
(label :class "iconNWDown" :text " ")
(label :class "text" :text " ${nwdown} ")
(label :class "iconNWUp" :text " ")
(label :class "text" :text "${nwup} ")))
(deflisten brightness :initial "0" ;; The date Information box.
`tail -F /tmp/brightness`) (defwidget date []
(box :class "container"
:space-evenly "false"
:halign "end"
(label :class "iconClock" :text " ")
(label :class "text" :text "${date-time} ")))
(deflisten volume :initial "0" ;; Variables
`tail -F /tmp/volume`)
(defvar variable_containing_yuck (defpoll nwup
"(box (button 'foo') (button 'bar'))") :interval "1s"
:initial "-" ; optional, defaults to poll at startup
`echo "up"`)
(defpoll nwdown
:interval "1s"
:initial "-" ; optional, defaults to poll at startup
`echo "down"`)
(defpoll time :interval "1s" (defpoll date-time
:initial "00:00:00" ; optional, defaults to poll at startup :interval "1s"
`date +%H:%M:%S`) :initial "initial-value" ; optional, defaults to poll at startup
`date "+%a %d.%m.%y %H:%M:%S"`)
;; IDK
(defwidget greeter [?text name]
(box :orientation "horizontal"
:halign "center"
:geometry (geometry :x "0px"
:y "0px"
:height "20px"
:anchor "top center")
text))

View File

@@ -0,0 +1,38 @@
INFO: latexindent.pl version 3.20.3, 2023-02-19, a script to indent .tex files
latexindent.pl lives here: /nix/store/2bhgwk9gsgp4kj73jwwnn7v8ib73mcmc-texlive-latexindent-3.20.3/scripts/latexindent/
Mon May 13 16:20:34 2024
Reading input from STDIN
INFO: Processing switches:
-y|--yaml: YAML settings specified via command line
INFO: Directory for backup files and indent.log:
.
INFO: Perl modules are being loaded from the following directories:
/nix/store/40rr7blrifwcfzxih97y79qvh07ycakh-perl-5.38.2/lib/perl5/5.38.2/FindBin.pm
/nix/store/8ajjd67qfdyzp0hbpvd1mrpqdhnwjlqq-perl-5.38.2-env/lib/perl5/site_perl/5.38.2/YAML/Tiny.pm
/nix/store/40rr7blrifwcfzxih97y79qvh07ycakh-perl-5.38.2/lib/perl5/5.38.2/File/Copy.pm
/nix/store/40rr7blrifwcfzxih97y79qvh07ycakh-perl-5.38.2/lib/perl5/5.38.2/File/Basename.pm
/nix/store/40rr7blrifwcfzxih97y79qvh07ycakh-perl-5.38.2/lib/perl5/5.38.2/Getopt/Long.pm
/nix/store/8ajjd67qfdyzp0hbpvd1mrpqdhnwjlqq-perl-5.38.2-env/lib/perl5/site_perl/5.38.2/File/HomeDir.pm
INFO: LatexIndent perl modules are being loaded from, for example:
/nix/store/2bhgwk9gsgp4kj73jwwnn7v8ib73mcmc-texlive-latexindent-3.20.3/scripts/latexindent/LatexIndent/Document.pm
INFO: YAML settings read: defaultSettings.yaml
Reading defaultSettings.yaml from /nix/store/2bhgwk9gsgp4kj73jwwnn7v8ib73mcmc-texlive-latexindent-3.20.3/scripts/latexindent/defaultSettings.yaml
INFO: YAML reading settings
Home directory is /home/elias
latexindent.pl didn't find indentconfig.yaml or .indentconfig.yaml
see all possible locations: https://latexindentpl.readthedocs.io/en/latest/sec-appendices.html#indentconfig-options)
INFO: YAML settings read: -y switch
YAML setting: "defaultIndent:' '"
quote found in -y switch
key:
value: defaultIndent:' '
double-quoted string found in -y switch: "defaultIndent:' '", substitute to defaultIndent:' '
INFO: Phase 1: searching for objects
INFO: Phase 2: finding surrounding indentation
INFO: Phase 3: indenting objects
INFO: Phase 4: final indentation check
INFO: Output routine:
Not outputting to file; see -w and -o switches for more options.
--------------
INFO: Please direct all communication/issues to:
https://github.com/cmhughes/latexindent.pl