TROMjaro XFCE joins and takes over the party
This commit is contained in:
3
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/app-finder
Executable file
3
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/app-finder
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
xdotool search --onlyvisible --class xfce4-appfinder windowkill || setsid -f xfce4-appfinder
|
||||
|
37
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/global_menu_toggle
Executable file
37
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/global_menu_toggle
Executable 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
|
3
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/refresh-xfce
Executable file
3
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/refresh-xfce
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
xfce4-panel -r && xfwm4 --replace
|
||||
|
6
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/rofipass
Executable file
6
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/rofipass
Executable 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"
|
Reference in New Issue
Block a user