updates to guix

This commit is contained in:
Chris Cochrun 2023-10-20 14:01:16 -05:00
parent 30827efb99
commit e737704d61
6 changed files with 348 additions and 277 deletions

View file

@ -228,4 +228,5 @@ exec-once = dbus-update-activation-environment --all
exec-once = jellyfin-mpv-shim exec-once = jellyfin-mpv-shim
exec-once = hyprctl setcursor phinger-cursors-light 24 exec-once = hyprctl setcursor phinger-cursors-light 24
exec-once = swaybg -m fill -i ~/pics/wallpapers/adventure.jpg exec-once = swaybg -m fill -i ~/pics/wallpapers/adventure.jpg
exec-once = waybar
exec-once = swayidle -w timeout 300 'swaylock -S --effect-blur 20x3 --fade-in 1 --effect-vignette 0.5:1 --grace 60' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -S --effect-blur 20x3 --effect-vignette 0.5:1' exec-once = swayidle -w timeout 300 'swaylock -S --effect-blur 20x3 --fade-in 1 --effect-vignette 0.5:1 --grace 60' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -S --effect-blur 20x3 --effect-vignette 0.5:1'

View file

@ -4,7 +4,7 @@
IMAPAccount gmail IMAPAccount gmail
Host imap.gmail.com Host imap.gmail.com
User ccochrun21@gmail.com User ccochrun21@gmail.com
PassCmd rbw get gmail PassCmd "rbw get gmail"
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
SSLVersions SSLv3 SSLVersions SSLv3
@ -13,21 +13,21 @@ SSLVersions SSLv3
IMAPAccount office IMAPAccount office
Host outlook.office365.com Host outlook.office365.com
User chris@tfcconnection.org User chris@tfcconnection.org
PassCmd rbw get 'Office 365' PassCmd "/home/chris/bin/mailpass"
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
IMAPAccount outlook IMAPAccount outlook
Host outlook.office365.com Host outlook.office365.com
User chris.cochrun@outlook.com User chris.cochrun@outlook.com
PassCmd rbw get outlook PassCmd "rbw get outlook"
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
IMAPAccount cochrun IMAPAccount cochrun
Host mail.cochrun.xyz Host mail.cochrun.xyz
User chris@cochrun.xyz User chris@cochrun.xyz
PassCmd rbw get 'Office 365' PassCmd "rbw get 'Office 365'"
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
# SSLVersions SSLv3 # SSLVersions SSLv3
@ -42,8 +42,8 @@ IMAPStore gmail-remote
Account gmail Account gmail
MaildirStore gmail-local MaildirStore gmail-local
Path ~/Maildir/gmail/ Path ~/mail/gmail/
Inbox ~/Maildir/gmail/INBOX Inbox ~/mail/gmail/INBOX
IMAPStore office-remote IMAPStore office-remote
Account office Account office
@ -51,8 +51,8 @@ Account office
# LOCAL STORAGE (CREATE DIRECTORIES with mkdir -p Maildir/gmail) # LOCAL STORAGE (CREATE DIRECTORIES with mkdir -p Maildir/gmail)
MaildirStore office-local MaildirStore office-local
Path ~/Maildir/office/ Path ~/mail/office/
Inbox ~/Maildir/office/INBOX Inbox ~/mail/office/INBOX
Subfolders Verbatim Subfolders Verbatim
@ -60,16 +60,16 @@ IMAPStore outlook-remote
Account outlook Account outlook
MaildirStore outlook-local MaildirStore outlook-local
Path ~/Maildir/outlook/ Path ~/mail/outlook/
Inbox ~/Maildir/outlook/INBOX Inbox ~/mail/outlook/INBOX
Subfolders Verbatim Subfolders Verbatim
IMAPStore cochrun-remote IMAPStore cochrun-remote
Account cochrun Account cochrun
MaildirStore cochrun-local MaildirStore cochrun-local
Path ~/Maildir/cochrun/ Path ~/mail/cochrun/
Inbox ~/Maildir/cochrun/INBOX Inbox ~/mail/cochrun/INBOX
Subfolders Verbatim Subfolders Verbatim
# CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS # CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS

View file

@ -5,9 +5,9 @@
"height": 35, // Waybar height (to be removed for auto height) "height": 35, // Waybar height (to be removed for auto height)
"width": 1400, // Waybar width "width": 1400, // Waybar width
// Choose the order of the modules "custom/wintitle", // Choose the order of the modules "custom/wintitle",
"modules-left": ["wlr/workspaces", "hyprland/window"], "modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["pulseaudio", "backlight", "temperature", "memory", "cpu", "battery", "tray"], "modules-right": ["pulseaudio", "backlight", "memory", "cpu", "battery", "tray"],
"margin-top": -5, "margin-top": -5,
"margin-bottom": 8, "margin-bottom": 8,
"margin-left": 6, "margin-left": 6,
@ -16,10 +16,20 @@
"hyprland/window": { "hyprland/window": {
"format": " <span style='italic'>{}</span>" "format": " <span style='italic'>{}</span>"
}, },
"wlr/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"on-scroll-up": "hyprctl dispatch workspace e+1", "format-icons": {
"on-scroll-down": "hyprctl dispatch workspace e-1" "1": "",
"2": "",
"3": "󰈙",
"4": "󰍨",
"5": "",
"9": "",
"active": "",
"default": ""
},
// "on-scroll-up": "hyprctl dispatch workspace e+1",
// "on-scroll-down": "hyprctl dispatch workspace e-1"
}, },
"sway/mode": { "sway/mode": {
"format": "<span style=\"italic\"> {}</span>" "format": "<span style=\"italic\"> {}</span>"

View file

@ -11,6 +11,7 @@
#:use-module (pkgs qt5ct) #:use-module (pkgs qt5ct)
#:use-module (pkgs kdenlive) #:use-module (pkgs kdenlive)
#:use-module (home-services pipewire) #:use-module (home-services pipewire)
;; #:use-module (rde features)
;; #:use-module (emacs packages melpa) ;; #:use-module (emacs packages melpa)
#:use-module (gnu home) #:use-module (gnu home)
#:use-module (gnu home services) #:use-module (gnu home services)
@ -19,6 +20,7 @@
#:use-module (gnu home services xdg) #:use-module (gnu home services xdg)
#:use-module (gnu home services gnupg) #:use-module (gnu home services gnupg)
#:use-module (gnu home services fontutils) #:use-module (gnu home services fontutils)
#:use-module (gnu home services syncthing)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages vim) #:use-module (gnu packages vim)
#:use-module (gnu packages rust-apps) #:use-module (gnu packages rust-apps)
@ -52,6 +54,14 @@
;; (base0E . "#ff6ac1") ;; (base0E . "#ff6ac1")
;; (base0F . "#b2643c"))) ;; (base0F . "#b2643c")))
;; (define mail-config
;; "a scheme module to setup my email config"
;; (service-type (name 'mail)
;; (extensions
;; (list (service-extension
;; home-files-service-type
;; `((".mbsyncrc" ,(local-file "../.config/.mbsyncrc"))))))))
(define home-packages (define home-packages
(list ;; Let's start with some things (list ;; Let's start with some things
;; CLI apps ;; CLI apps
@ -258,6 +268,7 @@
"emacs-transmission" "emacs-transmission"
"emacs-emojify" "emacs-emojify"
"emacs-pulsar" "emacs-pulsar"
"emacs-ace-link"
"emacs-vertico" "emacs-vertico"
"emacs-consult" "emacs-consult"
"emacs-consult-eglot" "emacs-consult-eglot"
@ -433,16 +444,21 @@ gtk-xft-rgba=none
("gtk-2.0" ,(local-file "../.config/gtk-2.0" #:recursive? #t)))) ("gtk-2.0" ,(local-file "../.config/gtk-2.0" #:recursive? #t))))
(simple-service 'scripts (simple-service 'scripts
home-files-service-type home-files-service-type
`(("bin" ,(local-file "../scripts" #:recursive? #t)) `(("bin" ,(local-file "../scripts" #:recursive? #t))))
(".mozilla/firefox/chris.default/chrome" ,(local-file "../.config/firefox/chrome" #:recursive? #t)) (simple-service 'home-files
home-files-service-type
`((".mozilla/firefox/chris.default/chrome" ,(local-file "../.config/firefox/chrome" #:recursive? #t))
(".var/app/org.mozilla.firefox/.mozilla/firefox/chris.default/chrome" ,(local-file "../.config/firefox/chrome" #:recursive? #t)) (".var/app/org.mozilla.firefox/.mozilla/firefox/chris.default/chrome" ,(local-file "../.config/firefox/chrome" #:recursive? #t))
(".Xresources" ,(plain-file "Xresources" "Xcursor.theme: phinger-cursors-light (".Xresources" ,(plain-file "Xresources" "Xcursor.theme: phinger-cursors-light
Xcursor.size: 36 Xcursor.size: 36
")) "))
(".mbsyncrc" ,(local-file "../.config/mbsyncrc"))
(".icons/default/index.theme" ,(plain-file "default.theme" "[icon theme] (".icons/default/index.theme" ,(plain-file "default.theme" "[icon theme]
Inherits=phinger-cursors-light Inherits=phinger-cursors-light
")))) "))))
;; (mail-config)
(service home-syncthing-service-type)
(service home-gpg-agent-service-type (service home-gpg-agent-service-type
(home-gpg-agent-configuration (home-gpg-agent-configuration
(pinentry-program (pinentry-program

44
guix/pkgs/waybar.scm Normal file
View file

@ -0,0 +1,44 @@
(define-module (pkgs waybar))
(define-public waybar
(package
(name "waybar")
(version "0.9.22")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Alexays/Waybar")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "07h5l7h7wmzqgg7fbp98khrxg2sq2s4ncp4fiiz1yg62r752idy4"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags #~(list "--wrap-mode=nodownload")))
(inputs (list date
fmt
gtk-layer-shell
gtkmm-3
jsoncpp
libdbusmenu
libevdev
libinput-minimal
libmpdclient
libnl
libxml2
pipewire
playerctl
pulseaudio
spdlog
wayland
wireplumber))
(native-inputs
(list `(,glib "bin") pkg-config scdoc wayland-protocols))
(home-page "https://github.com/Alexays/Waybar")
(synopsis "Wayland bar for Sway and Wlroots based compositors")
(description "Waybar is a highly customisable Wayland bar for Sway and
Wlroots based compositors.")
(license license:expat))) ; MIT license
waybar

@ -1 +1 @@
Subproject commit c84cf9a83ac7f3a930ca08e431057783ea469424 Subproject commit 127dcdd2277e0c73493f416fedc537391ab2444b