i3status_wrapper: add emoji of battery, rename wrapper
This commit is contained in:
parent
cd31360232
commit
1cb99ef623
2
Makefile
2
Makefile
@ -73,7 +73,7 @@ i3:
|
||||
mkdir -p ~/.config/i3status
|
||||
ln -s $(PWD)/sub/i3/config ~/.config/i3/config
|
||||
ln -s $(PWD)/sub/i3/statusconfig ~/.config/i3status/config
|
||||
ln -s $(PWD)/functions/i3status_wrapper.sh ~/.local/bin/i3status_wrapper.sh
|
||||
ln -s $(PWD)/functions/i3status_wrapper ~/.local/bin/i3status_wrapper
|
||||
|
||||
bat:
|
||||
test -d ~/.config/bat || \
|
||||
|
||||
@ -39,7 +39,7 @@ function remove_holder {
|
||||
|
||||
function headphones {
|
||||
|
||||
battery_status="$(bluetoothctl info 14:0A:29:0A:6A:2F | grep "Battery Percentage" | awk -F '[()]' '{ print "🎧"$2"%" }')"
|
||||
battery_status="$(bluetoothctl info 14:0A:29:0A:6A:2F | grep "Battery Percentage" | awk -F '[()]' '{ print "🎧🔋"$2"%" }')"
|
||||
|
||||
local json="{ \"full_text\": \"$battery_status\", \"color\": \"#FFFFFF\"}"
|
||||
|
||||
@ -198,7 +198,7 @@ bindsym $mod+r mode "resize"
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command exec ~/.local/bin/i3status_wrapper.sh
|
||||
status_command exec ~/.local/bin/i3status_wrapper
|
||||
tray_output DP-0
|
||||
}
|
||||
|
||||
|
||||
@ -3,6 +3,12 @@ local status, nvim_treesitter = pcall(require, "nvim-treesitter")
|
||||
if (not status) then return end
|
||||
|
||||
nvim_treesitter.setup {
|
||||
ensure_installed = {"python", "lua", "vim", "html", "rust"},
|
||||
sync_install = true,
|
||||
auto_install = true,
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user