mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Let laptop use discrete nvidia graphics card only
This commit is contained in:
parent
007b648cf6
commit
97545d442d
3 changed files with 8 additions and 1 deletions
1
.config/X11/Xresources
Normal file
1
.config/X11/Xresources
Normal file
|
|
@ -0,0 +1 @@
|
|||
Xft.dpi: 115
|
||||
|
|
@ -30,4 +30,10 @@ setxkbmap -option caps:swapescape
|
|||
setxkbmap -option ctrl:rctrl_ralt
|
||||
setxkbmap -option ctrl:ralt_rctrl
|
||||
|
||||
# Use NVIDIA graphics only
|
||||
# https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_NVIDIA_graphics_only
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
xrandr --auto
|
||||
export VDPAU_DRIVER=nvidia
|
||||
|
||||
exec qtile
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ window:
|
|||
class:
|
||||
instance: Terminal Emulator
|
||||
font:
|
||||
size: 11
|
||||
size: 12
|
||||
# colorscheme: Material
|
||||
colors:
|
||||
# Default colors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue