-
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add:
xfce4-dynamic-workspaces-plugin-git
(#6620)
Co-authored-by: ook37 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
672aa43
commit d95edad
Showing
4 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pkgbase = xfce4-dynamic-workspaces-plugin-git | ||
gives = xfce4-dynamic-workspaces-plugin | ||
pkgver = 0.0.1 | ||
pkgdesc = Dynamic workspaces for XFCE, similar to GNOME | ||
arch = all | ||
depends = python3-gi | ||
depends = libwnck-3-0 | ||
depends = wmctrl | ||
depends = gir1.2-notify-0.7 | ||
maintainer = Oren Klopfer <[email protected]> | ||
source = https://github.com/DimseBoms/XFCE-Dynamic-Workspace.git | ||
|
||
pkgname = xfce4-dynamic-workspaces-plugin-git |
38 changes: 38 additions & 0 deletions
38
packages/xfce4-dynamic-workspaces-plugin-git/xfce4-dynamic-workspaces-plugin-git.pacscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
pkgname="xfce4-dynamic-workspaces-plugin-git" | ||
source=("https://github.com/DimseBoms/XFCE-Dynamic-Workspace.git") | ||
arch=("all") | ||
pkgver="0.0.1" | ||
gives="xfce4-dynamic-workspaces-plugin" | ||
depends=("python3-gi" "libwnck-3-0" "wmctrl" "gir1.2-notify-0.7") | ||
pkgdesc="Dynamic workspaces for XFCE, similar to GNOME" | ||
maintainer=("Oren Klopfer <[email protected]>") | ||
|
||
package() { | ||
install -Dm755 "XFCE-Dynamic-Workspace/dynamic_workspaces.py" -t "${pkgdir}/usr/bin" | ||
mkdir -p "${pkgdir}/etc/skel/.config/autostart" | ||
echo "[Desktop Entry] | ||
Encoding=UTF-8 | ||
Version=0.0.1 | ||
Type=Application | ||
Name=Dynamic Workspaces | ||
Comment=Dynamic Workspaces for XFCE | ||
Exec=dynamic_workspaces.py | ||
OnlyShowIn=XFCE; | ||
RunHook=0 | ||
StartupNotify=false | ||
Terminal=false | ||
Hidden=false" | tee "${pkgdir}/etc/skel/.config/autostart/dynamic_workspaces.desktop" > /dev/null | ||
} | ||
|
||
post_install() { | ||
mkdir -p "${homedir}/.config/autostart" | ||
if ! [[ -f "${homedir}/.config/autostart/dynamic_workspaces.desktop" ]]; then | ||
sudo ln -sf "/etc/skel/.config/autostart/dynamic_workspaces.desktop" "${homedir}/.config/autostart/dynamic_workspaces.desktop" | ||
fi | ||
} | ||
|
||
post_remove() { | ||
if [[ -L "${homedir}/.config/autostart/dynamic_workspaces.desktop" ]]; then | ||
sudo rm -f "${homedir}/.config/autostart/dynamic_workspaces.desktop" | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12566,6 +12566,20 @@ pkgbase = xfce4-deb | |
|
||
pkgname = xfce4-deb | ||
--- | ||
pkgbase = xfce4-dynamic-workspaces-plugin-git | ||
gives = xfce4-dynamic-workspaces-plugin | ||
pkgver = 0.0.1 | ||
pkgdesc = Dynamic workspaces for XFCE, similar to GNOME | ||
arch = all | ||
depends = python3-gi | ||
depends = libwnck-3-0 | ||
depends = wmctrl | ||
depends = gir1.2-notify-0.7 | ||
maintainer = Oren Klopfer <[email protected]> | ||
source = https://github.com/DimseBoms/XFCE-Dynamic-Workspace.git | ||
|
||
pkgname = xfce4-dynamic-workspaces-plugin-git | ||
--- | ||
pkgbase = xfce4-hotcorner-plugin-git | ||
gives = xfce4-hotcorner-plugin | ||
pkgver = 0.0.4 | ||
|