Merge pull request #3 from wrest64/master

add guix package
This commit is contained in:
Ebeem 2024-08-03 22:21:47 +03:00 committed by GitHub
commit b0666e08dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 1 deletions

View file

@ -47,7 +47,7 @@ You can retrieve information about =Sway=, such as list of available =workspaces
(focused-workspace-name (sway-get-workspaces)))
#+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
;; connect to sway sockets

28
manifest.scm Normal file
View 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))