Compare commits

...

5 commits

Author SHA1 Message Date
47306b85c7 feat(rincewind): Install some packages in my home from profile
These packages were installed in my default profile using ‘guix package -i’.
Since I'm using Guix home the setup of my default profile is a bit odd at the
moment, so since these seem to be here to stay for the moment I figured I should
install them in my home profile.
2023-03-30 22:38:31 -07:00
de02833bc5 fix(openssh-service): Change the name of my ssh connection
This had my setup broken for weeks because it wouldn't recognize ryuslash.org as
a configured host anymore.
2023-03-30 22:37:25 -07:00
ce6df63e39 fix(git): Properly match valid header in org-mode
A header in org-mode needs at least one space after any ‘*’ character and then
at least one other character after that.
2023-03-30 22:36:23 -07:00
6c1c79e245 Add some frame preferences to stumpwm 2023-03-30 09:59:37 -07:00
17d3bfce41 Add opacity-rule option for picom
Use this option to specify that anything containing “(Meeting) | Microsoft
Teams” (which should be in the title of MS Teams when in a meeting) should have
100% opacity, and also that anything containing “freerdp” should have 100%
opacity.

For Teams I really only need it to be opaque once a meeting starts, I don't care
the rest of the time.

For XFreeRDP I've tried matching on ‘class_g’, ‘name’, nothing seems to work.
Using ‘opacity-rule’ finally seems to have an effect.

The rules both use ‘*’ to match anywhere in the name, and ‘?’ to specify that
the match should be case-insensitive.
2023-03-30 09:55:48 -07:00
5 changed files with 39 additions and 11 deletions

View file

@ -2,6 +2,6 @@
name = Tom Willemse name = Tom Willemse
email = tom@ryuslash.org email = tom@ryuslash.org
[diff "org"] [diff "org"]
xfuncname = "^\\*+ *(.*)" xfuncname = "^\\*+ +(.+)"
[diff "lisp"] [diff "lisp"]
xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)" xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)"

View file

@ -125,7 +125,7 @@
(service home-openssh-service-type (service home-openssh-service-type
(home-openssh-configuration (home-openssh-configuration
(hosts (list (openssh-host (hosts (list (openssh-host
(name "ryuslash") (name "ryuslash.org")
(host-name "ryuslash.org") (host-name "ryuslash.org")
(user "slash") (user "slash")
(port 4511) (port 4511)

View file

@ -3,16 +3,25 @@
#:select (home-channels-service-type)) #:select (home-channels-service-type))
#:use-module ((gnu home) #:use-module ((gnu home)
#:select (home-environment)) #:select (home-environment))
#:use-module ((gnu packages certs)
#:select (nss-certs))
#:use-module ((gnu packages emacs) #:use-module ((gnu packages emacs)
#:select (emacs-next)) #:select (emacs-next))
#:use-module ((gnu packages emacs-xyz) #:use-module ((gnu packages emacs-xyz)
#:select (emacs-litable #:select (emacs-org-roam
emacs-org-roam emacs-vterm
emacs-vterm)) emacs-guix))
#:use-module ((gnu packages file-systems) #:use-module ((gnu packages file-systems)
#:select (tmsu)) #:select (tmsu))
#:use-module ((gnu packages forth)
#:select (gforth))
#:use-module ((gnu packages gnome)
#:select (hicolor-icon-theme))
#:use-module ((gnu packages linux) #:use-module ((gnu packages linux)
#:select (fakeroot)) #:select (fakeroot))
#:use-module ((gnu packages mail)
#:select (notmuch
emacs-notmuch))
#:use-module ((gnu packages music) #:use-module ((gnu packages music)
#:select (easytag)) #:select (easytag))
#:use-module ((gnu packages video) #:use-module ((gnu packages video)
@ -117,7 +126,6 @@
'("name = 'mowedline'" '("name = 'mowedline'"
"class_g = 'trayer'" "class_g = 'trayer'"
"bounding_shaped" "bounding_shaped"
"class_g = 'xfreerdp'"
"class_g = 'i3lock'")) "class_g = 'i3lock'"))
(wintypes (wintypes
'((dnd (shadow . #f)) '((dnd (shadow . #f))
@ -127,6 +135,9 @@
(active-opacity 95) (active-opacity 95)
(frame-opacity 100) (frame-opacity 100)
(inactive-opacity-override #t) (inactive-opacity-override #t)
(opacity-rule
'("100:name *?= '(Meeting) | Microsoft Teams'"
"100:name *?= 'freerdp'"))
(blur-background #t) (blur-background #t)
(blur-background-frame #t) (blur-background-frame #t)
(blur (blur
@ -135,16 +146,13 @@
(blur-background-fixed #t) (blur-background-fixed #t)
(blur-background-exclude (blur-background-exclude
'("name *= 'rofi'" '("name *= 'rofi'"
"class_g = 'xfreerdp'"
"class_g = 'i3lock'")) "class_g = 'i3lock'"))
(focus-exclude (focus-exclude
'("name *= 'rofi'" '("name *= 'rofi'"
"class_g = 'xfreerdp'"
"class_g = 'i3lock'")) "class_g = 'i3lock'"))
(fading #t) (fading #t)
(fade-exclude (fade-exclude
`("class_g = 'xfreerdp'" `("class_g = 'i3lock'"))
"class_g = 'i3lock'"))
(fade-in-step 3) (fade-in-step 3)
(fade-out-step 3)))) (fade-out-step 3))))
@ -165,10 +173,18 @@
fakeroot ; Needed for build arch packages fakeroot ; Needed for build arch packages
tmsu tmsu
mpd-random-albums mpd-random-albums
notmuch
emacs-notmuch
emacs-inkplate emacs-inkplate
emacs-outli emacs-outli
emacs-guix
emacs-oni-org-roam emacs-oni-org-roam
emacs-oni-vterm)) emacs-oni-vterm
gforth
;; Might be needed for certain icons?
hicolor-icon-theme
;; Might be needed for cetrificates
nss-certs))
(services (services
(list (list

View file

@ -143,6 +143,9 @@
(blur-background-exclude (blur-background-exclude
(list '()) (list '())
"Exclude conditions for background blur") "Exclude conditions for background blur")
(opacity-rule
(list '())
"Specify a list of opacity rules, in the format PERCENT:PATTERN, like 50:name *= \"Firefox\".")
(focus-exclude (focus-exclude
(list '()) (list '())
"Specify a list of conditions of windows that should always be considered focused") "Specify a list of conditions of windows that should always be considered focused")

View file

@ -53,4 +53,13 @@ after it has been unlocked."
(mode-line) (mode-line)
(restore-from-file "default") (restore-from-file "default")
(define-frame-preference "Default"
(0 t nil :class "kitty")
(1 t nil :class "Emacs")
(3 t nil :class "firefox"))
(define-frame-preference "teams"
(0 t t :class "teams-for-linux" :create t))
(swank:create-server :dont-close t) (swank:create-server :dont-close t)