[eww] Move eww back to a common dir
This commit is contained in:
82
home-manager/features/eww/config/launcher.yuck
Normal file
82
home-manager/features/eww/config/launcher.yuck
Normal file
@@ -0,0 +1,82 @@
|
||||
(defwindow launcher
|
||||
:monitor '[ "<primary>", "DP-2", 0 ]'
|
||||
:geometry (geometry
|
||||
:x "100px"
|
||||
:y "100px"
|
||||
:anchor "top left"
|
||||
)
|
||||
:stacking "bottom"
|
||||
:exclusive false
|
||||
:focusable false
|
||||
(box
|
||||
:class "launcher-window stand-alone"
|
||||
:orientation "v"
|
||||
:spacing 4
|
||||
:visible { arraylength(jq(workspaces-json-dp2, "map(select(.active and (.has_windows | not)))")) > 0 }
|
||||
(box
|
||||
:orientation "v"
|
||||
:halign "start"
|
||||
:spacing 4
|
||||
:space-evenly false
|
||||
(label
|
||||
:text "Apps"
|
||||
:halign "start"
|
||||
)
|
||||
(box
|
||||
:orientation "h"
|
||||
:halign "start"
|
||||
:spacing 4
|
||||
:space-evenly false
|
||||
(button
|
||||
:onclick "firefox"
|
||||
(image
|
||||
:class "launcher-icon"
|
||||
:icon "firefox"
|
||||
:icon-size "dialog"
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(box
|
||||
:orientation "v"
|
||||
:halign "start"
|
||||
:spacing 4
|
||||
:space-evenly false
|
||||
(label
|
||||
:text "Games"
|
||||
:halign "start"
|
||||
)
|
||||
(box
|
||||
:orientation "h"
|
||||
:halign "start"
|
||||
:spacing 4
|
||||
:space-evenly false
|
||||
(button
|
||||
;; :onclick "env LUTRIS_SKIP_INIT=1 lutris lutris:rungameid/1"
|
||||
:onclick "notify-send 'Launching Lutris' && env LUTRIS_SKIP_INIT=1 lutris lutris:rungameid/1"
|
||||
(image
|
||||
:class "launcher-icon"
|
||||
:image-width 48
|
||||
:path "/home/drew/.local/share/icons/hicolor/128x128/apps/lutris_battlenet.png"
|
||||
)
|
||||
)
|
||||
(button
|
||||
:onclick "steam steam://rungameid/1091500"
|
||||
(image
|
||||
:class "launcher-icon"
|
||||
:icon "steam_icon_1091500"
|
||||
:icon-size "dialog"
|
||||
)
|
||||
)
|
||||
;; (button
|
||||
;; :onclick "steam steam://rungameid/1145350"
|
||||
;; (image
|
||||
;; :class "launcher-icon"
|
||||
;; :icon "steam_icon_1145350"
|
||||
;; :icon-size "dialog"
|
||||
;; )
|
||||
;;)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user