TROMjaro XFCE joins and takes over the party

This commit is contained in:
Tio
2021-10-10 02:41:52 +02:00
parent 3766aba2b8
commit 06fc40343d
976 changed files with 12948 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/bash
xdotool search --onlyvisible --class xfce4-appfinder windowkill || setsid -f xfce4-appfinder

View File

@@ -0,0 +1,37 @@
#! /bin/bash
# add them ti .local/bin
# then add a simple launcher
# with their names and select
# to use the terminal
FILE1=/usr/lib/vala-panel/appmenu-registrar
FILE2=/usr/lib/vala-panel/appmenu-registrar.OFF
if [ -f "$FILE1" ]; then
## Disable Global Menu
sudo mv "$FILE1" "$FILE2" || exit
xfconf-query -c xfce4-panel -p /plugins/plugin-3/plugins/plugin-3/compact-mode -n -t bool -s true
killall appmenu-registrar
rofi -e 'Disabling the top menu
Please wait...' &
## Reset panels and windows
xfce4-panel -r &
xfwm4 --replace &
xfce4-panel &
sleep 4 && notify-send 'Top menu DISABLED !' 'Restart your computer in order for this to work properly!'
elif [ -f "$FILE2" ]; then
## Enable Global Menu
sudo mv "$FILE2" "$FILE1" || exit
xfconf-query -c xfce4-panel -p /plugins/plugin-3/plugins/plugin-3/compact-mode -n -t bool -s false
rofi -e 'Enabling the top menu
Please wait...' &
## Reset panels and windows
xfce4-panel -r &
xfwm4 --replace &
xfce4-panel &
sleep 4 && notify-send 'The top menu ENABLED !' 'Restart your computer in order for this to work properly!'
else
notify-send 'ERROR: is the Global Menu installed ?'
fi

View File

@@ -0,0 +1,3 @@
#!/bin/bash
xfce4-panel -r && xfwm4 --replace

View File

@@ -0,0 +1,6 @@
#!/bin/sh
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed.
rofi -dmenu -no-fixed-num-lines -password -p "$1"