diff --git a/.zshrc b/.zshrc index f695817..8413394 100644 --- a/.zshrc +++ b/.zshrc @@ -11,6 +11,7 @@ compinit comp_options+=(globdots) zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' source ~/.local/zsh/zsh-autosuggestions.zsh +source ~/.local/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh autoload -U colors && colors && setopt prompt_subst ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12" diff --git a/config/foot/foot.ini b/config/foot/foot.ini index 1b90a0e..8b1ebe5 100644 --- a/config/foot/foot.ini +++ b/config/foot/foot.ini @@ -1,4 +1,4 @@ -font=Ubuntu Mono:size=14 +font=UbuntuMono Nerd Font:size=14 pad=8x8 [colors] diff --git a/config/qtile/config.py b/config/qtile/config.py index ccb3519..b3b2cfe 100644 --- a/config/qtile/config.py +++ b/config/qtile/config.py @@ -33,7 +33,7 @@ keys = [ Key([mod], "space", lazy.window.toggle_floating(), desc="Toggle floating on the focused window"), Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"), Key([mod, "shift"], "q", lazy.shutdown(), desc="Shutdown Qtile"), - Key([mod], "r", lazy.spawn("wmenu-run -f \"Ubuntu Mono 14\" -N #000000 "), desc="Spawn a command using wmenu"), + Key([mod], "r", lazy.spawn("wmenu-run -f \"Ubuntu Mono Nerd Font 14\" -N #000000 "), desc="Spawn a command using wmenu"), Key([mod], "Print", lazy.spawn("/home/coast/.local/src/local/bin/screenie-wlr")), Key([mod], "Left", lazy.window.move_floating(-20, 0)), Key([mod], "Right", lazy.window.move_floating(20, 0)), @@ -74,13 +74,13 @@ for i in groups: ) layouts = [ - layout.MonadTall(font = "Ubuntu Mono", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), + layout.MonadTall(font = "Ubuntu Mono Nerd Font", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), # Try more layouts by unleashing below layouts. # layout.Stack(num_stacks=2), # layout.Bsp(), # layout.Matrix(), - layout.MonadWide(font = "Ubuntu Mono", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), - layout.RatioTile(font = "Ubuntu Mono", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), + layout.MonadWide(font = "Ubuntu Mono Nerd Font", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), + layout.RatioTile(font = "Ubuntu Mono Nerd Font", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), # layout.Tile(), # layout.TreeTab(), # layout.VerticalTile(), @@ -94,21 +94,21 @@ screens = [ Screen( top=bar.Bar( [ - widget.GroupBox(font = "Ubuntu Mono", margin_y = 5, fontsize = 14, margin_x = 5, padding_y = 0, padding_x = 2, borderwidth = 3, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ), - widget.TextBox(text = '|', font = "Ubuntu Mono", padding = 2,), - widget.CurrentLayout(font = "Ubuntu Mono",), - widget.TextBox(text = '|', font = "Ubuntu Mono", padding = 2,), + widget.GroupBox(font = "Ubuntu Mono Nerd Font", margin_y = 5, fontsize = 14, margin_x = 5, padding_y = 0, padding_x = 2, borderwidth = 3, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ), + widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,), + widget.CurrentLayout(font = "Ubuntu Mono Nerd Font", fontsize = 14), + widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,), widget.Prompt(), - widget.WindowName(font = "Ubuntu Mono"), + widget.WindowName(font = "Ubuntu Mono Nerd Font", fontsize = 14), widget.Chord( chords_colors={ "launch": ("#ff0000", "#ffffff"), }, name_transform=lambda name: name.upper()), - widget.StatusNotifier(), - widget.TextBox(text = '|', font = "Ubuntu Mono", padding = 2,), - widget.Clock(format="%I:%M %p", font = "Ubuntu Mono", fontsize = 14, padding = 2), - widget.QuickExit(font = "Ubuntu Mono", padding = 2, rounded = False, fontsize = 14), +# widget.StatusNotifier(), +# widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,), + widget.Clock(format="%I:%M %p", font = "Ubuntu Mono Nerd Font", fontsize = 14, padding = 2), + widget.QuickExit(font = "Ubuntu Mono Nerd Font", padding = 2, rounded = False, fontsize = 14), ], 24, ), diff --git a/local/bin/prism b/local/bin/prism deleted file mode 100755 index 00bada4..0000000 --- a/local/bin/prism +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -appimage-run /home/coast/AppImages/PrismLauncher-Linux-x86_64.AppImage diff --git a/local/bin/screenie-wlr b/local/bin/screenie-wlr index a5c8899..d20ccbd 100755 --- a/local/bin/screenie-wlr +++ b/local/bin/screenie-wlr @@ -1,9 +1,6 @@ -#!/bin/sh -SAVEDIR="$HOME/Pictures/Screenshots" -mkdir -p "$SAVEDIR" -TIMESTAMP=$(date +"%Y-%m-%d_%H-%M-%S") -SCREENSHOT_PATH="$SAVEDIR/screenshot_$TIMESTAMP.png" -grim -g "$(slurp)" "$SCREENSHOT_PATH" -wl-copy < "$SCREENSHOT_PATH" -echo "Screenshot saved to $SCREENSHOT_PATH" -notify-send -i "$SCREENSHOT_PATH" "Saved to $SCREENSHOT_PATH and copied to clipboard." +#!/bin/bash +TEMP_FILE=$(mktemp /tmp/screenshot_XXXXXX.png) +grim -g "$(slurp)" "$TEMP_FILE" +wl-copy < "$TEMP_FILE" +notify-send "Screenshot" "Screenshot taken." -i "$TEMP_FILE" +rm "$TEMP_FILE" diff --git a/local/bin/start_qtile.sh b/local/bin/start_qtile.sh index 7137e12..62b3aa3 100755 --- a/local/bin/start_qtile.sh +++ b/local/bin/start_qtile.sh @@ -2,4 +2,6 @@ wlr-randr --output eDP-1 --off & foot -s & sleep 1 & -swaybg -i ~/Pictures/nature4.png & +#swaybg -i ~/Pictures/nature4.png & +wbg ~/Pictures/nature3.png & +/usr/libexec/polkit-gnome-authentication-agent-1 & diff --git a/local/bin/startw b/local/bin/startw new file mode 100755 index 0000000..348618c --- /dev/null +++ b/local/bin/startw @@ -0,0 +1,3 @@ +#!/bin/sh +dbus-run-session qtile start -b wayland +