mirror of
https://github.com/ebeem/guile-swayer.git
synced 2024-11-16 07:47:32 +01:00
add guix package
This commit is contained in:
parent
9c962281f4
commit
5eb1992bc2
2 changed files with 29 additions and 1 deletions
|
@ -47,7 +47,7 @@ You can retrieve information about =Sway=, such as list of available =workspaces
|
||||||
(focused-workspace-name (sway-get-workspaces)))
|
(focused-workspace-name (sway-get-workspaces)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Note: To send commands to Sway, you must connect to the Sway sockets. Without connecting to the socket your commands won't be sent to Sway. use the function =(SWAY-CONNECT-SOCKTES!)= immediately after the imports in your =init.scm= to ensure that the rest of the expressions can successfully send commands to Sway.
|
Note: To send commands to Sway, you must connect to the Sway sockets. Without connecting to the socket your commands won't be sent to Sway. use the function =(sway-connect-socktes!)= immediately after the imports in your =init.scm= to ensure that the rest of the expressions can successfully send commands to Sway.
|
||||||
|
|
||||||
#+begin_src scheme
|
#+begin_src scheme
|
||||||
;; connect to sway sockets
|
;; connect to sway sockets
|
||||||
|
|
28
manifest.scm
Normal file
28
manifest.scm
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
(use-modules (guix build-system guile)
|
||||||
|
(guix gexp)
|
||||||
|
(guix git-download)
|
||||||
|
((guix licenses) #:prefix license:)
|
||||||
|
(guix packages)
|
||||||
|
(guix profiles)
|
||||||
|
(gnu packages)
|
||||||
|
(gnu packages guile))
|
||||||
|
|
||||||
|
(define-public guile-swayer
|
||||||
|
(package
|
||||||
|
(name "guile-swayer")
|
||||||
|
(version "0.2.0")
|
||||||
|
(home-page "https://github.com/ebeem/guile-swayer")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/ebeem/guile-swayer")
|
||||||
|
(commit "9c962281f405453fb3770dd0546ef6951c9236dd")))
|
||||||
|
(sha256 (base32 "09c0143q9sm75xp1qz7a7ihdqfwqg4w8nlq0mmnivhvamww775ss"))))
|
||||||
|
(native-inputs (list guile-3.0))
|
||||||
|
(build-system guile-build-system)
|
||||||
|
(synopsis "Extensible Guile bindings for SwayWM")
|
||||||
|
(description "Extensible Guile bindings for SwayWM")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
|
(packages->manifest (list guile-3.0 guile-swayer))
|
Loading…
Reference in a new issue