This commit is contained in:
coast 2025-10-06 12:06:53 +03:30
parent a6beb65c22
commit 89711ed41f
7 changed files with 27 additions and 26 deletions

1
.zshrc
View file

@ -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"

View file

@ -1,4 +1,4 @@
font=Ubuntu Mono:size=14
font=UbuntuMono Nerd Font:size=14
pad=8x8
[colors]

View file

@ -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,
),

View file

@ -1,2 +0,0 @@
#!/bin/sh
appimage-run /home/coast/AppImages/PrismLauncher-Linux-x86_64.AppImage

View file

@ -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"

View file

@ -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 &

3
local/bin/startw Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
dbus-run-session qtile start -b wayland