Phase 3: screenshot hotkeys, clipboard history, Papirus icon theme

Screenshots (PrintScreen / Shift+PrintScreen):
- PrintScreen → full screenshot saved to ~/Pictures via scrot
- Shift+PrintScreen → interactive region select via scrot -s
- Both send a dunst notification on save
- scrot added to packages

Clipboard manager:
- Replace janky PRIMARY/CLIPBOARD sync loop with parcellite
- parcellite provides clipboard history, survives app close,
  shows a tray icon for browsing past entries
- parcellite added to packages

Icon theme:
- Switch from Adwaita to Papirus-Dark across GTK2, GTK3 settings,
  and theme index.theme
- papirus-icon-theme added to packages

Also fix remaining stale sky* references in menu.c (skywallpaper,
pkill skywm) and events.c (skylauncher).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-07-23 14:15:27 -04:00
1 parent dc209e74fe
commit 98aeafc4f0
5 files changed
+22 -14

No files matched your search

+6 -8
View File
@@ -84,6 +84,9 @@ xfce4-power-manager
bluez
blueman
xclip
scrot
parcellite
papirus-icon-theme
zip
unzip
p7zip
@@ -283,7 +286,7 @@ cat > "$HOME/.config/gtk-3.0/settings.ini" <<EOF
[Settings]
gtk-theme-name=OrionOS
gtk-font-name=Sans 10
gtk-icon-theme-name=Adwaita
gtk-icon-theme-name=Papirus-Dark
gtk-cursor-theme-name=Adwaita
EOF
cat > "$HOME/.gtkrc-2.0" <<EOF
@@ -307,13 +310,8 @@ nm-applet &
# Compositor
picom --config /etc/orionos/picom.conf &
# Clipboard sync: keep PRIMARY and CLIPBOARD selections in sync
if command -v xclip &>/dev/null; then
while true; do
xclip -o -sel primary 2>/dev/null | xclip -i -sel clipboard 2>/dev/null || true
sleep 1
done &
fi
# Clipboard manager: history survives app close, tray icon for paste menu
parcellite &
# Screen locker daemon (locks after idle timeout)
xscreensaver -no-splash &
+1 -1
View File
@@ -64,7 +64,7 @@ style "entry" {
class "GtkEntry" style "entry"
gtk-theme-name = "OrionOS"
gtk-icon-theme-name = "Adwaita"
gtk-icon-theme-name = "Papirus-Dark"
gtk-font-name = "Sans 10"
gtk-cursor-theme-name = "DMZ-White"
gtk-button-images = 0
+1 -1
View File
@@ -7,6 +7,6 @@ Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=OrionOS
MetacityTheme=OrionOS
IconTheme=Adwaita
IconTheme=Papirus-Dark
CursorTheme=DMZ-White
ButtonLayout=close:minimize,maximize
+11 -1
View File
@@ -286,7 +286,17 @@ void on_key_press(WM *wm, XKeyEvent *e) {
/* Alt+F1 — launcher */
if ((e->state & Mod1Mask) && sym == XK_F1)
system("skylauncher &");
system("orionlauncher &");
/* PrintScreen — full screenshot to ~/Pictures */
if (sym == XK_Print) {
if (e->state & ShiftMask)
system("mkdir -p ~/Pictures && scrot -s ~/Pictures/screenshot_%Y%m%d_%H%M%S.png"
" && notify-send 'Screenshot' 'Region saved to ~/Pictures' &");
else
system("mkdir -p ~/Pictures && scrot ~/Pictures/screenshot_%Y%m%d_%H%M%S.png"
" && notify-send 'Screenshot' 'Saved to ~/Pictures' &");
}
/* Super+Left — snap left */
if ((e->state & Mod4Mask) && sym == XK_Left && wm->focused)
+3 -3
View File
@@ -15,10 +15,10 @@ static const MenuItem MENU_ITEMS[] = {
{ "Volume Control", "pavucontrol &" },
{ "Display Settings", "arandr &" },
{ "──────────────────", NULL },
{ "Change Wallpaper", "skywallpaper --reset &" },
{ "Change Wallpaper", "orionwallpaper --reset &" },
{ "──────────────────", NULL },
{ "Restart OrionWM", "pkill skywm; sleep 0.2; skywm &" },
{ "Quit OrionOS", "pkill skywm" },
{ "Restart OrionWM", "pkill orionwm; sleep 0.2; orionwm &" },
{ "Quit OrionOS", "pkill orionwm" },
};
#define MENU_COUNT ((int)(sizeof(MENU_ITEMS) / sizeof(MENU_ITEMS[0])))