mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Some window configuration updates, waybar color changes, clipse history changed, and adds logout service to clear clipboard history
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#!/bin/zsh
|
||||
#!/bin/bash
|
||||
|
||||
wl-copy --clear && \
|
||||
rm ~/.local/share/clipse/clipboard_history.json >/dev/null 2>&1
|
||||
#wl-copy --clear >/dev/null 2>&1 && \
|
||||
if [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
wl-copy --clear
|
||||
fi
|
||||
|
||||
rm ~/.local/share/clipse/clipboard_history.json >/dev/null 2>&1
|
||||
|
||||
@@ -13,7 +13,7 @@ CUR_WS=$(hyprctl -j activeworkspace | jq -r '.id')
|
||||
if [[ -f "$STATE_FILE" ]]; then
|
||||
# Restore windows
|
||||
ORIG_WS=$(cat "$STATE_FILE")
|
||||
for win in $(hyprctl -j clients | jq -r '.[] | select(.workspace.name | contains("$HIDE_WS")) | .address'); do
|
||||
for win in $(hyprctl -j clients | jq -r ".[] | select(.workspace.name | contains(\"$HIDE_WS\")) | .address"); do
|
||||
hyprctl dispatch movetoworkspace "$ORIG_WS,address:$win"
|
||||
hyprctl dispatch workspace "$ORIG_WS"
|
||||
done
|
||||
|
||||
@@ -4,3 +4,5 @@ systemctl --user enable --now hyprpaper.service
|
||||
systemctl --user enable --now hypridle.service
|
||||
espanso service register
|
||||
sudo setcap "cap_dac_override+p" $(which espanso)
|
||||
|
||||
systemctl --user enable --now logout-task.service
|
||||
|
||||
Reference in New Issue
Block a user