Compare commits
6 Commits
897594e91c
...
0a32e075d4
Author | SHA1 | Date |
---|---|---|
Bauke | 0a32e075d4 | |
Bauke | f9cb821173 | |
Bauke | 333518fabf | |
Bauke | 95a0d64006 | |
Bauke | 785dc732e3 | |
Bauke | 32ceab3ea8 |
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
miniflux_api_token=$(cat $BAUKE_DIR/data/miniflux-api-tokens.json | jq -r '."unread-entries"')
|
||||
|
||||
json=$(curl -sSL --insecure -H "X-Auth-Token: $miniflux_api_token" "https://rss.azedia.lan/v1/feeds/counters")
|
||||
|
||||
count=$(echo $json | jq -j '.unreads | length')
|
||||
|
||||
if [[ ! $count -eq "0" ]]; then
|
||||
echo $count
|
||||
fi
|
|
@ -56,6 +56,7 @@
|
|||
handbrake
|
||||
helm
|
||||
hexyl
|
||||
hydrogen
|
||||
ifuse
|
||||
imagemagick
|
||||
jq
|
||||
|
@ -94,6 +95,7 @@
|
|||
protonup-ng
|
||||
protonvpn-cli
|
||||
protonvpn-gui
|
||||
python3
|
||||
python311Packages.argcomplete
|
||||
python311Packages.pip
|
||||
python311Packages.pipx
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
nssmdns = true;
|
||||
};
|
||||
|
||||
picom.enable = true;
|
||||
|
||||
pipewire = {
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
|
|
|
@ -44,10 +44,21 @@ workspace $ws4 gaps inner 10
|
|||
|
||||
# Configuration for i3bar.
|
||||
bar {
|
||||
output primary # Only output to the primary display.
|
||||
position bottom # Position at the bottom of the screen.
|
||||
status_command i3status-rs # Use i3status-rust for the status contents.
|
||||
tray_output primary # Show tray icons on the primary display.
|
||||
colors {
|
||||
background #00000000
|
||||
statusline #F2EFFF
|
||||
separator #D2B83A
|
||||
focused_workspace #E6DEFF #E6DEFF #1F1731
|
||||
active_workspace #D2B83A #D2B83A #1F1731
|
||||
inactive_workspace #2A2041 #1F1731 #E6DEFF
|
||||
urgent_workspace #F99ADD #F99ADD #1F1731
|
||||
}
|
||||
i3bar_command i3bar --transparency
|
||||
output primary
|
||||
position bottom
|
||||
separator_symbol "/"
|
||||
status_command i3status-rs
|
||||
tray_output primary
|
||||
}
|
||||
|
||||
# Assign clients to specific workspaces.
|
||||
|
@ -60,5 +71,5 @@ assign [class="Standard Notes"] $ws2
|
|||
assign [class="Transmission-gtk"] $ws3
|
||||
assign [class="KeePassXC"] $ws3
|
||||
|
||||
# Include the keybinds file.
|
||||
include keybinds.conf
|
||||
include theme.conf
|
||||
|
|
|
@ -5,6 +5,7 @@ bindsym $mod+Shift+q kill
|
|||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you want to exit?' -B 'Yes' 'xfce4-session-logout'"
|
||||
bindsym $mod+Shift+r restart
|
||||
bindcode $mod+Shift+65 floating toggle
|
||||
## Change focus.
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
client.focused #2A204188 #2A2041DD #F2EFFF #F2EFFF #2A204188
|
||||
client.focused_inactive #1F1731BB #1F1731BB #E6DEFF #E6DEFF #1F1731BB
|
||||
client.unfocused #1F173188 #1F173188 #E6DEFF #E6DEFF #1F173188
|
||||
client.urgent #F99ADD #F99ADD #1F1731 #1F1731 #F99ADD
|
|
@ -1,3 +1,13 @@
|
|||
[icons]
|
||||
icons = "emoji"
|
||||
|
||||
[[block]]
|
||||
block = "custom"
|
||||
command = "miniflux-unread-entries"
|
||||
format = "^icon_bell <span color='#D2B83A'>$text.pango-str()</span>"
|
||||
interval = 600
|
||||
hide_when_empty = true
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
format = "$timestamp.datetime(f:'%H:%M')"
|
||||
|
|
Loading…
Reference in New Issue