mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Replace Noctalia screenshot plugin with flameshot
- Switch Sway screenshot keybinds to flameshot and start it with the session - Replace the Noctalia screenshot plugin with the official clipboard plugin and dedicated clipboard shortcuts
This commit is contained in:
@@ -91,7 +91,7 @@ Lo stato attuale del profilo desktop include, tra le altre cose:
|
|||||||
- `tmux` con plugin gestiti da TPM al bootstrap del profilo desktop
|
- `tmux` con plugin gestiti da TPM al bootstrap del profilo desktop
|
||||||
- Flatpak con remoto Flathub
|
- Flatpak con remoto Flathub
|
||||||
- GNOME Keyring e bootstrap della posta via script dedicato
|
- GNOME Keyring e bootstrap della posta via script dedicato
|
||||||
- shell Noctalia su Sway su `nymph`, con plugin ufficiali per clipboard (`clipper`), polkit (`polkit-agent`), screenshot (`screenshot`) e gestione USB (`usb-drive-manager`); config condivisa in `dotfiles/desktop/.config/noctalia/` e `settings.json` renderizzato da template Ansible con variabili host-specifiche
|
- shell Noctalia su Sway su `nymph`, con plugin ufficiali per clipboard (`clipper`, `clipboard`), polkit (`polkit-agent`) e gestione USB (`usb-drive-manager`); config condivisa in `dotfiles/desktop/.config/noctalia/` e `settings.json` renderizzato da template Ansible con variabili host-specifiche
|
||||||
- `udiskie` come backend per automount/LUKS su Sway, senza tray; la UI dei dispositivi removibili è demandata a `usb-drive-manager`
|
- `udiskie` come backend per automount/LUKS su Sway, senza tray; la UI dei dispositivi removibili è demandata a `usb-drive-manager`
|
||||||
- `kanshi` su `nymph` per il profilo monitor Wayland, con workspace Sway deterministici: in dual monitor `1` resta su `eDP-1` e `2-10` vanno su `DP-1`, mentre in laptop-only tutti tornano su `eDP-1`
|
- `kanshi` su `nymph` per il profilo monitor Wayland, con workspace Sway deterministici: in dual monitor `1` resta su `eDP-1` e `2-10` vanno su `DP-1`, mentre in laptop-only tutti tornano su `eDP-1`
|
||||||
- monitor Noctalia e `screenOverrides` dichiarati in inventory (`noctalia_bar_monitors`, `noctalia_screen_overrides`) per host `nymph`
|
- monitor Noctalia e `screenOverrides` dichiarati in inventory (`noctalia_bar_monitors`, `noctalia_screen_overrides`) per host `nymph`
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ desktop_i3_packages:
|
|||||||
|
|
||||||
desktop_sway_packages:
|
desktop_sway_packages:
|
||||||
- adw-gtk-theme
|
- adw-gtk-theme
|
||||||
|
- flameshot
|
||||||
- grim
|
- grim
|
||||||
- kanshi
|
- kanshi
|
||||||
- qt5ct
|
- qt5ct
|
||||||
|
|||||||
@@ -137,8 +137,8 @@
|
|||||||
owner: "{{ username }}"
|
owner: "{{ username }}"
|
||||||
group: "{{ user_group }}"
|
group: "{{ user_group }}"
|
||||||
loop:
|
loop:
|
||||||
|
- clipboard
|
||||||
- polkit-agent
|
- polkit-agent
|
||||||
- screenshot
|
|
||||||
- usb-drive-manager
|
- usb-drive-manager
|
||||||
|
|
||||||
- name: Ensure Noctalia cache directory exists
|
- name: Ensure Noctalia cache directory exists
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ set $menu qs -c noctalia-shell ipc call launcher toggle
|
|||||||
set $audio_panel qs -c noctalia-shell ipc call volume openPanel
|
set $audio_panel qs -c noctalia-shell ipc call volume openPanel
|
||||||
set $locker qs -c noctalia-shell ipc call lockScreen lock
|
set $locker qs -c noctalia-shell ipc call lockScreen lock
|
||||||
set $powermenu qs -c noctalia-shell ipc call sessionMenu toggle
|
set $powermenu qs -c noctalia-shell ipc call sessionMenu toggle
|
||||||
set $screenshot_full qs -c noctalia-shell ipc call plugin:screenshot takeScreenshot output
|
set $screenshot_full sh -c 'QT_QPA_PLATFORM=wayland flameshot full --clipboard'
|
||||||
set $screenshot_region qs -c noctalia-shell ipc call plugin:screenshot takeScreenshot region
|
set $screenshot_region sh -c 'QT_QPA_PLATFORM=wayland flameshot gui'
|
||||||
set $screenshot_window qs -c noctalia-shell ipc call plugin:screenshot takeScreenshot window
|
set $screenshot_window sh -c 'QT_QPA_PLATFORM=wayland flameshot gui'
|
||||||
set $audio_raise qs -c noctalia-shell ipc call volume increase
|
set $audio_raise qs -c noctalia-shell ipc call volume increase
|
||||||
set $audio_lower qs -c noctalia-shell ipc call volume decrease
|
set $audio_lower qs -c noctalia-shell ipc call volume decrease
|
||||||
set $audio_mute qs -c noctalia-shell ipc call volume muteOutput
|
set $audio_mute qs -c noctalia-shell ipc call volume muteOutput
|
||||||
@@ -22,8 +22,11 @@ exec pipewire
|
|||||||
exec pipewire-pulse
|
exec pipewire-pulse
|
||||||
exec wireplumber
|
exec wireplumber
|
||||||
exec kanshi
|
exec kanshi
|
||||||
|
exec flameshot
|
||||||
exec udiskie --no-tray
|
exec udiskie --no-tray
|
||||||
exec wl-paste --watch cliphist store
|
exec wl-paste --watch cliphist store
|
||||||
exec qs -c noctalia-shell
|
exec qs -c noctalia-shell
|
||||||
|
|
||||||
bindsym $mod+c exec qs -c noctalia-shell ipc call launcher clipboard
|
bindsym $mod+c exec qs -c noctalia-shell ipc call launcher clipboard
|
||||||
|
bindsym $mod+Ctrl+v exec qs -c noctalia-shell ipc call plugin:clipboard toggle
|
||||||
|
bindsym $mod+Ctrl+Shift+v exec qs -c noctalia-shell ipc call plugin:clipboard wipe
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"states": {
|
"states": {
|
||||||
|
"clipboard": {
|
||||||
|
"enabled": true,
|
||||||
|
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
||||||
|
},
|
||||||
"clipper": {
|
"clipper": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
||||||
@@ -15,10 +19,6 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
||||||
},
|
},
|
||||||
"screenshot": {
|
|
||||||
"enabled": true,
|
|
||||||
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
|
||||||
},
|
|
||||||
"usb-drive-manager": {
|
"usb-drive-manager": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
||||||
|
|||||||
Reference in New Issue
Block a user