initial dotfiles
This commit is contained in:
commit
45e5fe53d2
370 changed files with 25449 additions and 0 deletions
21
.config/scripts/rofi-menus/clipboard-manager.sh
Executable file
21
.config/scripts/rofi-menus/clipboard-manager.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ┏━━━┳━━┳━┓┏━┳━━━┳┓╋╋┏━━┳━┓┏━┓
|
||||
# ┗┓┏┓┣┫┣┫┃┗┛┃┃┏━━┫┃╋╋┗┫┣┻┓┗┛┏┛
|
||||
# ╋┃┃┃┃┃┃┃┏┓┏┓┃┗━━┫┃╋╋╋┃┃╋┗┓┏┛
|
||||
# ╋┃┃┃┃┃┃┃┃┃┃┃┃┏━━┫┃╋┏┓┃┃╋┏┛┗┓
|
||||
# ┏┛┗┛┣┫┣┫┃┃┃┃┃┃╋╋┃┗━┛┣┫┣┳┛┏┓┗┓
|
||||
# ┗━━━┻━━┻┛┗┛┗┻┛╋╋┗━━━┻━━┻━┛┗━┛
|
||||
# The program was created by DIMFLIX
|
||||
# Github: https://github.com/DIMFLIX-OFFICIAL
|
||||
|
||||
session_type=$XDG_SESSION_TYPE
|
||||
|
||||
if [ "$session_type" == "wayland" ]; then
|
||||
cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
|
||||
|
||||
elif [ "$session_type" == "x11" ]; then
|
||||
cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | xclip -selection clipboard
|
||||
else
|
||||
echo "Тип сеанса не определен или не является Wayland/X11."
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue