eww
This commit is contained in:
@@ -1,44 +1,72 @@
|
||||
(defwindow bar-primary
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0px"
|
||||
:y "0px"
|
||||
:y "25px"
|
||||
:width "100%"
|
||||
:height "25px"
|
||||
:anchor "top center")
|
||||
:stacking "fg"
|
||||
:reserve (struts :distance "25px" :side "top")
|
||||
:reserve (struts :distance "50px" :side "top")
|
||||
:windowtype "dock"
|
||||
:wm-ignore false
|
||||
(box
|
||||
(button
|
||||
:width "60px"
|
||||
:onclick "notify-send 'Wow' 'That's a clock, idiot!'"
|
||||
"${time}")))
|
||||
; List of all workspaces
|
||||
(defvar workspacesList "[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]")
|
||||
:orientation "horizontal"
|
||||
:halign "right"
|
||||
(eventbox :onclick "notify-send Left"
|
||||
:onrightclick "notify-send Right"
|
||||
"Click Me!")
|
||||
(rightSideBar)))
|
||||
|
||||
(defwidget workspaces
|
||||
;; The Wrapper of the rightside Information
|
||||
(defwidget rightSideBar []
|
||||
(box
|
||||
(for entry in workspacesList
|
||||
(button :onclick "notify-send 'click' 'button ${entry}'"
|
||||
entry))))
|
||||
:space-evenly "false"
|
||||
:halign "end"
|
||||
(nw)
|
||||
(date)
|
||||
))
|
||||
|
||||
|
||||
(defwidget labeled-container [name]
|
||||
;; The Internet Information box.
|
||||
(defwidget nw []
|
||||
(box :class "container"
|
||||
name
|
||||
(children)))
|
||||
:space-evenly "false"
|
||||
:halign "end"
|
||||
(label :class "iconNWDown" :text " ")
|
||||
(label :class "text" :text " ${nwdown} ")
|
||||
(label :class "iconNWUp" :text " ")
|
||||
(label :class "text" :text "${nwup} ")))
|
||||
|
||||
(deflisten brightness :initial "0"
|
||||
`tail -F /tmp/brightness`)
|
||||
;; The date Information box.
|
||||
(defwidget date []
|
||||
(box :class "container"
|
||||
:space-evenly "false"
|
||||
:halign "end"
|
||||
(label :class "iconClock" :text " ")
|
||||
(label :class "text" :text "${date-time} ")))
|
||||
|
||||
(deflisten volume :initial "0"
|
||||
`tail -F /tmp/volume`)
|
||||
;; Variables
|
||||
|
||||
(defvar variable_containing_yuck
|
||||
"(box (button 'foo') (button 'bar'))")
|
||||
(defpoll nwup
|
||||
: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"
|
||||
:initial "00:00:00" ; optional, defaults to poll at startup
|
||||
`date +%H:%M:%S`)
|
||||
(defpoll date-time
|
||||
:interval "1s"
|
||||
: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))
|
||||
|
||||
38
home/programs/eww/src/indent.log
Normal file
38
home/programs/eww/src/indent.log
Normal 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
|
||||
Reference in New Issue
Block a user