Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Initializes Bumblebee for multi-screen functionality.
modprobe bbswitch
optirun true
intel-virtual-output
xrandr
#!/bin/bash
# Initializes Bumblebee for multi-screen functionality.
xorg_process=$(ps aux | grep 'Xorg' | awk '{print $2}')
kill -15 $xorg_process
rmmod nvidia
tee /proc/acpi/bbswitch <<<OFF
#!/bin/bash
# Restarts Bumblebee for multi-screen functionality.
tee /proc/acpi/bbswitch <<<ON
modprobe bbswitch
optirun true
intel-virtual-output
xrandr
@modulitos
modulitos / userChrome.css
Created April 21, 2019 08:20
~/.mozilla/<user>.default/chrome/userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* to hide the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* to hide the sidebar header */
#sidebar-header {
visibility: collapse;
* root topic - TAB and S-TAB to toggle folding
** child topic
child topic text
*** leaf topic:
some text blah
blah
blah
*** another leaf topic:
# test table - TAB to cycle through columns, M-e to move point to end of cell