mirror of
https://git.sr.ht/~coasteen/dotfiles
synced 2025-11-04 14:47:38 +01:00
updates
This commit is contained in:
parent
795585a60b
commit
542591eb33
11 changed files with 41 additions and 63 deletions
|
|
@ -12,8 +12,8 @@ window {
|
|||
background-color: #000000;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #ffffff;
|
||||
color: #ffffff;
|
||||
border-color: #454545;
|
||||
color: #aeaeae;
|
||||
}
|
||||
|
||||
.label {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
(include "eww_widgets.yuck")
|
||||
|
||||
(defwindow year
|
||||
:monitor '[0]'
|
||||
:monitor 'HDMI-A-1'
|
||||
:stacking "bg"
|
||||
:namespace "eww"
|
||||
:geometry (geometry
|
||||
:x "15"
|
||||
:y "15"
|
||||
:y "965"
|
||||
:width "100"
|
||||
:height "100"
|
||||
:anchor "top left")
|
||||
|
|
@ -14,12 +14,12 @@
|
|||
)
|
||||
|
||||
(defwindow month
|
||||
:monitor '[0]'
|
||||
:monitor 'HDMI-A-1'
|
||||
:stacking "bg"
|
||||
:namespace "eww"
|
||||
:geometry (geometry
|
||||
:x "125"
|
||||
:y "15"
|
||||
:y "965"
|
||||
:width "100"
|
||||
:height "100"
|
||||
:anchor "top left")
|
||||
|
|
@ -27,12 +27,12 @@
|
|||
)
|
||||
|
||||
(defwindow day
|
||||
:monitor '[0]'
|
||||
:monitor 'HDMI-A-1'
|
||||
:stacking "bg"
|
||||
:namespace "eww"
|
||||
:geometry (geometry
|
||||
:x "235"
|
||||
:y "15"
|
||||
:y "965"
|
||||
:width "100"
|
||||
:height "100"
|
||||
:anchor "top left")
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Get the day of the month.
|
||||
day_of_month=$(date +"%d")
|
||||
|
||||
# Remove leading zero from the day of the month
|
||||
day_of_month=$(echo $day_of_month | sed 's/^0*//')
|
||||
|
||||
# Deduce the correct suffix.
|
||||
if [[ $day_of_month -ge 11 && $day_of_month -le 13 ]]; then
|
||||
suffix="th"
|
||||
else
|
||||
|
|
@ -17,6 +11,4 @@ else
|
|||
*) suffix="th" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Output the formatted day.
|
||||
echo "${day_of_month}${suffix}"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
# Get the month.
|
||||
month=$(date +"%b")
|
||||
|
||||
# Return the month string.
|
||||
echo "$month"
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@
|
|||
eww kill
|
||||
eww daemon
|
||||
|
||||
# Open widgets for monitor 1
|
||||
eww open yearbox
|
||||
eww open monthbox
|
||||
eww open daybox
|
||||
eww open userinfo
|
||||
eww open year
|
||||
eww open month
|
||||
eww open day
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
# Get the year.
|
||||
year=$(date +"%Y")
|
||||
|
||||
# Output the year.
|
||||
echo "$year"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ pad=8x8
|
|||
|
||||
[colors]
|
||||
#foreground=ebdbb2 # light foreground (text)
|
||||
background=1c1c1c # dark background
|
||||
alpha=0.9
|
||||
background=000000 # dark background
|
||||
#
|
||||
### Normal/regular colors (color palette 0-7)
|
||||
#regular0=1d2021 # black
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
background-color=#1c1c1c
|
||||
text-color=#e5e5e5
|
||||
background-color=#000000
|
||||
text-color=#aeaeae
|
||||
border-color=#1c1c1c
|
||||
default-timeout=5000
|
||||
ignore-timeout=1
|
||||
|
||||
[urgency=low]
|
||||
border-color=#555555
|
||||
border-color=#aeaeae
|
||||
|
||||
[urgency=normal]
|
||||
border-color=#bbbbbb
|
||||
border-color=#aeaeae
|
||||
|
||||
[urgency=high]
|
||||
border-color=#ffffff
|
||||
border-color=#383383
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit be06c952810226f372149ea1af68b628c662c65a
|
||||
Subproject commit 04ef607075184e7b8481245a40a9010368511e98
|
||||
|
|
@ -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 Nerd Font 14\" -N #000000 "), desc="Spawn a command using wmenu"),
|
||||
Key([mod], "r", lazy.spawn("wmenu-run -f \"Ubuntu Mono Nerd Font 14\" -N #000000 -n #aeaeae -M #aeaeae -S #aeaeae -s #000000"), desc="Spawn a command using wmenu"),
|
||||
Key([mod], "Print", lazy.spawn("/home/coast/.local/src/local/bin/screenie-wlr")),
|
||||
Key([mod, "shift"], "Print", lazy.spawn("/usr/bin/grim")),
|
||||
Key([mod], "Left", lazy.window.move_floating(-20, 0)),
|
||||
|
|
@ -52,11 +52,6 @@ keys = [
|
|||
for vt in range(1, 8):
|
||||
keys.append(Key(["control", "mod1"], f"f{vt}", lazy.core.change_vt(vt).when(func=lambda: qtile.core.name == "wayland"), desc=f"Switch to VT{vt}"))
|
||||
|
||||
@hook.subscribe.client_new
|
||||
def set_opacity(window):
|
||||
if window.match(Match(wm_class=[ "footclient", "foot"] )):
|
||||
window.opacity = 0.9
|
||||
|
||||
groups = [Group(i) for i in "123456789"]
|
||||
|
||||
for i in groups:
|
||||
|
|
@ -96,25 +91,25 @@ extension_defaults = widget_defaults.copy()
|
|||
|
||||
screens = [
|
||||
Screen(
|
||||
bottom=bar.Bar(
|
||||
top=bar.Bar(
|
||||
[
|
||||
widget.Prompt(),
|
||||
widget.GroupBox(fontsize = 14.5, font = "Ubuntu Mono Nerd Font", borderwidth = 4, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ),
|
||||
widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,),
|
||||
widget.CurrentLayout(font = "Ubuntu Mono Nerd Font", ),
|
||||
widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,),
|
||||
widget.WindowName(font = "Ubuntu Mono Nerd Font", ),
|
||||
widget.GroupBox(font="Ubuntu Mono Nerd Font", borderwidth=1, padding=6, rounded=False, highlight_method="line", this_current_screen_border="#1e1e1e", foreground=["#aeaeae"], active=["#aeaeae"], inactive=["#454545"], fontsize=16),
|
||||
widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2, foreground=["#1e1e1e"], fontsize=16),
|
||||
widget.CurrentLayout(font = "Ubuntu Mono Nerd Font", foreground=["#aeaeae"], fontsize=16),
|
||||
widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2, foreground=["#1e1e1e"], fontsize=16),
|
||||
widget.WindowName(font = "Ubuntu Mono Nerd Font", foreground=["#aeaeae"], fontsize=16),
|
||||
widget.Chord(
|
||||
chords_colors={
|
||||
"launch": ("#ff0000", "#ffffff"),
|
||||
"launch": ("#ff0000", "#aeaeae"),
|
||||
},
|
||||
name_transform=lambda name: name.upper()),
|
||||
# widget.StatusNotifier(),
|
||||
# widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,),
|
||||
widget.Clock(format="%I:%M %p", font = "Ubuntu Mono Nerd Font", padding = 2),
|
||||
widget.QuickExit(font = "Ubuntu Mono Nerd Font", padding = 2, rounded = False, ),
|
||||
widget.Clock(format="%I:%M %p", font = "Ubuntu Mono Nerd Font", padding = 2, foreground=["#aeaeae"], fontsize=16) ,
|
||||
widget.QuickExit(font = "Ubuntu Mono Nerd Font", padding = 2, rounded = False, foreground=["#aeaeae"], fontsize=16 ),
|
||||
],
|
||||
24,
|
||||
28,
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,12 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
wlr-randr --output eDP-1 --off &
|
||||
foot -s &
|
||||
sleep 1 &
|
||||
#swaybg -i ~/Pictures/nature4.png &
|
||||
#wbg ~/Pictures/nature3.png &
|
||||
#swaybg -i /home/coast/.local/src/wall/landscapes/1722895134609554.jpg
|
||||
sleep 1 &
|
||||
#swaybg -i "/home/coast/.local/src/wall/art/508334ldsdl.jpg" -m stretch &
|
||||
#swaybg -i "/home/coast/.local/src/wall/art/1719378313520594.jpg" &
|
||||
swaybg -i "/home/coast/.local/src/wall/art/View_of_Cotopaxi_by_Frederic_Edwin_Church_1857.jpg" &
|
||||
|
||||
swaybg -i "/home/coast/.local/src/wall/landscapes/1685467042941515.jpg" &
|
||||
|
||||
/usr/libexec/polkit-gnome-authentication-agent-1 &
|
||||
|
||||
(
|
||||
pkill eww
|
||||
eww daemon &
|
||||
while ! eww ping >/dev/null 2>&1; do sleep 0.1; done
|
||||
eww open-many year month day
|
||||
) &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue