Skip to content

Commit

Permalink
Adjustments to hypr* confs; include starship, syntax highlighting, an…
Browse files Browse the repository at this point in the history
…d autosuggestions in .zshrc
  • Loading branch information
ambertia committed Jun 2, 2024
1 parent e401a75 commit dc685a6
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 34 deletions.
1 change: 1 addition & 0 deletions .config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ bind = $mainMod SHIFT, B, exec, ~/.config/waybar/launch.sh # Script to killall w
bind = , Print, exec, grim -g "$(slurp)" - | swappy -f - # Take a screenshot with PrintScreen
bind = ALT, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy && wl-paste # Open clipboard manager
bind = $mainMod, N, exec, wlogout # Launch logout menu
bind = $mainMod, G, exec, hyprpicker --autocopy --format=hex # Open color picker
# TODO nChain options - eventually

# Changed focus movement to Vimlike syntax
Expand Down
16 changes: 8 additions & 8 deletions .config/hypr/hyprlock.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Amber's Dotfiles

# __ __ ___ __
# /\ \/\ \ /\_ \ /\ \
# \ \ \_\ \ __ __ _____ _ __\//\ \ ___ ___\ \ \/'\
# \ \ _ \/\ \/\ \/\ '__`\/\`'__\\ \ \ / __`\ /'___\ \ , <
# \ \ \ \ \ \ \_\ \ \ \L\ \ \ \/ \_\ \_/\ \L\ \/\ \__/\ \ \\`\
# __ __ ___ __
# /\ \/\ \ /\_ \ /\ \
# \ \ \_\ \ __ __ _____ _ __\//\ \ ___ ___\ \ \/'\
# \ \ _ \/\ \/\ \/\ '__`\/\`'__\\ \ \ / __`\ /'___\ \ , <
# \ \ \ \ \ \ \_\ \ \ \L\ \ \ \/ \_\ \_/\ \L\ \/\ \__/\ \ \\`\
# \ \_\ \_\/`____ \ \ ,__/\ \_\ /\____\ \____/\ \____\\ \_\ \_\
# \/_/\/_/`/___/> \ \ \/ \/_/ \/____/\/___/ \/____/ \/_/\/_/
# /\___/\ \_\
# \/__/ \/_/
# /\___/\ \_\
# \/__/ \/_/

#---------------------------------------------------------------------
# Hyprlock Configuration
Expand All @@ -17,7 +17,7 @@

background {
monitor =
path = $HOME/Downloads/wallhaven-48q1x1.png # only png supported for now
path = $HOME/.backgrounds/wallhaven-48q1x1.png # only png supported for now
}

input-field {
Expand Down
16 changes: 8 additions & 8 deletions .config/hypr/media-binds.conf
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
$SCRIPT = ~/.config/waybar/scripts

bind = , xf86audioraisevolume, exec, $SCRIPT/volume --inc
bind = , xf86audiolowervolume, exec, $SCRIPT/volume --dec
bind = , xf86AudioRaiseVolume, exec, $SCRIPT/volume --inc
bind = , xf86AudioLowerVolume, exec, $SCRIPT/volume --dec
# My laptop doesn't have a mic mute key; it instead has hardware switches for mic & webcam
# bind = , xf86AudioMicMute, exec, $SCRIPT/volume --toggle-mic
bind = , xf86AudioMute, exec, $SCRIPT/volume --toggle
# bind = , xf86AudioMicMute, exec, $SCRIPT/volume --toggle-mic
bind = , xf86AudioMute, exec, $SCRIPT/volume --toggle

# My laptop doesn't have keyboard backlight keys - It's controlled at a hardware level using fn + SPACE
# bind = , xf86KbdBrightnessDown, exec, $SCRIPT/kb-brightness --dec
# bind = , xf86KbdBrightnessUp, exec, $SCRIPT/kb-brightness --inc
# bind = , xf86KbdBrightnessDown, exec, $SCRIPT/kb-brightness --dec
# bind = , xf86KbdBrightnessUp, exec, $SCRIPT/kb-brightness --inc

bind = , xf86MonBrightnessDown, exec, $SCRIPT/brightness --dec
bind = , xf86MonBrightnessUp, exec, $SCRIPT/brightness --inc
bind = , xf86MonBrightnessDown, exec, $SCRIPT/brightness --dec
bind = , xf86MonBrightnessUp, exec, $SCRIPT/brightness --inc

# Added audio control keybindings
bind = , xf86AudioPrev, exec, $SCRIPT/players --prev
Expand Down
1 change: 0 additions & 1 deletion .config/wal/templates/pywal.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,3 @@
}},
"plugins": {{}}
}}

Empty file modified .config/waybar/launch.sh
100644 → 100755
Empty file.
16 changes: 0 additions & 16 deletions .config/waybar/scripts/wpgtk.py

This file was deleted.

3 changes: 3 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

eval "$(starship init zsh)"

# Created by `pipx` on 2024-06-01 17:52:50
export PATH="$PATH:/home/amber/.local/bin"
4 changes: 3 additions & 1 deletion INSTALL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ USER_HOME=$(getent passwd $SUDO_USER | cut -d: -f6) # Thanks to dogbane on stack

echo -e "[${F_BOLD}${C_LIME}Installation${NO_FMT}]: Command line utilities"
sleep 5
pacman -S btop neovim ranger sed stow zsh
pacman -S btop neovim ranger sed stow zsh zsh-autosuggestions zsh-syntax-highlighting
chsh -s $(which zsh)

# _ _ _ _ ___
# | || |_ _ _ __ _ _| |__ _ _ _ __| | / __|___ _ _ ___
Expand Down Expand Up @@ -110,6 +111,7 @@ echo -e "[${F_BOLD}${C_AQUA}Config${NO_FMT}]: Modify SDDM configuration & theme"
sleep 5
sh -c "echo -e '[Theme]\nCurrent=corners' > /etc/sddm.conf"
cp -f sddm/scripts/* /usr/share/sddm/scripts/
chmod +x /usr/share/sddm/scripts/*
rm -r /usr/share/sddm/themes/corners/backgrounds
# Didn't seem to want to link without me removing original directory,
# even though I used -f
Expand Down

0 comments on commit dc685a6

Please sign in to comment.