Various laptop fixes
This commit is contained in:
parent
2513ea60ae
commit
2f3d51b4be
|
@ -11,6 +11,9 @@ set $default_gap 0
|
|||
exec initctl set-env --global SWAYSOCK="$SWAYSOCK"
|
||||
exec initctl set-env --global I3SOCK="$I3SOCK"
|
||||
exec initctl set-env --global WAYLAND_DISPLAY="$WAYLAND_DISPLAY"
|
||||
exec initctl set-env --global CLUTTER_BACKEND=wayland
|
||||
exec initctl set-env --global SDL_VIDEODRIVER=wayland
|
||||
exec initctl set-env --global MOZ_ENABLE_WAYLAND=1
|
||||
exec initctl emit sway-session
|
||||
|
||||
focus_wrapping no
|
||||
|
@ -122,8 +125,12 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set +10%
|
||||
bindsym shift+XF86MonBrightnessDown exec brightnessctl set 1%
|
||||
bindsym shift+XF86MonBrightnessUp exec brightnessctl set 100%
|
||||
bindsym control+XF86MonBrightnessDown exec brightnessctl set 1%-
|
||||
bindsym control+XF86MonBrightnessUp exec brightnessctl set +1%
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
|
|
@ -84,7 +84,8 @@ alias C "clear && clear" # TODO: this should clear a tmux pane's scrollback/logs
|
|||
alias l "nnn"
|
||||
alias sctl "sudo systemctl"
|
||||
alias sctlu "systemctl --user"
|
||||
alias bt "sudo bluetoothctl" # TODO: a vi-like tui for bluetooth would be great
|
||||
# TODO: a vi-like tui for bluetooth would be great
|
||||
alias bt "sctl start bluetooth && sudo bluetoothctl"
|
||||
alias btctl "bt"
|
||||
alias resrc "source $XDG_CONFIG_HOME/fish/config.fish"
|
||||
alias sc "sc-im"
|
||||
|
|
|
@ -27,8 +27,6 @@ links=(
|
|||
"apps/de/sway/mimeapps.list" "$HOME/.local/share/applications/mimeapps.list"
|
||||
|
||||
# shell files
|
||||
"apps/shell/bash/rc" "$HOME/.bashrc"
|
||||
"apps/shell/bash/profile" "$HOME/.bash_profile"
|
||||
"apps/shell/tmux/conf" "$HOME/.tmux.conf"
|
||||
"apps/shell/tmux/layouts" "$HOME/.tmux/layouts"
|
||||
"apps/shell/fish/" "$XDG_CONFIG_HOME/fish"
|
||||
|
@ -46,7 +44,6 @@ links=(
|
|||
"apps/de/gtk/3settings.ini" "$XDG_CONFIG_HOME/gtk-3.0/settings.ini"
|
||||
|
||||
# bar files
|
||||
"apps/de/polybar/config" "$XDG_CONFIG_HOME/polybar/config"
|
||||
"apps/de/waybar/" "$XDG_CONFIG_HOME/waybar"
|
||||
|
||||
# irc files
|
||||
|
@ -85,9 +82,6 @@ links=(
|
|||
# kitty config
|
||||
"apps/kitty/" "$XDG_CONFIG_HOME/kitty"
|
||||
|
||||
# rofi config
|
||||
"apps/rofi/config" "$XDG_CONFIG_HOME/rofi/config"
|
||||
|
||||
# ranger config
|
||||
"apps/ranger/" "$XDG_CONFIG_HOME/ranger"
|
||||
|
||||
|
@ -95,9 +89,6 @@ links=(
|
|||
"apps/mutt/rc" "$XDG_CONFIG_HOME/.muttrc"
|
||||
"apps/mutt/rc" "$HOME/.muttrc"
|
||||
|
||||
# neofetch config
|
||||
"apps/neofetch/config" "$XDG_CONFIG_HOME/neofetch/config"
|
||||
|
||||
# git config
|
||||
"apps/git/config" "$HOME/.gitconfig"
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ yay -Sy \
|
|||
alsa-utils `# Audio Utilities` \
|
||||
alsa-plugins `# Plugins for ALSA` \
|
||||
pulseaudio pavucontrol pulsemixer `# Audio Backend and Controls` \
|
||||
playerctl `# Media Keys Controls` \
|
||||
neovim-git `# Text Editors` \
|
||||
sc-im `# Spreadsheets` \
|
||||
unzip `# Simple Unzipping` \
|
||||
|
|
1
env/common/setup_helpers.bash
vendored
1
env/common/setup_helpers.bash
vendored
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
dfp=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../../" && pwd)
|
||||
source "${dfp}/apps/shell/bash/rc"
|
||||
|
||||
USER_DISAGREE_CODE=120
|
||||
NO_AGREEMENT_CODE=121
|
||||
|
|
2
env/common/sudo_setup
vendored
2
env/common/sudo_setup
vendored
|
@ -9,7 +9,7 @@ fi
|
|||
dfp=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../../" && pwd)
|
||||
source "${dfp}/env/common/setup_helpers.bash"
|
||||
|
||||
# cp "$dfp/apps/de/sway/dm-entry" "/usr/share/wayland-sessions/lsway.desktop"
|
||||
cp "$dfp/apps/de/sway/dm-entry" "/usr/share/wayland-sessions/lsway.desktop"
|
||||
|
||||
links=(
|
||||
# display manager files
|
||||
|
|
Reference in a new issue