Skip to content

Instantly share code, notes, and snippets.

Luke Swart modulitos

Block or report user

Report or block modulitos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tmux.conf
unbind C-b
set -g prefix C-t
bind-key t send-prefix
set-option -g history-limit 1000
# set -g @yank_selection "primary"
# # tmux plug-in manager
# set -g @tpm_plugins " \
# tmux-plugins/tpm \
# tmux-plugins/tmux-yank \
View bash-aliases_bumblebee
# NVIDIA Optimus Aliases - bbswitch
alias tmulti="sudo $HOME/bin/term_multiscreen"
alias rmulti="sudo $HOME/bin/reinit_multiscreen"
alias imulti="sudo /home/lucas/bin/init_multiscreen"
View reinit_multiscreen
#!/bin/bash
# Restarts Bumblebee for multi-screen functionality.
tee /proc/acpi/bbswitch <<<ON
modprobe bbswitch
optirun true
intel-virtual-output
xrandr
View term_multiscreen
#!/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
View init_multiscreen
#!/bin/bash
# Initializes Bumblebee for multi-screen functionality.
modprobe bbswitch
optirun true
intel-virtual-output
xrandr
You can’t perform that action at this time.