Add laptop specific i3 configs
This commit is contained in:
parent
9438616aed
commit
2c1000af45
@ -19,6 +19,11 @@ set $drawingTabletStylus "HUION Huion Tablet Pen stylus"
|
|||||||
set $drawingTabletPad "HUION Huion Tablet Pad pad"
|
set $drawingTabletPad "HUION Huion Tablet Pad pad"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if device == "laptop" %}
|
||||||
|
# Import the GTK theming from Gnome
|
||||||
|
exec_always --no-startup-id /usr/lib/gnome-settings-daemon/gsd-xsettings
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
set $alt Mod1
|
set $alt Mod1
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
@ -73,6 +78,12 @@ exec --no-startup-id noisetorch -i -s alsa_input.pci-0000_00_1f.3.analog-stereo
|
|||||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork --color=000000
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork --color=000000
|
||||||
|
|
||||||
|
{% if device == "laptop" %}
|
||||||
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user