i3status rust

This commit is contained in:
tess 2023-02-17 06:53:47 +01:00
parent 8a67b6ebdf
commit b0475aa31e
4 changed files with 107 additions and 8 deletions

13
helix/config.toml Normal file
View File

@ -0,0 +1,13 @@
theme = "dracula_at_night"
[editor]
auto-completion = true
auto-info = true
[editor.statusline]
left = ["mode", "spinner", "file-name", "diagnostics"]
right = ["selections", "position", "file-encoding"]
[editor.lsp]
auto-signature-help = true
display-signature-help-docs = true

View File

@ -39,7 +39,7 @@ exec xrandr --output eDP --set TearFree on
#exec play ~/syncthing-files/beepbeep/cutebeepbeep7.ogg
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec setxkbmap -option caps:none
#exec setxkbmap -option caps:none
exec picom -b
exec feh --bg-center ~/Onedrive/made/tess-website/assets/background-index.jpg
@ -133,7 +133,7 @@ bindsym $mod+a focus parent
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1:&"
set $ws1 "1:%"
set $ws2 "2:["
set $ws3 "3:{"
set $ws4 "4:}"
@ -266,7 +266,22 @@ bindsym $mod+Tab exec alacritty -e newsboat
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
exec_always --no-startup-id ~/.config/polybar/launch.sh --config=~/.config/polybar/config
bar {
font pango:mononoki 14
position top
status_command i3status-rs
strip_workspace_numbers yes
tray_output DP-2
colors {
separator #E63E62
background #031014
statusline #E63E62
focused_workspace #E63E62 #E63E62 #031014
active_workspace #031014 #E63E62 #E63E62
inactive_workspace #031014 #031014 #E63E62
urgent_workspace #F16C56 #F16C56 #031014
}
}
bindsym XF86AudioRaiseVolume exec pamixer -i 5; $nanpapibeep;

75
i3status-rust/config.toml Normal file
View File

@ -0,0 +1,75 @@
[theme]
name = "dracula"
[theme.overrides]
idle_bg = "#031014"
idle_fg = "#E63E62"
good_bg = "#BFEF8D"
good_fg = "#031014"
warning_bg = "#031014"
warning_fg = "#F16C56"
critical_bg = "#F16C56"
critical_fg = "#031014"
info_bg = "#E63E62"
info_fg = "#031014"
[icons]
name = "none"
[icons.overrides]
icons_format = "{icon}"
memory_mem = "🐏"
cpu = "puter power"
volume_muted = "muted"
volume_empty = "quiet:"
volume_half = "not too loud..."
volume_full = "LOUD!!!"
headphones = "🎧"
weather_sun = "sunny"
weather_rain = "umbrella time"
weather_clouds = "clouded"
weather_thunder = "krshhh"
weather_snow = "brrr"
weather_default = "weathr"
time = "󱥫"
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "available"
unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used_percents}"
clickable = false
[[block]]
block = "cpu"
interval = 1
info = 100
[[block]]
block = "music"
buttons = ["prev", "play", "next"]
[[block]]
block = "sound"
[[block]]
block = "weather"
format = "{temp}, {wind} m/s {direction}"
service = { name = "openweathermap", api_key = "9a2e8e4be25276148a80abb49d4b5f25", city_id = "3161733", units = "metric" }
[[block]]
block = "time"
interval = 5
format = "%a %d/%m %R"
[[block]]
block = "battery"
if_command = "test -e /sys/class/power_supply/BAT0"

View File

@ -4,7 +4,7 @@ dir=~/dot
backup=~/.backup
files="alacritty dunst fish i3 newsboat polybar rofi rofimoji.rc"
files="alacritty dunst fish i3 newsboat i3status-rust rofi rofimoji.rc helix"
##########
@ -14,7 +14,3 @@ for file in $files; do
mv ~/.config/$file $backup
ln -s $dir/$file ~/.config/
done
# theme file
mv ~/.themes/"tess tiger"/ $backup
ln -s $dir/"tess tiger" ~/.themes/