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
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 \ |
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
# 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" |
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
#!/bin/bash | |
# Restarts Bumblebee for multi-screen functionality. | |
tee /proc/acpi/bbswitch <<<ON | |
modprobe bbswitch | |
optirun true | |
intel-virtual-output | |
xrandr |
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
#!/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 |
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
#!/bin/bash | |
# Initializes Bumblebee for multi-screen functionality. | |
modprobe bbswitch | |
optirun true | |
intel-virtual-output | |
xrandr |
NewerOlder