Stuff
This commit is contained in:
parent
ba8ec1f524
commit
2f1af8411a
|
@ -13,7 +13,7 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
output * bg $HOME/.wallpaper fill
|
output * bg $HOME/.wallpaper fill
|
||||||
|
|
||||||
# TODO: configured displays?
|
# TODO: configured displays?
|
||||||
# output eDP-1 res 3200x1800 pos 0 0 scale 2
|
output eDP-1 res 3200x1800 pos 0 0 scale 2
|
||||||
# output DP-3 res 3440x1440 pos 1600 0
|
# output DP-3 res 3440x1440 pos 1600 0
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
|
|
|
@ -19,6 +19,7 @@ export MOZ_ENABLE_WAYLAND=1
|
||||||
# configuration flag for some of my dotfiles scripts
|
# configuration flag for some of my dotfiles scripts
|
||||||
export IS_WAYLAND=1
|
export IS_WAYLAND=1
|
||||||
|
|
||||||
exec mako
|
killall -9 dunst &> /dev/null
|
||||||
|
mako &
|
||||||
|
|
||||||
sway
|
sway
|
||||||
|
|
1
apps/tmpfiles/disable-lid-wakeup
Normal file
1
apps/tmpfiles/disable-lid-wakeup
Normal file
|
@ -0,0 +1 @@
|
||||||
|
w /proc/acpi/wakeup - - - - LID
|
2
apps/udev-rules/lowbat
Normal file
2
apps/udev-rules/lowbat
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Suspend the system when battery level drops to 3% or lower
|
||||||
|
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/bin/systemctl hibernate"
|
1
apps/udev-rules/wifi-powersave
Normal file
1
apps/udev-rules/wifi-powersave
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wl*", RUN+="/usr/bin/iw dev $name set power_save on"
|
|
@ -11,6 +11,7 @@ fi
|
||||||
pacaur --needed -S \
|
pacaur --needed -S \
|
||||||
bluez bluz-libs bluez-utils bluez-tools \
|
bluez bluz-libs bluez-utils bluez-tools \
|
||||||
pigz `# Multi-core gzipping` \
|
pigz `# Multi-core gzipping` \
|
||||||
|
iw `# WiFi Power Saving` \
|
||||||
arc-gtk-theme `# GTK Theme` \
|
arc-gtk-theme `# GTK Theme` \
|
||||||
elementary-icon-theme `# GUI File Explorer Icons` \
|
elementary-icon-theme `# GUI File Explorer Icons` \
|
||||||
thunar thunar-volman gvfs `# GUI File Explorer + Volume Management/Auto-Mount Disks)` \
|
thunar thunar-volman gvfs `# GUI File Explorer + Volume Management/Auto-Mount Disks)` \
|
||||||
|
|
|
@ -13,11 +13,19 @@ source "${dfp}/bin/lib/setup_helpers.bash"
|
||||||
|
|
||||||
links=(
|
links=(
|
||||||
# display manager files
|
# display manager files
|
||||||
"$dfp/apps/de/sway/init" "/usr/bin/sway-lytedev"
|
"$dfp/apps/de/sway/init" "/usr/bin/sway-lytedev"
|
||||||
"$dfp/apps/de/sway/dm-entry" "/usr/share/wayland-sessions/sway-lytedev.desktop"
|
"$dfp/apps/de/sway/dm-entry" "/usr/share/wayland-sessions/sway-lytedev.desktop"
|
||||||
|
|
||||||
# touchpad
|
# touchpad
|
||||||
"$dfp/apps/de/libinput/touchpad.conf" "/etc/X11/xorg.conf.d/41-libinput-lytedev-touchpad-options.conf"
|
"$dfp/apps/de/libinput/touchpad.conf" "/etc/X11/xorg.conf.d/41-libinput-lytedev-touchpad-options.conf"
|
||||||
|
|
||||||
|
# udev rules
|
||||||
|
"$dfp/apps/udev-rules/lowbat" "/etc/udev/rules.d/99-lowbat.rules"
|
||||||
|
# TODO: laptop-specific setup?
|
||||||
|
"$dfp/apps/udev-rules/wifi-powersave" "/etc/udev/rules.d/81-wifi-powersave.rules"
|
||||||
|
|
||||||
|
# tmpfiles
|
||||||
|
"$dfp/apps/tmpfiles/disable-lid-wakeup" "/etc/tmpfiles.d/disable-lid-wakeup.conf"
|
||||||
)
|
)
|
||||||
|
|
||||||
_dotfiles_setup_run_setup "$dfp/.agreed-to-erasing-root-files.lock" "${links[@]}"
|
_dotfiles_setup_run_setup "$dfp/.agreed-to-erasing-root-files.lock" "${links[@]}"
|
||||||
|
|
Reference in a new issue