summaryrefslogtreecommitdiff
path: root/pcr/i3-gnome/i3-gnome
blob: 4cfb8fc6e52cdaf5e531bd00889a26f42e5ce459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ -n "$DESKTOP_AUTOSTART_ID" ]; then
	dbus-send --session --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:i3-gnome" "string:$DESKTOP_AUTOSTART_ID"
fi

# Fix the cursor missing problem
dconf write /org/gnome/settings-daemon/plugins/cursor/active false

# Disable Gnome Shell's App Menu, so that lost menu items are shown again
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}'

i3