diff --git a/apps/de/sway/config b/apps/de/sway/config index cbc0a92..f55afa9 100644 --- a/apps/de/sway/config +++ b/apps/de/sway/config @@ -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 diff --git a/apps/shell/fish/aliases.fish b/apps/shell/fish/aliases.fish index 9dd36ee..1fe6111 100755 --- a/apps/shell/fish/aliases.fish +++ b/apps/shell/fish/aliases.fish @@ -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" diff --git a/bin/setup-dotfiles b/bin/setup-dotfiles index 4660142..356ad2c 100755 --- a/bin/setup-dotfiles +++ b/bin/setup-dotfiles @@ -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" diff --git a/env/arch-linux/provision.d/20-install-packages.bash b/env/arch-linux/provision.d/20-install-packages.bash index 0d94d43..a3346d8 100755 --- a/env/arch-linux/provision.d/20-install-packages.bash +++ b/env/arch-linux/provision.d/20-install-packages.bash @@ -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` \ diff --git a/env/common/setup_helpers.bash b/env/common/setup_helpers.bash index e555f35..b0dde91 100644 --- a/env/common/setup_helpers.bash +++ b/env/common/setup_helpers.bash @@ -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 diff --git a/env/common/sudo_setup b/env/common/sudo_setup index b74ea76..3d63b5c 100755 --- a/env/common/sudo_setup +++ b/env/common/sudo_setup @@ -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 diff --git a/readme.md b/readme.md index 080f503..53ebd19 100644 --- a/readme.md +++ b/readme.md @@ -16,6 +16,7 @@ curl -s -L https://git.lyte.dev/lytedev/dotfiles/raw/branch/master/bin/init-dotf # To Do ++ Hibernation and proper automatic power controls + **Learn to use `journalctl`** + Fix sway workspaces on desktop + Neovim LSP