commit ac1442d89f1eb7921fde113a124217736ef134d3 Author: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Wed Mar 8 15:02:58 2023 +0100 initial commit diff --git a/i3/autostart b/i3/autostart new file mode 100755 index 0000000..7bc0c32 --- /dev/null +++ b/i3/autostart @@ -0,0 +1,34 @@ + +# Mausrad scrollspeed +exec --no-startup-id imwheel -b "4 5" + +# Lockscreen und Bildschirm timeout +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -c 333333 +exec --no-startup-id xset s 300 +exec --no-startup-id xset m 0 0 + +# Hintergrundbild und automatische Farben + +# lässt dunst benachrichtigungen auf dem lockscreen erscheinen :/ +#exec --no-startup-id picom --experimental-backends + +#exec_always --no-startup-id /bin/bash ~/.config/i3/scripts/wallpapercolor.sh ~/.local/share/backgrounds/wallhaven-dpqjwj.jpg +#exec_always --no-startup-id /bin/bash ~/.config/i3/scripts/wallpapercolor.sh ~/.local/share/backgrounds/wallhaven-mdzk51.jpg +exec_always --no-startup-id /bin/bash ~/.config/i3/scripts/wallpapercolor.sh ~/.cache/background + +#exec --no-startup-id wal -R +#exec_always --no-startup-id feh --bg-fill ~/.cache/background #wallpaper +#exec_always wal --theme base16-gruvbox-hard + +# Top Bar +# wird von ~/.config/i3/scripts/wallpapercolor.sh erledigt +#exec_always --no-startup-id ~/.config/polybar/start-polybar.sh #top bar + +# Notification daemon +exec_always --no-startup-id ~/.config/dunst/restart.sh #nofifications + +# Terminal Daemon +#exec --no-startup-id urxvtd --fork --opendisplay + +# Firefox wayland +exec --no-startup-id export MOZ_ENABLE_WAYLAND=0 diff --git a/i3/bar b/i3/bar new file mode 100755 index 0000000..847d4cf --- /dev/null +++ b/i3/bar @@ -0,0 +1,10 @@ + + + +bar { + i3bar_command i3bar --transparency + font pango:Sauce Code Pro Nerd Font 10 + status_command i3status + tray_output none + position top +} diff --git a/i3/config b/i3/config new file mode 100755 index 0000000..1acb192 --- /dev/null +++ b/i3/config @@ -0,0 +1,22 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +include ./input +include ./visual +include ./autostart +#include ./bar + + diff --git a/i3/i3-exit.py b/i3/i3-exit.py new file mode 100755 index 0000000..d80f008 --- /dev/null +++ b/i3/i3-exit.py @@ -0,0 +1,133 @@ +#!/usr/bin/env python + +# based on cb-exit used in CrunchBang Linux + +import pygtk +pygtk.require('2.0') +import gtk +import os +import getpass + +class i3_exit: + def disable_buttons(self): + self.cancel.set_sensitive(False) + self.logout.set_sensitive(False) + self.suspend.set_sensitive(False) + self.reboot.set_sensitive(False) + self.shutdown.set_sensitive(False) + + def cancel_action(self,btn): + self.disable_buttons() + gtk.main_quit() + + def logout_action(self,btn): + self.disable_buttons() + self.status.set_label("Exiting i3, please standby...") + os.system("i3-msg exit") + + def suspend_action(self,btn): + self.disable_buttons() + self.status.set_label("Suspending, please standby...") + os.system("i3-lock") + os.system("dbus-send --system --print-reply \ + --dest=\"org.freedesktop.UPower\" \ + /org/freedesktop/UPower \ + org.freedesktop.UPower.Suspend") + gtk.main_quit() + + def reboot_action(self,btn): + self.disable_buttons() + self.status.set_label("Rebooting, please standby...") + os.system("dbus-send --system --print-reply \ + --dest=\"org.freedesktop.ConsoleKit\" \ + /org/freedesktop/ConsoleKit/Manager \ + org.freedesktop.ConsoleKit.Manager.Restart") + + def shutdown_action(self,btn): + self.disable_buttons() + self.status.set_label("Shutting down, please standby...") + os.system("dbus-send --system --print-reply \ + --dest=\"org.freedesktop.ConsoleKit\" \ + /org/freedesktop/ConsoleKit/Manager \ + org.freedesktop.ConsoleKit.Manager.Stop") + + def create_window(self): + self.window = gtk.Window() + title = "Log out " + getpass.getuser() + "? Choose an option:" + self.window.set_title(title) + self.window.set_border_width(5) + self.window.set_size_request(500, 80) + self.window.set_resizable(False) + self.window.set_keep_above(True) + self.window.stick + self.window.set_position(1) + self.window.connect("delete_event", gtk.main_quit) + windowicon = self.window.render_icon(gtk.STOCK_QUIT, gtk.ICON_SIZE_MENU) + self.window.set_icon(windowicon) + + + #Create HBox for buttons + self.button_box = gtk.HBox() + self.button_box.show() + + #Cancel button + self.cancel = gtk.Button(stock = gtk.STOCK_CANCEL) + self.cancel.set_border_width(4) + self.cancel.connect("clicked", self.cancel_action) + self.button_box.pack_start(self.cancel) + self.cancel.show() + + #Logout button + self.logout = gtk.Button("_Log out") + self.logout.set_border_width(4) + self.logout.connect("clicked", self.logout_action) + self.button_box.pack_start(self.logout) + self.logout.show() + + #Suspend button + self.suspend = gtk.Button("_Suspend") + self.suspend.set_border_width(4) + self.suspend.connect("clicked", self.suspend_action) + self.button_box.pack_start(self.suspend) + self.suspend.show() + + #Reboot button + self.reboot = gtk.Button("_Reboot") + self.reboot.set_border_width(4) + self.reboot.connect("clicked", self.reboot_action) + self.button_box.pack_start(self.reboot) + self.reboot.show() + + #Shutdown button + self.shutdown = gtk.Button("_Power off") + self.shutdown.set_border_width(4) + self.shutdown.connect("clicked", self.shutdown_action) + self.button_box.pack_start(self.shutdown) + self.shutdown.show() + + #Create HBox for status label + self.label_box = gtk.HBox() + self.label_box.show() + self.status = gtk.Label() + self.status.show() + self.label_box.pack_start(self.status) + + #Create VBox and pack the above HBox's + self.vbox = gtk.VBox() + self.vbox.pack_start(self.button_box) + self.vbox.pack_start(self.label_box) + self.vbox.show() + + self.window.add(self.vbox) + self.window.show() + + def __init__(self): + self.create_window() + + +def main(): + gtk.main() + +if __name__ == "__main__": + go = i3_exit() + main() diff --git a/i3/input b/i3/input new file mode 100755 index 0000000..c0c1bb6 --- /dev/null +++ b/i3/input @@ -0,0 +1,164 @@ + +# Modifiers +set $alt Mod1 +set $mod Mod4 + +# Keyboard layout +#exec_always --no-startup-id setxkbmap us +exec_always --no-startup-id setxkbmap de neo + +# Wallpaper +bindsym $mod+Shift+y exec --no-startup-id /bin/bash ~/.config/i3/scripts/wallpapercolor.sh ~/.local/share/backgrounds + +# i3lock + +## Simple +# bindsym $mod+Shift+o exec --no-startup-id i3lock -c 333333; + +## Blur +# bindsym $mod+Shift+o exec --no-startup-id ~/.config/i3/scripts/i3lock_blur.sh; + +## Pixel +bindsym $mod+Shift+o exec --no-startup-id ~/.config/i3/scripts/i3lock_pixel.sh; + +# Use pactl to adjust volume in PulseAudio. +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && pulsemixer --get-volume | cut -d ' ' -f 1 > $WOBSOCK +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && pulsemixer --get-volume | cut -d ' ' -f 1 > $WOBSOCK +bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute && ( pulsemixer --get-mute && echo 0 > $WOBSOCK ) || pamixer --get-volume > $WOBSOCK +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle + +bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK +bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5% | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +#bindsym $mod+Return exec --no-startup-id xfce4-terminal +bindsym $mod+Return exec --no-startup-id alacritty + +# kill focused window +bindsym $mod+x kill + +# start dmenu (a program launcher) +bindsym $mod+d exec --no-startup-id rofi -show drun +# A more modern dmenu replacement is rofi: +# bindcode $mod+40 exec --no-startup-id "rofi -modi drun,run -show drun" +# There also is i3-dmenu-desktop which only displays applications shipping a +# .desktop file. It is a wrapper around dmenu, so you need that installed. +# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop + + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move right +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# Moving workspaces from monitor to monitor +bindsym $mod+Shift+$alt+Left move workspace to output left +bindsym $mod+Shift+$alt+Right move workspace to output left + +# split in horizontal orientation +bindsym $mod+b split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+space floating toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +bindsym $mod+$alt+Right workspace next +bindsym $mod+$alt+Left workspace prev + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym odiaeresis resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +bindsym $mod+r mode "resize" diff --git a/i3/scripts/i3lock_blur.sh b/i3/scripts/i3lock_blur.sh new file mode 100755 index 0000000..eedf176 --- /dev/null +++ b/i3/scripts/i3lock_blur.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +tmp1=$(mktemp --suffix=.png) +tmp2=$(mktemp --suffix=.png) + +scrot -o $tmp1 + +ffmpeg -i $tmp1 -vf "boxblur=10:1" -vframes 1 -y $tmp2 -loglevel quiet + +i3lock -i $tmp2 +rm $tmp1 +rm $tmp2 diff --git a/i3/scripts/i3lock_pixel.sh b/i3/scripts/i3lock_pixel.sh new file mode 100755 index 0000000..274e5b5 --- /dev/null +++ b/i3/scripts/i3lock_pixel.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +tmp1=$(mktemp --suffix=.png) +tmp2=$(mktemp --suffix=.png) + +scrot -o $tmp1 + +rescale_factor=20 +dimensions=$(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of "csv=p=0:s=\:" -loglevel quiet $tmp1) +ffmpeg -i $tmp1 -filter_complex "[0:v] scale='iw/$rescale_factor:-1', scale='$dimensions:flags=neighbor'" -loglevel quiet -y $tmp2 + +i3lock -i $tmp2 +rm $tmp1 +rm $tmp2 diff --git a/i3/scripts/wallpapercolor.sh b/i3/scripts/wallpapercolor.sh new file mode 100755 index 0000000..edfc645 --- /dev/null +++ b/i3/scripts/wallpapercolor.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +alpha="95" +saturation="0.5" +colorscheme="sexy-zenburn" +# Backends: colorthief, colorz, haishoku, wal +backend="colorz" + +# "$@" ist das erste Argument +#img="$(find ./ -type f | shuf -n 1)" +if [[ -d "$@" ]]; then + cd "$@" + img="$(find $@/ -type f | shuf -n 1)" +elif [[ -f "$@" ]]; then + img="$@" +else echo "usage: ./wallpapercolor.sh [file/dir ...]"; + exit 1 +fi + +cp $img "$HOME/.cache/background" + +if [[ $I3SOCK = *i3/ipc-socket* ]]; then + killall polybar + #feh --bg-fill $img + #wal -a $alpha -n --theme $colorscheme + #wal -a $alpha --saturate $saturation --backend $backend -i "$img" + wal -a 99 --saturate $saturation --backend $backend -i "$img" -n + feh --bg-fill $img + ~/.config/polybar/start-polybar.sh + + killall dunst; notify-send -u low "extracted colors from $img" +fi +if [[ $DESKTOP_SESSION = *sway ]]; then + killall waybar + ~/.config/mako/mako-walcolors.sh + wal -a $alpha -n --saturate $saturation --backend $backend -i "$img" + waybar +fi +#wal -a $alpha -n --theme $colorscheme + +# Sway i3 config to make this work: +# ~/.config/sway/config +# output * bg $HOME/.cache/background fill + diff --git a/i3/visual b/i3/visual new file mode 100755 index 0000000..490349f --- /dev/null +++ b/i3/visual @@ -0,0 +1,51 @@ + +# Display arrangement +exec_always --no-startup-id xrandr --output eDP-1 --auto --pos 0x0 +#exec_always --no-startup-id xrandr --output HDMI-1 --auto --pos 1920x0 --rotate normal +#exec_always --no-startup-id xrandr --output DP-1 --auto --pos 3840x0 +# +#exec_always --no-startup-id xrandr --output DP-1-3 --auto --right-of eDP-1 --rotate normal +#exec_always --no-startup-id xrandr --output DP-1-2 --auto --right-of DP-1-3 --rotate normal +exec_always --no-startup-id xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x180 --rotate normal --output HDMI-1 --off --output DP-1 --off --output HDMI-2 --off --output DP-1-1 --off --output DP-1-2 --mode 1920x1080 --pos 4480x180 --rotate normal --output DP-1-3 --mode 2560x1440 --pos 1920x0 --rotate normal + +#exec_always --no-startup-id xrandr --output eDP-1 --pos 0x840 +#exec_always --no-startup-id xrandr --output HDMI-1 --pos 1920x0 --auto --rotate left +#exec_always --no-startup-id xrandr --output DP-1 --auto --pos 3000x870 + +# float modifiers + +for_window [class="Pavucontrol"] floating enable +for_window [class="gnome-calculator"] floating enable; move window to position 1300 100 +for_window [class="Nm-connection-editor"] floating enable; move window to position 1000 100 +for_window [class="zoom" title="zoom"] floating enable; move window to position 1000 100 + +# colors + +#include ~/.cache/wal/colors-i3 +set_from_resource $foregorund i3wm.color7 #ffffff +set_from_resource $bg i3wm.color0 #a0a0a0 +set_from_resource $bg-alt i3wm.color7 #a0a0a0 +#set_from_resource $prim i3wm.color1 #ffa0a0 +set_from_resource $prim i3wm.color6 #ffa0a0 + +###Theming +# +# class border backgr. text indica. child_border +client.focused #ffffff $bg #ffffff #ffffff #ffffff +#client.focused $bg $bg $fg $bg-alt $bg-alt +client.focused_inactive $bg-alt $bg $prim $prim $prim +client.unfocused $prim $bg $prim $prim $prim +client.urgent $prim $prim $fg $prim $prim +client.placeholder $bg $bg $bg $bg $bg-alt + +client.background $bg + + +# https://forum.endeavouros.com/t/qt-apps-override-default-window-border-style-defined-in-i3-config-file/32078/2 +for_window [class="^.*"] border pixel 2 +default_border pixel 2 +default_floating_border pixel 2 +gaps inner 20 + +font pango:monospace 8 + diff --git a/polybar/config.ini b/polybar/config.ini new file mode 100755 index 0000000..eafbf6d --- /dev/null +++ b/polybar/config.ini @@ -0,0 +1,269 @@ + +[colors] +include-file = /home/mmeyer/.cache/wal/colors-polybar + +[bar/mybar] +monitor = ${env:MONITOR:} +width = 100% +height = 20 +;offset-x = 10% +;offset-y = 10% +;radius = 6.0 +fixed-center = true + +#background = ${colors.background-trans} +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 1 + +module-margin-left = 3 +module-margin-right = 0 + +;font-0 = fixed:pixelsize=10;1 +;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +;font-2 = siji:pixelsize=10;1 +font-0 = FantasqueSansMono Nerd Font:pixelsize=10;2 +;font-1 = SauceCodePro Nerd Font:pixelsize=10;2 + +locale = de_DE.UTF-8 + +modules-left = i3 +modules-center = +modules-right = date filesystem pulseaudio memory cpu wlan eth eth-dock battery + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/filesystem] +type = internal/fs +interval = 10 + +mount-0 = / + +label-mounted = %mountpoint%%{F-} %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground} + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = ${colors.background} +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = "" +label-focused-foreground = ${colors.primary} +;label-focused-background = ${colors.background} +label-focused-padding = 1 + +; unfocused = Inactive workspace on any monitor +label-unfocused = "" +label-unfocused-foreground = ${colors.background-alt} +label-unfocused-padding = 1 + +; visible = Active workspace on unfocused monitor +label-visible = "" +label-visible-foreground = ${colors.background-alt} +label-visible-padding = 1 + +; urgent = Workspace with urgency hint set +label-urgent = "" +label-urgent-foreground = ${colors.alert} +label-urgent-padding = 1 + +; Separator in between workspaces +; label-separator = | + + + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground} +label = %percentage:2%% + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground} +label = %percentage_used%% + +[module/wlan] +type = internal/network +interface = wlp0s20f3 +interval = 3.0 + +format-connected = +format-connected-underline = ${colors.primary} +label-connected = %essid% + +format-disconnected = +;format-disconnected = +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground} + +[module/eth-dock] +type = internal/network +interface = enp0s20f0u4u4 +interval = 3.0 + +format-connected-underline = ${colors.primary} +format-connected-prefix = "" +format-connected-prefix-foreground = ${colors.foreground} +label-connected = Dock + +format-disconnected = +;format-disconnected = +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground} + +[module/eth] +type = internal/network +interface = enp7s0 +interval = 3.0 + +format-connected-underline = ${colors.primary} +format-connected-prefix = "" +format-connected-prefix-foreground = ${colors.foreground} +label-connected = enp7s0 + +format-disconnected = +;format-disconnected = +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground} + +[module/date] +type = internal/date +interval = 5 + +; See "https://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string +; NOTE: if you want to use syntax tags here you need to use %%{...} +date = "%A, der %d. %B %Y |" +date-alt = " %Y-%m-%d" + +time = %H:%M +time-alt = %H:%M:%S + +format-foreground = ${colors.background-alt} +;format-foreground = #808080 +format-prefix = + +label = %date% %time% + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume = +label-volume = %percentage%% +label-volume-foreground = ${root.foreground} + +ramp-volume-0 = 奄 +ramp-volume-1 = 奔 +ramp-volume-2 = 墳 + +label-muted = 婢 + +[module/battery] +type = internal/battery +battery = BAT1 +adapter = ACAD +full-at = 90 + +label-charging = "%percentage%%  " +format-charging = +format-charging-underline = ${colors.primary} + +label-discharging = %percentage%% +format-discharging = + +label-full = "" +format-full = +format-full-prefix-foreground = ${colors.foreground} +format-full-underline = ${colors.secondary} + +ramp-capacity-foreground = ${colors.foreground} +ramp-capacity-0-foreground = #de0037 +ramp-capacity-0 = " " +ramp-capacity-1 = " " +ramp-capacity-2 = " " +ramp-capacity-3 = " " +ramp-capacity-4 = " " + +[module/temperature] +type = internal/temperature +thermal-zone = 0 +warn-temperature = 60 + +format =