From 21427254e025327bcecd72009344c272cff447e4 Mon Sep 17 00:00:00 2001 From: Felix Steghofer Date: Mon, 16 Jul 2018 21:22:48 +0200 Subject: [PATCH] i3 init --- .config/greenclip.cfg | 8 + .config/gtk-3.0/bookmarks | 5 + .config/gtk-3.0/settings.ini | 15 + .config/i3/config | 275 +++++++++++++++++ .config/polybar/battery-combined-udev.sh | 84 +++++ .config/polybar/config | 329 ++++++++++++++++++++ .config/polybar/config.example | 374 +++++++++++++++++++++++ .config/polybar/launch.sh | 13 + .config/polybar/openvpn-indicator.sh | 7 + .config/polybar/player-mpris-simple.sh | 11 + .config/polybar/pulseaudio-tail.sh | 58 ++++ .config/polybar/touchpad-indicator.sh | 11 + .config/rofi/config | 2 + .gitconfig | 22 ++ .tmux.conf | 70 +++++ .zsh/.zsh/.zsh/S60_prompt | 214 +++++++++++++ .zsh/.zsh/.zsh/aliases.zsh | 59 ++++ .zsh/.zsh/.zsh/cache | 0 .zsh/.zsh/.zsh/dev-machine.zsh | 13 + .zsh/.zsh/.zsh/functions/06_git | 59 ++++ .zsh/.zsh/.zsh/functions/07_felix | 3 + .zsh/.zsh/.zsh/git-prompt/gitstatus.py | 64 ++++ .zsh/.zsh/.zsh/git-prompt/loader.sh | 95 ++++++ .zsh/.zsh/.zsh/key-bindings.zsh | 39 +++ .zsh/.zsh/.zsh/sunaku.zsh-theme | 27 ++ .zsh/.zsh/S60_prompt | 214 +++++++++++++ .zsh/.zsh/aliases.zsh | 160 ++++++++++ .zsh/.zsh/cache | 0 .zsh/.zsh/dev-machine.zsh | 13 + .zsh/.zsh/functions/06_git | 59 ++++ .zsh/.zsh/functions/07_felix | 3 + .zsh/.zsh/git-prompt/gitstatus.py | 64 ++++ .zsh/.zsh/git-prompt/loader.sh | 95 ++++++ .zsh/.zsh/key-bindings.zsh | 57 ++++ .zsh/.zsh/sunaku.zsh-theme | 27 ++ .zsh/S60_prompt | 214 +++++++++++++ .zsh/aliases.zsh | 159 ++++++++++ .zsh/cache | 0 .zsh/functions/06_git | 59 ++++ .zsh/functions/07_felix | 3 + .zsh/git-prompt/gitstatus.py | 63 ++++ .zsh/git-prompt/loader.sh | 95 ++++++ .zsh/key-bindings.zsh | 56 ++++ .zsh/sunaku.zsh-theme | 27 ++ .zshrc | 224 ++++++++++++++ bin/apptosink | 44 +++ bin/connectssh | 3 + bin/i3-shutdown.py | 17 ++ bin/selectsink | 14 + bin/vpndown | 4 + bin/vpnup | 4 + 51 files changed, 3535 insertions(+) create mode 100644 .config/greenclip.cfg create mode 100644 .config/gtk-3.0/bookmarks create mode 100644 .config/gtk-3.0/settings.ini create mode 100644 .config/i3/config create mode 100755 .config/polybar/battery-combined-udev.sh create mode 100644 .config/polybar/config create mode 100644 .config/polybar/config.example create mode 100755 .config/polybar/launch.sh create mode 100755 .config/polybar/openvpn-indicator.sh create mode 100755 .config/polybar/player-mpris-simple.sh create mode 100755 .config/polybar/pulseaudio-tail.sh create mode 100755 .config/polybar/touchpad-indicator.sh create mode 100644 .config/rofi/config create mode 100644 .gitconfig create mode 100644 .tmux.conf create mode 100644 .zsh/.zsh/.zsh/S60_prompt create mode 100644 .zsh/.zsh/.zsh/aliases.zsh create mode 100644 .zsh/.zsh/.zsh/cache create mode 100644 .zsh/.zsh/.zsh/dev-machine.zsh create mode 100644 .zsh/.zsh/.zsh/functions/06_git create mode 100644 .zsh/.zsh/.zsh/functions/07_felix create mode 100644 .zsh/.zsh/.zsh/git-prompt/gitstatus.py create mode 100644 .zsh/.zsh/.zsh/git-prompt/loader.sh create mode 100644 .zsh/.zsh/.zsh/key-bindings.zsh create mode 100644 .zsh/.zsh/.zsh/sunaku.zsh-theme create mode 100644 .zsh/.zsh/S60_prompt create mode 100644 .zsh/.zsh/aliases.zsh create mode 100644 .zsh/.zsh/cache create mode 100644 .zsh/.zsh/dev-machine.zsh create mode 100644 .zsh/.zsh/functions/06_git create mode 100644 .zsh/.zsh/functions/07_felix create mode 100644 .zsh/.zsh/git-prompt/gitstatus.py create mode 100644 .zsh/.zsh/git-prompt/loader.sh create mode 100644 .zsh/.zsh/key-bindings.zsh create mode 100644 .zsh/.zsh/sunaku.zsh-theme create mode 100644 .zsh/S60_prompt create mode 100644 .zsh/aliases.zsh create mode 100644 .zsh/cache create mode 100644 .zsh/functions/06_git create mode 100644 .zsh/functions/07_felix create mode 100644 .zsh/git-prompt/gitstatus.py create mode 100644 .zsh/git-prompt/loader.sh create mode 100644 .zsh/key-bindings.zsh create mode 100644 .zsh/sunaku.zsh-theme create mode 100644 .zshrc create mode 100755 bin/apptosink create mode 100755 bin/connectssh create mode 100755 bin/i3-shutdown.py create mode 100755 bin/selectsink create mode 100755 bin/vpndown create mode 100755 bin/vpnup diff --git a/.config/greenclip.cfg b/.config/greenclip.cfg new file mode 100644 index 0000000..995591c --- /dev/null +++ b/.config/greenclip.cfg @@ -0,0 +1,8 @@ +Config { + maxHistoryLength = 10000, + historyPath = "~/.cache/greenclip.history", + staticHistoryPath = "~/.cache/greenclip.staticHistory", + imageCachePath = "/tmp/", + usePrimarySelectionAsInput = False, + blacklistedApps = [] +} \ No newline at end of file diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks new file mode 100644 index 0000000..0425aba --- /dev/null +++ b/.config/gtk-3.0/bookmarks @@ -0,0 +1,5 @@ +file:///home/felix/Documents +file:///home/felix/Music +file:///home/felix/Pictures +file:///home/felix/Videos +file:///home/felix/Downloads diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..a50a394 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,15 @@ +[Settings] +gtk-theme-name=Arc +gtk-font-name=Liberation Sans 11 +gtk-icon-theme-name=Arc +gtk-cursor-theme-name=Adwaita +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..345e305 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,275 @@ +# 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). +# + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod4 + +# colors +set $bg-color #2f343f +set $inactive-bg-color #3d4351 +set $text-color #f3f4f5 +set $inactive-text-color #676E7D +set $urgent-bg-color #E53935 + +# window colors +# border background text indicator +client.focused $bg-color $bg-color $text-color #00ff00 +client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00 +client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00 +client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +#font pango:monospace 8 +#font pango:Liberation Sans 10 +font pango:System San Francisco Display 8 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# Before i3 v4.8, we used to recommend this one as the default: +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +bindsym $mod+d exec rofi -show run + +# There also is the (new) i3-dmenu-desktop which only displays applications +# shipping a .desktop file. It is a wrapper around dmenu, so you need that +# installed. +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop + +# change focus +#bindsym $mod+j focus left +#bindsym $mod+k focus down +#bindsym $mod+l focus up +#bindsym $mod+odiaeresis focus right + +# 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 + +# move focused window +#bindsym $mod+Shift+j move left +#bindsym $mod+Shift+k move down +#bindsym $mod+Shift+l move up +#bindsym $mod+Shift+odiaeresis move right + +# 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 + +# split in horizontal orientation +bindsym $mod+h 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+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# 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 $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" + +# Define monitor outputs +set $internal eDP1 +set $external_1 DP2-1 + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +# asssign workspace to apps +assign [class="Google-chrome-unstable"] $ws1 +assign [class="Rambox"] $ws2 + +workspace $ws1 output $external_1 +workspace $ws2 output $internal + +# 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 "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" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#bar { +# status_command i3status +#} + +## Felix custom + +## Manual management of external displays +# Set the shortcuts and what they do + + +set $mode_display ext1->int (2), External (x), Internal (i) +mode "$mode_display" { + bindsym 2 exec --no-startup-id xrandr --output $external_1 --primary --auto --left-of $internal, mode "default" + bindsym x exec --no-startup-id xrandr --output $external_1 --primary --auto, mode "default" + bindsym i exec --no-startup-id xrandr --output $internal --primary --auto, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +# Declare here the shortcut to bring the display selection menu +bindsym $mod+x mode "$mode_display" + +# Move windows to different monitor +bindsym $mod+Control+Left move window to output left +bindsym $mod+Control+Down move window to output down +bindsym $mod+Control+Up move window to output up +bindsym $mod+Control+Right move window to output right + +# Move workspace to different monitor +bindsym $mod+Control+Shift+Left move workspace to output left +bindsym $mod+Control+Shift+Down move workspace to output down +bindsym $mod+Control+Shift+Up move workspace to output up +bindsym $mod+Control+Shift+Right move workspace to output right + +# Pulse Audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $(pactl list short sinks | grep RUNNING | cut -f1) +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $(pactl list short sinks | grep RUNNING | cut -f1) -5% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $(pactl list short sinks | grep RUNNING | cut -f1) toggle # mute sound + +# Screen brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness + +# Touchpad controls +bindsym XF86Tools exec /home/felix/scripts/toggleTouchpad.sh # toggle touchpad + +# Media player controls +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous +bindsym XF86AudioStop exec playerctl stop + +# Lock screen +bindsym $mod+l exec i3lock-fancy --blur=5x4 + +# Screenshots +bindsym --release Print exec "scrot -m -z '%Y.%m.%d-%H:%S.png' -e 'mv $f ~/Pictures/Screenshots'" +bindsym --release Shift+Print exec "scrot -s -z '%Y.%m.%d-%H:%S.png' -e 'mv $f ~/Pictures/Screenshots'" +bindsym --release Control+Shift+Print exec "scrot -u -z '%Y.%m.%d-%H:%S.png' -e 'mv $f ~/Pictures/Screenshots'" + +# clipboard manager +bindsym Control+Mod1+h exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' + +workspace_layout tabbed +exec i3-msg workspace $ws1 + +# Start default applications +exec_always --no-startup-id $HOME/.config/polybar/launch.sh +exec greenclip daemon +exec blueman-applet +exec libinput-gestures-setup start +exec clipit +exec insync start +# auto started by browser +#exec keepassxc +exec rambox +exec google-chrome-unstable +exec synclient TouchpadOff=1 diff --git a/.config/polybar/battery-combined-udev.sh b/.config/polybar/battery-combined-udev.sh new file mode 100755 index 0000000..aeed061 --- /dev/null +++ b/.config/polybar/battery-combined-udev.sh @@ -0,0 +1,84 @@ +#!/bin/sh + +battery_print() { + path_ac="/sys/class/power_supply/AC" + path_battery_0="/sys/class/power_supply/BAT0" + path_battery_1="/sys/class/power_supply/BAT1" + + ac=0 + battery_level_0=0 + battery_level_1=0 + battery_max_0=0 + battery_max_1=0 + + if [ -f "$path_ac/online" ]; then + ac=$(cat "$path_ac/online") + fi + + if [ -f "$path_battery_0/energy_now" ]; then + battery_level_0=$(cat "$path_battery_0/energy_now") + fi + + if [ -f "$path_battery_0/energy_full" ]; then + battery_max_0=$(cat "$path_battery_0/energy_full") + fi + + if [ -f "$path_battery_1/energy_now" ]; then + battery_level_1=$(cat "$path_battery_1/energy_now") + fi + + if [ -f "$path_battery_1/energy_full" ]; then + battery_max_1=$(cat "$path_battery_1/energy_full") + fi + + battery_level=$(("$battery_level_0 + $battery_level_1")) + battery_max=$(("$battery_max_0 + $battery_max_1")) + + battery_percent=$(("$battery_level * 100")) + battery_percent=$(("$battery_percent / $battery_max")) + + if [ "$ac" -eq 1 ]; then + icon="#1" + + if [ "$battery_percent" -gt 97 ]; then + echo "$icon" + else + echo "$icon $battery_percent %" + fi + else + if [ "$battery_percent" -gt 85 ]; then + icon="#21" + elif [ "$battery_percent" -gt 60 ]; then + icon="#22" + elif [ "$battery_percent" -gt 35 ]; then + icon="#23" + elif [ "$battery_percent" -gt 10 ]; then + icon="#24" + else + icon="#25" + fi + + echo "$icon $battery_percent %" + fi +} + +case "$1" in + --update) + pid=$(pgrep -xf "/bin/sh /home/felix/.config/polybar/battery-combined-udev.sh") + + if [ "$pid" != "" ]; then + kill -10 "$pid" + fi + ;; + *) + trap exit INT + trap "echo" USR1 + + while true; do + battery_print + + sleep 30 & + wait + done + ;; +esac diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..3dec538 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,329 @@ +[bar/top] +monitor = DP2-1 +width = 100% +height = 27 + +background = #00000000 +foreground = #ccffffff + +line-color = ${bar/bottom.background} +line-size = 16 + +spacing = 2 +padding-right = 5 +module-margin = 4 + +font-0 = "Noto Sans:size=8" +font-1 = "RobotoMono Nerd Font:pixelsize=10;1" +font-2 = "Symbola:style=Regular" + +# todo mpd? or spotify? +modules-left = powermenu player-mpris +modules-center = date +modules-right = pulseaudio backlight touchpad-indicator openvpn-indicator wireless-network wired-network battery + +[bar/bottom] +monitor = DP2-1 +bottom = true +width = 100% +height = 27 + +background = ${bar/top.background} +foreground = ${bar/top.foreground} + +line-color = ${bar/top.background} +line-size = 2 + +spacing = 3 +padding-right = 4 +module-margin-left = 0 +module-margin-right = 6 + +font-0 = "Noto Sans:size=8" +font-1 = "RobotoMono Nerd Font:pixelsize=10;1" +font-2 = "Symbola:style=Regular" + +modules-left = +modules-center = i3 +modules-right = cpu memory + +tray-position = left +tray-padding = 2 +tray-transparent = true +tray-background = #0063ff +;tray-detached = false + + +[module/pulseaudio] +type = internal/pulseaudio + +; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) +; If not, uses default sink +sink = alsa_output.pci-0000_00_1f.3.analog-stereo + +; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false +; Default: true +use-ui-max = true + +format-volume = %{A3:pavucontrol:} %{A} + +; Available tokens: +; %percentage% (default) +label-muted = 婢 muted +label-muted-foreground = #666 + +; Only applies if is used +ramp-volume-0 = 奄 +ramp-volume-1 = 奔 +ramp-volume-2 = 墳 + +[module/backlight] +type = internal/xbacklight +format = + +output = eDP1 + +ramp-0 =  +ramp-1 =  +ramp-2 =  + +bar-width = 5 +bar-indicator = | +#bar-indicator-font = 3 +bar-indicator-foreground = #ff +bar-fill = ─ +#bar-fill-font = 3 +bar-fill-foreground = #c9665e +bar-empty = ─ +#bar-empty-font = 3 +bar-empty-foreground = #44 + +[module/openvpn-indicator] +type = custom/script +exec = ~/.config/polybar/openvpn-indicator.sh +interval = 5 + +[module/battery-combined-udev] +type = custom/script +exec = ~/.config/polybar/battery-combined-udev.sh +tail = true + +[module/player-mpris] +type = custom/script +exec = ~/.config/polybar/player-mpris-simple.sh +interval = 3 +label = "%output%" + +[module/touchpad-indicator] +type = custom/script +exec = ~/.config/polybar/touchpad-indicator.sh + +[module/battery] +type = internal/battery +full-at = 96 + +format-charging = +format-discharging = +format-full = + +ramp-capacity-0 =  +ramp-capacity-0-foreground = #f53c3c +ramp-capacity-1 =  +ramp-capacity-1-foreground = #ffa900 +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  + +bar-capacity-width = 10 +bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o} +bar-capacity-fill = █ +bar-capacity-fill-foreground = #ddffffff +#bar-capacity-fill-font = 3 +bar-capacity-empty = █ +#bar-capacity-empty-font = 3 +bar-capacity-empty-foreground = #44ffffff + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +animation-charging-framerate = 750 + +[module/i3] +type = internal/i3 + +; Only show workspaces defined on the same output as the bar +; +; Useful if you want to show monitor specific workspaces +; on different bars +; +; Default: false +pin-workspaces = false + +; This will split the workspace name on ':' +; Default: false +strip-wsnumbers = true + +; Sort the workspaces by index instead of the default +; sorting that groups the workspaces by output +; Default: false +index-sort = false + +; Create click handler used to focus workspace +; Default: true +enable-click = true + +; Create scroll handlers used to cycle workspaces +; Default: true +enable-scroll = false + +; Wrap around when reaching the first/last workspace +; Default: true +wrapping-scroll = false + +; Set the scroll cycle direction +; Default: true +reverse-scroll = false + +; Use fuzzy (partial) matching on labels when assigning +; icons to workspaces +; Example: code;♚ will apply the icon to all workspaces +; containing 'code' in the label +; Default: false +fuzzy-match = true + +[module/wireless-network] +type = internal/network +interface = wlp3s0 +interval = 3.0 +ping-interval = 10 + +format-connected = +label-connected = 直 %essid% +label-disconnected = 睊 not connected +label-disconnected-foreground = #66 +format-packetloss = + +ramp-signal-0 = 😱 +ramp-signal-1 = 😠 +ramp-signal-2 = 😒 +ramp-signal-3 = 😊 +ramp-signal-4 = 😃 +ramp-signal-5 = 😈 + +animation-packetloss-0 =  +animation-packetloss-0-foreground = #ffa64c +animation-packetloss-1 =  +animation-packetloss-1-foreground = ${bar/top.foreground} +animation-packetloss-framerate = 500 + +[module/cpu] +type = internal/cpu +interval = 0.5 +format =