Replaced clipster with built in clipboard manager.

This commit is contained in:
Storm Dragon committed 2026-05-13 17:58:39 -04:00
1 parent 14b0a27c2f
commit 695e046d75
3 files changed
+537 -8

No files matched your search

+8 -6
View File
@@ -531,6 +531,7 @@ done
# Load saved configuration if available
configLoaded=0
configChanged=0
if load_config; then
configLoaded=1
dialog --title "I38" --msgbox "Loaded saved preferences from $configFile\n\nMissing or invalid values will be prompted." 0 0
@@ -689,6 +690,7 @@ else
fi
# Terminal emulator
if [[ -z "$terminalEmulator" ]] || { [[ ! -x "$terminalEmulator" ]] && ! command -v "$terminalEmulator" &> /dev/null; }; then
configChanged=1
programList=()
for i in mate-terminal lxterminal gnome-terminal terminator xfce4-terminal tilix ptyxis kgx sakura roxterm termit guake tilda qterminal konsole ; do
if command -v "$i" &> /dev/null ; then
@@ -816,8 +818,8 @@ if [[ $personalModeExists -ne 0 ]]; then
fi
fi
# Save configuration if requested (only on first run)
if [[ $configLoaded -eq 0 ]]; then
# Save configuration if requested on first run or after filling missing saved values.
if [[ $configLoaded -eq 0 || $configChanged -eq 1 ]]; then
save_config
fi
@@ -888,7 +890,7 @@ bindsym \$mod+F2 exec ${i3Path}/scripts/run_dialog.sh
bindsym \$mod+Control+b exec ${i3Path}/scripts/bookmarks.sh
# Clipboard manager
bindsym \$mod+Control+c exec clipster -s
bindsym \$mod+Control+c exec ${i3Path}/scripts/i38-clipboard.py --show
# gtk bar
bindsym \$mod+Control+Delete exec --no-startup-id sgtk-bar
@@ -899,7 +901,7 @@ bindsym \$mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @D
# Decrease system volume
bindsym \$mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -${volumeJump}% & play -qnG synth 0.03 sin 440
# Mute/unmute system volume
bindsym \$mod+XF86AudioMute exec --no-startup-id ${i3Path}/scrip/ts/mute-unmute.sh
bindsym \$mod+XF86AudioMute exec --no-startup-id ${i3Path}/scripts/mute-unmute.sh
# Music player controls
# Increase music volume
@@ -1280,8 +1282,8 @@ else
echo 'exec wl-paste -t text --watch clipman store'
fi
else
# i3: use X11 clipboard manager
echo 'exec --no-startup-id clipster -d'
# i3: use I38's accessible clipboard history daemon
echo "exec_always --no-startup-id ${i3Path}/scripts/i38-clipboard.py --daemon"
fi
echo "exec $screenReader"
echo "exec_always --no-startup-id ${i3Path}/scripts/desktop.sh"