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
email = tom@ryuslash.org
[diff "org"]
xfuncname = "^\\*+ *(.*)"
xfuncname = "^\\*+ +(.+)"
[diff "lisp"]
xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)"

View file

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

View file

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

View file

@ -143,6 +143,9 @@
(blur-background-exclude
(list '())
"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
(list '())
"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)
(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)