mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-04-02 16:04:27 +00:00
Compare commits
7 Commits
9386fb64b7
...
9e52e49acb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e52e49acb | ||
|
|
e17628ab79 | ||
|
|
92466cc497 | ||
|
|
3f4d109963 | ||
|
|
4ea2afff4c | ||
|
|
7da3af1adf | ||
|
|
efefd3ba1a |
@ -1,8 +0,0 @@
|
||||
{
|
||||
"changelogState": {
|
||||
"lastSeenVersion": "v4.4.3"
|
||||
},
|
||||
"telemetry": {
|
||||
"instanceId": ""
|
||||
}
|
||||
}
|
||||
@ -616,9 +616,8 @@ binds {
|
||||
// which ensures niri always processes them, even when an inhibitor is active.
|
||||
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||
|
||||
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||
Mod+Shift+E { quit; }
|
||||
Ctrl+Alt+Delete { quit; }
|
||||
Mod+Shift+E hotkey-overlay-title="Restart Noctalia shell" { spawn "herd" "restart" "noctalia-shell"; }
|
||||
Ctrl+Alt+Delete hotkey-overlay-title="Open Noctalia shell session menu" { spawn "noctalia-shell" "ipc" "call" "sessionMenu" "toggle"; }
|
||||
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
{
|
||||
"appLauncher": {
|
||||
"terminalCommand": "wezterm start --",
|
||||
"viewMode": "grid"
|
||||
"terminalCommand": "wezterm start --"
|
||||
},
|
||||
"colorSchemes": {
|
||||
"darkMode": false,
|
||||
|
||||
@ -1,12 +1,8 @@
|
||||
-- Keep WezTerm maximized so that the installer won't be resized.
|
||||
-- https://wezterm.org/config/lua/gui-events/gui-startup.html
|
||||
local wezterm = require 'wezterm'
|
||||
local mux = wezterm.mux
|
||||
local config = {}
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
wezterm.on('gui-startup', function(cmd)
|
||||
local tab, pane, window = mux.spawn_window(cmd or {})
|
||||
window:gui_window():maximize()
|
||||
end)
|
||||
-- Use Xwayland in the LiveCD so that we can change keyboard layout when
|
||||
-- WezTerm is running.
|
||||
config.enable_wayland = false
|
||||
|
||||
return config
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages hardware)
|
||||
#:use-module (gnu packages imagemagick)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages llvm)
|
||||
@ -68,6 +69,9 @@
|
||||
(substitute* "Services/Power/IdleInhibitorService.qml"
|
||||
(("systemd-inhibit")
|
||||
(search-input-file inputs "bin/elogind-inhibit")))))
|
||||
(add-after 'unpack 'reduce-output-size
|
||||
(lambda _
|
||||
(delete-file-recursively "Assets/Screenshots")))
|
||||
(add-after 'install 'make-wrapper
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((script "noctalia-shell"))
|
||||
@ -89,6 +93,7 @@ exec ~a --config ~a/etc/xdg/quickshell/noctalia-shell \"$@\"~%"
|
||||
"bin/cava"
|
||||
"bin/cliphist"
|
||||
"bin/convert"
|
||||
"bin/ddcutil"
|
||||
"bin/fastfetch"
|
||||
"bin/fc-list"
|
||||
"bin/find"
|
||||
@ -118,6 +123,7 @@ exec ~a --config ~a/etc/xdg/quickshell/noctalia-shell \"$@\"~%"
|
||||
cava
|
||||
cliphist
|
||||
coreutils-minimal
|
||||
ddcutil
|
||||
elogind
|
||||
fastfetch
|
||||
findutils
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
#:use-module (gnu packages fcitx5)
|
||||
#:use-module (gnu packages fonts)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages networking)
|
||||
#:use-module (gnu packages polkit)
|
||||
@ -312,6 +313,17 @@ compositor.")))
|
||||
(file-like noctalia-shell)
|
||||
"File-like object to provide @command{/bin/noctalia-shell}."))
|
||||
|
||||
;; Create ~/.config/noctalia directory, otherwise Noctalia shell won't show up
|
||||
;; on initial startup.
|
||||
(define (%home-noctalia-shell-activation _)
|
||||
(with-imported-modules (source-module-closure '((guix build utils)))
|
||||
#~(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((xdg-config-home
|
||||
(or (getenv "XDG_CONFIG_HOME")
|
||||
(in-vicinity (getenv "HOME") ".config"))))
|
||||
(mkdir-p (in-vicinity xdg-config-home "noctalia"))))))
|
||||
|
||||
(define %home-noctalia-shell-shepherd
|
||||
(match-record-lambda <home-noctalia-shell-configuration>
|
||||
(noctalia-shell)
|
||||
@ -329,10 +341,12 @@ compositor.")))
|
||||
(service-type
|
||||
(name 'home-noctalia-shell)
|
||||
(extensions
|
||||
(list (service-extension home-shepherd-service-type
|
||||
%home-noctalia-shell-shepherd)
|
||||
(service-extension home-profile-service-type
|
||||
(compose list home-noctalia-shell-configuration-noctalia-shell))))
|
||||
(list (service-extension home-profile-service-type
|
||||
(compose list home-noctalia-shell-configuration-noctalia-shell))
|
||||
(service-extension home-activation-service-type
|
||||
%home-noctalia-shell-activation)
|
||||
(service-extension home-shepherd-service-type
|
||||
%home-noctalia-shell-shepherd)))
|
||||
(default-value (home-noctalia-shell-configuration))
|
||||
(description "")))
|
||||
|
||||
@ -574,7 +588,20 @@ gtk-key-theme-name = ~a~%"
|
||||
,(local-file "../examples/dot-config/xfce4/helpers.rc"))
|
||||
;; Prevent Noctalia shell initial screen.
|
||||
(".cache/noctalia/shell-state.json"
|
||||
,(local-file "../examples/dot-cache/noctalia/shell-state.json"))
|
||||
,(computed-file "noctalia-shell-state.json"
|
||||
(with-extensions (list guile-json-4)
|
||||
#~(begin
|
||||
(use-modules (json))
|
||||
(call-with-output-file #$output
|
||||
(lambda (port)
|
||||
(scm->json
|
||||
`(("changelogState"
|
||||
("lastSeenVersion"
|
||||
. ,(string-append "v" #$(package-version noctalia-shell))))
|
||||
("telemetry"
|
||||
("instanceId" . "")))
|
||||
port
|
||||
#:pretty #t)))))))
|
||||
|
||||
;; Selected from the default skeletons.
|
||||
(".config/gdb/gdbinit" ,%default-gdbinit)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user