@@ -0,0 +1,42 @@ | |||||
#basic functionality | |||||
#reload | |||||
bind r source-file ~/.config/.tmux.conf | |||||
#vim-like binds: | |||||
bind h select-pane -L | |||||
bind j select-pane -D | |||||
bind k select-pane -U | |||||
bind l select-pane -R | |||||
#change indexing to start from 1 | |||||
set -g base-index 1 | |||||
setw -g pane-base-index 1 | |||||
#Custom colors | |||||
#modes | |||||
setw -g clock-mode-colour colour5 | |||||
setw -g mode-style 'fg=colour190 bg=colour18' | |||||
#panes | |||||
set -g pane-border-style 'bg=default' | |||||
set -ag pane-active-border-style 'fg=colour203 bg=colour203' | |||||
#Bar | |||||
set -g status-position bottom | |||||
set -g status-justify left | |||||
set -g status-style 'bg=colour0 fg=colour0 dim' | |||||
set -g status-left '' | |||||
set -g status-right '#[fg=colour203,bg=colour0]#(whoami)@#(hostname)#[fg=colour255,bg=colour0] %H:%M' | |||||
set -g status-left-length 20 | |||||
set -g status-right-length 50 | |||||
setw -g window-status-current-style 'fg=colour1 bg=colour8 bold' | |||||
setw -g window-status-current-format ' #[fg=colour255]#W ' | |||||
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold' | |||||
#messages | |||||
set -g message-style 'fg=colour190 bg=colour16 bold' | |||||
@@ -0,0 +1,11 @@ | |||||
#shadows | |||||
shadow = true; | |||||
no-dock-shadow = true; | |||||
clear-shadow = true; | |||||
shadow-radius = 17; | |||||
shadow-offset-x = -7; | |||||
shadow-offset-y = -7; | |||||
shadow-opacity = 0.6; |
@@ -0,0 +1,423 @@ | |||||
[global] | |||||
### Display ### | |||||
# Which monitor should the notifications be displayed on. | |||||
monitor = 0 | |||||
# Display notification on focused monitor. Possible modes are: | |||||
# mouse: follow mouse pointer | |||||
# keyboard: follow window with keyboard focus | |||||
# none: don't follow anything | |||||
# | |||||
# "keyboard" needs a window manager that exports the | |||||
# _NET_ACTIVE_WINDOW property. | |||||
# This should be the case for almost all modern window managers. | |||||
# | |||||
# If this option is set to mouse or keyboard, the monitor option | |||||
# will be ignored. | |||||
follow = mouse | |||||
# The geometry of the window: | |||||
# [{width}]x{height}[+/-{x}+/-{y}] | |||||
# The geometry of the message window. | |||||
# The height is measured in number of notifications everything else | |||||
# in pixels. If the width is omitted but the height is given | |||||
# ("-geometry x2"), the message window expands over the whole screen | |||||
# (dmenu-like). If width is 0, the window expands to the longest | |||||
# message displayed. A positive x is measured from the left, a | |||||
# negative from the right side of the screen. Y is measured from | |||||
# the top and down respectively. | |||||
# The width can be negative. In this case the actual width is the | |||||
# screen width minus the width defined in within the geometry option. | |||||
geometry = "300x5-30+20" | |||||
# Show how many messages are currently hidden (because of geometry). | |||||
indicate_hidden = yes | |||||
# Shrink window if it's smaller than the width. Will be ignored if | |||||
# width is 0. | |||||
shrink = no | |||||
# The transparency of the window. Range: [0; 100]. | |||||
# This option will only work if a compositing window manager is | |||||
# present (e.g. xcompmgr, compiz, etc.). | |||||
transparency = 0 | |||||
# The height of the entire notification. If the height is smaller | |||||
# than the font height and padding combined, it will be raised | |||||
# to the font height and padding. | |||||
notification_height = 0 | |||||
# Draw a line of "separator_height" pixel height between two | |||||
# notifications. | |||||
# Set to 0 to disable. | |||||
separator_height = 2 | |||||
# Padding between text and separator. | |||||
padding = 8 | |||||
# Horizontal padding. | |||||
horizontal_padding = 8 | |||||
# Defines width in pixels of frame around the notification window. | |||||
# Set to 0 to disable. | |||||
frame_width = 3 | |||||
# Defines color of the frame around the notification window. | |||||
frame_color = "#b5e5cf" | |||||
# Define a color for the separator. | |||||
# possible values are: | |||||
# * auto: dunst tries to find a color fitting to the background; | |||||
# * foreground: use the same color as the foreground; | |||||
# * frame: use the same color as the frame; | |||||
# * anything else will be interpreted as a X color. | |||||
separator_color = frame | |||||
# Sort messages by urgency. | |||||
sort = yes | |||||
# Don't remove messages, if the user is idle (no mouse or keyboard input) | |||||
# for longer than idle_threshold seconds. | |||||
# Set to 0 to disable. | |||||
# A client can set the 'transient' hint to bypass this. See the rules | |||||
# section for how to disable this if necessary | |||||
idle_threshold = 120 | |||||
### Text ### | |||||
font = Font Awesome 12 | |||||
# The spacing between lines. If the height is smaller than the | |||||
# font height, it will get raised to the font height. | |||||
line_height = 15 | |||||
# Possible values are: | |||||
# full: Allow a small subset of html markup in notifications: | |||||
# <b>bold</b> | |||||
# <i>italic</i> | |||||
# <s>strikethrough</s> | |||||
# <u>underline</u> | |||||
# | |||||
# For a complete reference see | |||||
# <https://developer.gnome.org/pango/stable/pango-Markup.html>. | |||||
# | |||||
# strip: This setting is provided for compatibility with some broken | |||||
# clients that send markup even though it's not enabled on the | |||||
# server. Dunst will try to strip the markup but the parsing is | |||||
# simplistic so using this option outside of matching rules for | |||||
# specific applications *IS GREATLY DISCOURAGED*. | |||||
# | |||||
# no: Disable markup parsing, incoming notifications will be treated as | |||||
# plain text. Dunst will not advertise that it has the body-markup | |||||
# capability if this is set as a global setting. | |||||
# | |||||
# It's important to note that markup inside the format option will be parsed | |||||
# regardless of what this is set to. | |||||
markup = full | |||||
# The format of the message. Possible variables are: | |||||
# %a appname | |||||
# %s summary | |||||
# %b body | |||||
# %i iconname (including its path) | |||||
# %I iconname (without its path) | |||||
# %p progress value if set ([ 0%] to [100%]) or nothing | |||||
# %n progress value if set without any extra characters | |||||
# %% Literal % | |||||
# Markup is allowed | |||||
format = "<b>%s</b>\n%b" | |||||
# Alignment of message text. | |||||
# Possible values are "left", "center" and "right". | |||||
alignment = left | |||||
# Vertical alignment of message text and icon. | |||||
# Possible values are "top", "center" and "bottom". | |||||
vertical_alignment = center | |||||
# Show age of message if message is older than show_age_threshold | |||||
# seconds. | |||||
# Set to -1 to disable. | |||||
show_age_threshold = 60 | |||||
# Split notifications into multiple lines if they don't fit into | |||||
# geometry. | |||||
word_wrap = yes | |||||
# When word_wrap is set to no, specify where to make an ellipsis in long lines. | |||||
# Possible values are "start", "middle" and "end". | |||||
ellipsize = middle | |||||
# Ignore newlines '\n' in notifications. | |||||
ignore_newline = no | |||||
# Stack together notifications with the same content | |||||
stack_duplicates = true | |||||
# Hide the count of stacked notifications with the same content | |||||
hide_duplicate_count = false | |||||
# Display indicators for URLs (U) and actions (A). | |||||
show_indicators = yes | |||||
### Icons ### | |||||
# Align icons left/right/off | |||||
icon_position = off | |||||
# Scale small icons up to this size, set to 0 to disable. Helpful | |||||
# for e.g. small files or high-dpi screens. In case of conflict, | |||||
# max_icon_size takes precedence over this. | |||||
min_icon_size = 0 | |||||
# Scale larger icons down to this size, set to 0 to disable | |||||
max_icon_size = 32 | |||||
# Paths to default icons. | |||||
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ | |||||
### History ### | |||||
# Should a notification popped up from history be sticky or timeout | |||||
# as if it would normally do. | |||||
sticky_history = yes | |||||
# Maximum amount of notifications kept in history | |||||
history_length = 20 | |||||
### Misc/Advanced ### | |||||
# dmenu path. | |||||
dmenu = /usr/bin/dmenu -p dunst: | |||||
# Browser for opening urls in context menu. | |||||
browser = /usr/bin/firefox -new-tab | |||||
# Always run rule-defined scripts, even if the notification is suppressed | |||||
always_run_script = true | |||||
# Define the title of the windows spawned by dunst | |||||
title = Dunst | |||||
# Define the class of the windows spawned by dunst | |||||
class = Dunst | |||||
# Print a notification on startup. | |||||
# This is mainly for error detection, since dbus (re-)starts dunst | |||||
# automatically after a crash. | |||||
startup_notification = false | |||||
# Manage dunst's desire for talking | |||||
# Can be one of the following values: | |||||
# crit: Critical features. Dunst aborts | |||||
# warn: Only non-fatal warnings | |||||
# mesg: Important Messages | |||||
# info: all unimportant stuff | |||||
# debug: all less than unimportant stuff | |||||
verbosity = mesg | |||||
# Define the corner radius of the notification window | |||||
# in pixel size. If the radius is 0, you have no rounded | |||||
# corners. | |||||
# The radius will be automatically lowered if it exceeds half of the | |||||
# notification height to avoid clipping text and/or icons. | |||||
corner_radius = 0 | |||||
### Legacy | |||||
# Use the Xinerama extension instead of RandR for multi-monitor support. | |||||
# This setting is provided for compatibility with older nVidia drivers that | |||||
# do not support RandR and using it on systems that support RandR is highly | |||||
# discouraged. | |||||
# | |||||
# By enabling this setting dunst will not be able to detect when a monitor | |||||
# is connected or disconnected which might break follow mode if the screen | |||||
# layout changes. | |||||
force_xinerama = false | |||||
### mouse | |||||
# Defines action of mouse event | |||||
# Possible values are: | |||||
# * none: Don't do anything. | |||||
# * do_action: If the notification has exactly one action, or one is marked as default, | |||||
# invoke it. If there are multiple and no default, open the context menu. | |||||
# * close_current: Close current notification. | |||||
# * close_all: Close all notifications. | |||||
mouse_left_click = close_current | |||||
mouse_middle_click = do_action | |||||
mouse_right_click = close_all | |||||
# Experimental features that may or may not work correctly. Do not expect them | |||||
# to have a consistent behaviour across releases. | |||||
[experimental] | |||||
# Calculate the dpi to use on a per-monitor basis. | |||||
# If this setting is enabled the Xft.dpi value will be ignored and instead | |||||
# dunst will attempt to calculate an appropriate dpi value for each monitor | |||||
# using the resolution and physical size. This might be useful in setups | |||||
# where there are multiple screens with very different dpi values. | |||||
per_monitor_dpi = false | |||||
[shortcuts] | |||||
# Shortcuts are specified as [modifier+][modifier+]...key | |||||
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", | |||||
# "mod3" and "mod4" (windows-key). | |||||
# Xev might be helpful to find names for keys. | |||||
# Close notification. | |||||
close = ctrl+space | |||||
# Close all notifications. | |||||
close_all = ctrl+shift+space | |||||
# Redisplay last message(s). | |||||
# On the US keyboard layout "grave" is normally above TAB and left | |||||
# of "1". Make sure this key actually exists on your keyboard layout, | |||||
# e.g. check output of 'xmodmap -pke' | |||||
history = ctrl+grave | |||||
# Context menu. | |||||
context = ctrl+shift+period | |||||
[urgency_low] | |||||
# IMPORTANT: colors have to be defined in quotation marks. | |||||
# Otherwise the "#" and following would be interpreted as a comment. | |||||
background = "#1c1c1c" | |||||
foreground = "#888888" | |||||
timeout = 10 | |||||
# Icon for notifications with low urgency, uncomment to enable | |||||
#icon = /path/to/icon | |||||
[urgency_normal] | |||||
background = "#1c1c1c" | |||||
foreground = "#b5e5cf" | |||||
timeout = 10 | |||||
# Icon for notifications with normal urgency, uncomment to enable | |||||
#icon = /path/to/icon | |||||
[urgency_critical] | |||||
background = "#1c1c1c" | |||||
foreground = "#ffffff" | |||||
frame_color = "#ff0000" | |||||
timeout = 0 | |||||
# Icon for notifications with critical urgency, uncomment to enable | |||||
#icon = /path/to/icon | |||||
# Every section that isn't one of the above is interpreted as a rules to | |||||
# override settings for certain messages. | |||||
# | |||||
# Messages can be matched by | |||||
# appname (discouraged, see desktop_entry) | |||||
# body | |||||
# category | |||||
# desktop_entry | |||||
# icon | |||||
# match_transient | |||||
# msg_urgency | |||||
# stack_tag | |||||
# summary | |||||
# | |||||
# and you can override the | |||||
# background | |||||
# foreground | |||||
# format | |||||
# frame_color | |||||
# fullscreen | |||||
# new_icon | |||||
# set_stack_tag | |||||
# set_transient | |||||
# timeout | |||||
# urgency | |||||
# | |||||
# Shell-like globbing will get expanded. | |||||
# | |||||
# Instead of the appname filter, it's recommended to use the desktop_entry filter. | |||||
# GLib based applications export their desktop-entry name. In comparison to the appname, | |||||
# the desktop-entry won't get localized. | |||||
# | |||||
# SCRIPTING | |||||
# You can specify a script that gets run when the rule matches by | |||||
# setting the "script" option. | |||||
# The script will be called as follows: | |||||
# script appname summary body icon urgency | |||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL". | |||||
# | |||||
# NOTE: if you don't want a notification to be displayed, set the format | |||||
# to "". | |||||
# NOTE: It might be helpful to run dunst -print in a terminal in order | |||||
# to find fitting options for rules. | |||||
# Disable the transient hint so that idle_threshold cannot be bypassed from the | |||||
# client | |||||
#[transient_disable] | |||||
# match_transient = yes | |||||
# set_transient = no | |||||
# | |||||
# Make the handling of transient notifications more strict by making them not | |||||
# be placed in history. | |||||
#[transient_history_ignore] | |||||
# match_transient = yes | |||||
# history_ignore = yes | |||||
# fullscreen values | |||||
# show: show the notifications, regardless if there is a fullscreen window opened | |||||
# delay: displays the new notification, if there is no fullscreen window active | |||||
# If the notification is already drawn, it won't get undrawn. | |||||
# pushback: same as delay, but when switching into fullscreen, the notification will get | |||||
# withdrawn from screen again and will get delayed like a new notification | |||||
#[fullscreen_delay_everything] | |||||
# fullscreen = delay | |||||
#[fullscreen_show_critical] | |||||
# msg_urgency = critical | |||||
# fullscreen = show | |||||
#[espeak] | |||||
# summary = "*" | |||||
# script = dunst_espeak.sh | |||||
#[script-test] | |||||
# summary = "*script*" | |||||
# script = dunst_test.sh | |||||
#[ignore] | |||||
# # This notification will not be displayed | |||||
# summary = "foobar" | |||||
# format = "" | |||||
#[history-ignore] | |||||
# # This notification will not be saved in history | |||||
# summary = "foobar" | |||||
# history_ignore = yes | |||||
#[skip-display] | |||||
# # This notification will not be displayed, but will be included in the history | |||||
# summary = "foobar" | |||||
# skip_display = yes | |||||
#[signed_on] | |||||
# appname = Pidgin | |||||
# summary = "*signed on*" | |||||
# urgency = low | |||||
# | |||||
#[signed_off] | |||||
# appname = Pidgin | |||||
# summary = *signed off* | |||||
# urgency = low | |||||
# | |||||
#[says] | |||||
# appname = Pidgin | |||||
# summary = *says* | |||||
# urgency = critical | |||||
# | |||||
#[twitter] | |||||
# appname = Pidgin | |||||
# summary = *twitter.com* | |||||
# urgency = normal | |||||
# | |||||
#[stack-volumes] | |||||
# appname = "some_volume_notifiers" | |||||
# set_stack_tag = "volume" | |||||
# | |||||
# vim: ft=cfg |
@@ -0,0 +1,252 @@ | |||||
set $mod Mod4 | |||||
#GET THOSE FUCKING GAPS YOU SPENT 2 HOURS OF YOUR LIFE BUILDING FROM SOURCE | |||||
gaps inner 12 | |||||
gaps outer 10 | |||||
#compton for shadows | |||||
exec compton | |||||
#dunst for notifications | |||||
exec dunst | |||||
#screenshots | |||||
bindsym Print exec "scrot /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'" | |||||
#set keyboard layout to german: | |||||
exec --no-startup-id "setxkbmap -layout de" | |||||
#Set cool colors | |||||
#CLIENT BORDER BACKGR. TEXT INDICATOR CHILD_BORDER | |||||
client.focused #b5e5cf #1c1c1c #ffffff #81abbc #b5e5cf | |||||
client.background #ffffff | |||||
#merge xrdb on startup | |||||
#exec --no-startup-id xrdb -merge ~/.Xresources | |||||
#set feh background to last ran fehbg picture: | |||||
exec --no-startup-id "sh .fehbg" | |||||
#disable titlebars (and create medium borders) | |||||
for_window [class="^.*"] border pixel 5 | |||||
#font for i3bar and stuff | |||||
font pango:monospace 12 | |||||
# Use Mouse+$mod to drag floating windows to their wanted position | |||||
floating_modifier $mod | |||||
# start a terminal (kitty) | |||||
bindsym $mod+Return exec kitty | |||||
# kill focused window | |||||
bindsym $mod+q kill | |||||
# start dmenu (a program launcher) | |||||
bindsym $mod+Tab exec rofi -show drun | |||||
#bindsym $mod+Tab exec --no-startup-id dmenu_run | |||||
# change focus | |||||
bindsym $mod+h focus left | |||||
bindsym $mod+j focus down | |||||
bindsym $mod+k focus up | |||||
bindsym $mod+l 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+h move left | |||||
bindsym $mod+Shift+j move down | |||||
bindsym $mod+Shift+k move up | |||||
bindsym $mod+Shift+l 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 horizontally | |||||
bindsym $mod+t 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 | |||||
# change focus between tiling / floating windows | |||||
bindsym $mod+shift+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" | |||||
# 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 | |||||
# 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'" | |||||
# MOVE FLOATING WINDOW WITH CUSTOM MODE! | |||||
bindsym $mod+m mode "move" focus floating | |||||
mode "move" { | |||||
#move distance | |||||
set $distance 30 | |||||
set $empowered_distance 90 | |||||
#move | |||||
bindsym l move right $distance px | |||||
bindsym k move up $distance px | |||||
bindsym j move down $distance px | |||||
bindsym h move left $distance px | |||||
bindsym Right move right $distance px | |||||
bindsym Up move up $distance px | |||||
bindsym Down move down $distance px | |||||
bindsym Left move left $distance px | |||||
#empowered move | |||||
bindsym Shift+l move right $empowered_distance px | |||||
bindsym Shift+k move up $empowered_distance px | |||||
bindsym Shift+j move down $empowered_distance px | |||||
bindsym Shift+h move left $empowered_distance px | |||||
bindsym Shift+Right move right $empowered_distance px | |||||
bindsym Shift+Up move up $empowered_distance px | |||||
bindsym Shift+Down move down $empowered_distance px | |||||
bindsym Shift+Left move left $empowered_distance px | |||||
#back to normal mode | |||||
bindsym Escape mode "default" | |||||
bindsym Return mode "default" | |||||
bindsym $mod+m mode "default" | |||||
bindsym Space mode "default" | |||||
} | |||||
# resize window (you can also use the mouse for that) | |||||
mode "resize" { | |||||
set $empowered_amount 50 | |||||
bindsym h resize shrink width 10 px or 10 ppt | |||||
bindsym j resize grow height 10 px or 10 ppt | |||||
bindsym k resize shrink height 10 px or 10 ppt | |||||
bindsym l 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 | |||||
# empowered resize: | |||||
bindsym Shift+h resize shrink width $empowered_amount px | |||||
bindsym Shift+j resize grow height $empowered_amount px | |||||
bindsym Shift+k resize shrink height $empowered_amount px | |||||
bindsym Shift+l resize grow width $empowered_amount px | |||||
# 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" | |||||
# exec POLYBAR LAUNCH-SCRIPT on startup: | |||||
exec_always --no-startup-id $HOME/.config/polybar/launch_polybar.sh | |||||
# Start i3bar to display a workspace bar (plus the system information i3status | |||||
# finds out, if available) | |||||
#bar { | |||||
# position top | |||||
# status_command i3status | |||||
# | |||||
# #change the font and fontsize of i3bar | |||||
# font -misc-fixed-*-r-normal--18-120-100-100-c-90-iso10646-1 | |||||
# font pango: Hack 12 | |||||
# | |||||
# colors { | |||||
# separator #99545d | |||||
# background #1c1c1c | |||||
# focused_workspace #b5e5cf #b5e5cf #1c1c1c | |||||
# active_workspace #313e61 #1c1c1c #1c1c1c | |||||
# inactive_workspace #1c1c1c #1c1c1c #ffffff | |||||
# urgent_workspace #b99095 #b99095 #1c1c1c | |||||
# } | |||||
#} | |||||
#make popups floating: | |||||
for_window [window_role="pop-up"] floating enable | |||||
#MULTIMEDIA KEYS: | |||||
#Audio control: | |||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% | |||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% | |||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle #toggle mute | |||||
#Screen brightness: | |||||
bindsym XF86MonbrigthnessUp exec "" #increase brightness (virtual) | |||||
bindsym XF86MonbrigthnessDown exec "" #decrease brightness (virtual) |
@@ -0,0 +1,51 @@ | |||||
# COMMON SETTINGS | |||||
#bell | |||||
enable_audio_bell no | |||||
#visual_bell_duration 0.1 | |||||
#FONTS | |||||
font_family Hack | |||||
bold_font Hack Bold | |||||
italic_font Hack Italic | |||||
bold_italic_font Hack | |||||
font_size 11.0 | |||||
# COLORS: | |||||
foreground #ffffff | |||||
background #1c1c1c | |||||
#black | |||||
color0 #1c1c1c | |||||
color8 #3e5755 | |||||
#red | |||||
color1 #ffa384 | |||||
color9 #fa8072 | |||||
#green | |||||
color2 #3d5b59 | |||||
color10 #b5e5cf | |||||
#yellow | |||||
color3 #fbbc54 | |||||
color11 #edc480 | |||||
#blue | |||||
color4 #81abbc | |||||
color12 #313e61 | |||||
#magenta | |||||
color5 #99534d | |||||
color13 #b99095 | |||||
#cyan | |||||
color6 #74bdcb | |||||
color14 #5ee0e0 | |||||
#white | |||||
color7 #ddede6 | |||||
color15 #e6edea | |||||
# URLS: | |||||
url_color #81ABBC | |||||
url_style curly | |||||
shell zsh |
@@ -0,0 +1,761 @@ | |||||
# See this wiki page for more info: | |||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info | |||||
print_info() { | |||||
info title | |||||
info underline | |||||
info "OS" distro | |||||
info "Host" model | |||||
info "Kernel" kernel | |||||
info "Uptime" uptime | |||||
info "Packages" packages | |||||
info "Shell" shell | |||||
#info "Resolution" resolution | |||||
info "DE" de | |||||
info "WM" wm | |||||
#info "WM Theme" wm_theme | |||||
#info "Theme" theme | |||||
#info "Icons" icons | |||||
info "Terminal" term | |||||
info "Terminal Font" term_font | |||||
#info "CPU" cpu | |||||
#info "GPU" gpu | |||||
info "Memory" memory | |||||
# info "GPU Driver" gpu_driver # Linux/macOS only | |||||
# info "CPU Usage" cpu_usage | |||||
# info "Disk" disk | |||||
# info "Battery" battery | |||||
# info "Font" font | |||||
info "Song" song | |||||
# [[ $player ]] && prin "Music Player" "$player" | |||||
# info "Local IP" local_ip | |||||
# info "Public IP" public_ip | |||||
# info "Users" users | |||||
# info "Locale" locale # This only works on glibc systems. | |||||
info cols | |||||
} | |||||
# Kernel | |||||
# Shorten the output of the kernel function. | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --kernel_shorthand | |||||
# Supports: Everything except *BSDs (except PacBSD and PC-BSD) | |||||
# | |||||
# Example: | |||||
# on: '4.8.9-1-ARCH' | |||||
# off: 'Linux 4.8.9-1-ARCH' | |||||
kernel_shorthand="on" | |||||
# Distro | |||||
# Shorten the output of the distro function | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off', 'tiny' | |||||
# Flag: --distro_shorthand | |||||
# Supports: Everything except Windows and Haiku | |||||
distro_shorthand="off" | |||||
# Show/Hide OS Architecture. | |||||
# Show 'x86_64', 'x86' and etc in 'Distro:' output. | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --os_arch | |||||
# | |||||
# Example: | |||||
# on: 'Arch Linux x86_64' | |||||
# off: 'Arch Linux' | |||||
os_arch="on" | |||||
# Uptime | |||||
# Shorten the output of the uptime function | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off', 'tiny' | |||||
# Flag: --uptime_shorthand | |||||
# | |||||
# Example: | |||||
# on: '2 days, 10 hours, 3 mins' | |||||
# off: '2 days, 10 hours, 3 minutes' | |||||
# tiny: '2d 10h 3m' | |||||
uptime_shorthand="on" | |||||
# Memory | |||||
# Show memory pecentage in output. | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
# Flag: --memory_percent | |||||
# | |||||
# Example: | |||||
# on: '1801MiB / 7881MiB (22%)' | |||||
# off: '1801MiB / 7881MiB' | |||||
memory_percent="off" | |||||
# Packages | |||||
# Show/Hide Package Manager names. | |||||
# | |||||
# Default: 'tiny' | |||||
# Values: 'on', 'tiny' 'off' | |||||
# Flag: --package_managers | |||||
# | |||||
# Example: | |||||
# on: '998 (pacman), 8 (flatpak), 4 (snap)' | |||||
# tiny: '908 (pacman, flatpak, snap)' | |||||
# off: '908' | |||||
package_managers="on" | |||||
# Shell | |||||
# Show the path to $SHELL | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
# Flag: --shell_path | |||||
# | |||||
# Example: | |||||
# on: '/bin/bash' | |||||
# off: 'bash' | |||||
shell_path="off" | |||||
# Show $SHELL version | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --shell_version | |||||
# | |||||
# Example: | |||||
# on: 'bash 4.4.5' | |||||
# off: 'bash' | |||||
shell_version="on" | |||||
# CPU | |||||
# CPU speed type | |||||
# | |||||
# Default: 'bios_limit' | |||||
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. | |||||
# Flag: --speed_type | |||||
# Supports: Linux with 'cpufreq' | |||||
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. | |||||
speed_type="bios_limit" | |||||
# CPU speed shorthand | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off'. | |||||
# Flag: --speed_shorthand | |||||
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz | |||||
# | |||||
# Example: | |||||
# on: 'i7-6500U (4) @ 3.1GHz' | |||||
# off: 'i7-6500U (4) @ 3.100GHz' | |||||
speed_shorthand="off" | |||||
# Enable/Disable CPU brand in output. | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --cpu_brand | |||||
# | |||||
# Example: | |||||
# on: 'Intel i7-6500U' | |||||
# off: 'i7-6500U (4)' | |||||
cpu_brand="on" | |||||
# CPU Speed | |||||
# Hide/Show CPU speed. | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --cpu_speed | |||||
# | |||||
# Example: | |||||
# on: 'Intel i7-6500U (4) @ 3.1GHz' | |||||
# off: 'Intel i7-6500U (4)' | |||||
cpu_speed="on" | |||||
# CPU Cores | |||||
# Display CPU cores in output | |||||
# | |||||
# Default: 'logical' | |||||
# Values: 'logical', 'physical', 'off' | |||||
# Flag: --cpu_cores | |||||
# Support: 'physical' doesn't work on BSD. | |||||
# | |||||
# Example: | |||||
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) | |||||
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) | |||||
# off: 'Intel i7-6500U @ 3.1GHz' | |||||
cpu_cores="logical" | |||||
# CPU Temperature | |||||
# Hide/Show CPU temperature. | |||||
# Note the temperature is added to the regular CPU function. | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'C', 'F', 'off' | |||||
# Flag: --cpu_temp | |||||
# Supports: Linux, BSD | |||||
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable | |||||
# coretemp kernel module. This only supports newer Intel processors. | |||||
# | |||||
# Example: | |||||
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' | |||||
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' | |||||
# off: 'Intel i7-6500U (4) @ 3.1GHz' | |||||
cpu_temp="off" | |||||
# GPU | |||||
# Enable/Disable GPU Brand | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --gpu_brand | |||||
# | |||||
# Example: | |||||
# on: 'AMD HD 7950' | |||||
# off: 'HD 7950' | |||||
gpu_brand="on" | |||||
# Which GPU to display | |||||
# | |||||
# Default: 'all' | |||||
# Values: 'all', 'dedicated', 'integrated' | |||||
# Flag: --gpu_type | |||||
# Supports: Linux | |||||
# | |||||
# Example: | |||||
# all: | |||||
# GPU1: AMD HD 7950 | |||||
# GPU2: Intel Integrated Graphics | |||||
# | |||||
# dedicated: | |||||
# GPU1: AMD HD 7950 | |||||
# | |||||
# integrated: | |||||
# GPU1: Intel Integrated Graphics | |||||
gpu_type="all" | |||||
# Resolution | |||||
# Display refresh rate next to each monitor | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
# Flag: --refresh_rate | |||||
# Supports: Doesn't work on Windows. | |||||
# | |||||
# Example: | |||||
# on: '1920x1080 @ 60Hz' | |||||
# off: '1920x1080' | |||||
refresh_rate="off" | |||||
# Gtk Theme / Icons / Font | |||||
# Shorten output of GTK Theme / Icons / Font | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
# Flag: --gtk_shorthand | |||||
# | |||||
# Example: | |||||
# on: 'Numix, Adwaita' | |||||
# off: 'Numix [GTK2], Adwaita [GTK3]' | |||||
gtk_shorthand="off" | |||||
# Enable/Disable gtk2 Theme / Icons / Font | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --gtk2 | |||||
# | |||||
# Example: | |||||
# on: 'Numix [GTK2], Adwaita [GTK3]' | |||||
# off: 'Adwaita [GTK3]' | |||||
gtk2="on" | |||||
# Enable/Disable gtk3 Theme / Icons / Font | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --gtk3 | |||||
# | |||||
# Example: | |||||
# on: 'Numix [GTK2], Adwaita [GTK3]' | |||||
# off: 'Numix [GTK2]' | |||||
gtk3="on" | |||||
# IP Address | |||||
# Website to ping for the public IP | |||||
# | |||||
# Default: 'http://ident.me' | |||||
# Values: 'url' | |||||
# Flag: --ip_host | |||||
public_ip_host="http://ident.me" | |||||
# Public IP timeout. | |||||
# | |||||
# Default: '2' | |||||
# Values: 'int' | |||||
# Flag: --ip_timeout | |||||
public_ip_timeout=2 | |||||
# Disk | |||||
# Which disks to display. | |||||
# The values can be any /dev/sdXX, mount point or directory. | |||||
# NOTE: By default we only show the disk info for '/'. | |||||
# | |||||
# Default: '/' | |||||
# Values: '/', '/dev/sdXX', '/path/to/drive'. | |||||
# Flag: --disk_show | |||||
# | |||||
# Example: | |||||
# disk_show=('/' '/dev/sdb1'): | |||||
# 'Disk (/): 74G / 118G (66%)' | |||||
# 'Disk (/mnt/Videos): 823G / 893G (93%)' | |||||
# | |||||
# disk_show=('/'): | |||||
# 'Disk (/): 74G / 118G (66%)' | |||||
# | |||||
disk_show=('/') | |||||
# Disk subtitle. | |||||
# What to append to the Disk subtitle. | |||||
# | |||||
# Default: 'mount' | |||||
# Values: 'mount', 'name', 'dir' | |||||
# Flag: --disk_subtitle | |||||
# | |||||
# Example: | |||||
# name: 'Disk (/dev/sda1): 74G / 118G (66%)' | |||||
# 'Disk (/dev/sdb2): 74G / 118G (66%)' | |||||
# | |||||
# mount: 'Disk (/): 74G / 118G (66%)' | |||||
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' | |||||
# 'Disk (/mnt/Videos): 74G / 118G (66%)' | |||||
# | |||||
# dir: 'Disk (/): 74G / 118G (66%)' | |||||
# 'Disk (Local Disk): 74G / 118G (66%)' | |||||
# 'Disk (Videos): 74G / 118G (66%)' | |||||
disk_subtitle="mount" | |||||
# Song | |||||
# Manually specify a music player. | |||||
# | |||||
# Default: 'auto' | |||||
# Values: 'auto', 'player-name' | |||||
# Flag: --music_player | |||||
# | |||||
# Available values for 'player-name': | |||||
# | |||||
# amarok | |||||
# audacious | |||||
# banshee | |||||
# bluemindo | |||||
# clementine | |||||
# cmus | |||||
# deadbeef | |||||
# deepin-music | |||||
# dragon | |||||
# elisa | |||||
# exaile | |||||
# gnome-music | |||||
# gmusicbrowser | |||||
# guayadeque | |||||
# iTunes | |||||
# juk | |||||
# lollypop | |||||
# mocp | |||||
# mopidy | |||||
# mpd | |||||
# netease-cloud-music | |||||
# pogo | |||||
# pragha | |||||
# qmmp | |||||
# quodlibet | |||||
# rhythmbox | |||||
# sayonara | |||||
# smplayer | |||||
# spotify | |||||
# tomahawk | |||||
# vlc | |||||
# xmms2d | |||||
# yarock | |||||
music_player="auto" | |||||
# Format to display song information. | |||||
# | |||||
# Default: '%artist% - %album% - %title%' | |||||
# Values: '%artist%', '%album%', '%title%' | |||||
# Flag: --song_format | |||||
# | |||||
# Example: | |||||
# default: 'Song: Jet - Get Born - Sgt Major' | |||||
song_format="%artist% - %album% - %title%" | |||||
# Print the Artist, Album and Title on separate lines | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
# Flag: --song_shorthand | |||||
# | |||||
# Example: | |||||
# on: 'Artist: The Fratellis' | |||||
# 'Album: Costello Music' | |||||
# 'Song: Chelsea Dagger' | |||||
# | |||||
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' | |||||
song_shorthand="off" | |||||
# 'mpc' arguments (specify a host, password etc). | |||||
# | |||||
# Default: '' | |||||
# Example: mpc_args=(-h HOST -P PASSWORD) | |||||
mpc_args=() | |||||
# Text Colors | |||||
# Text Colors | |||||
# | |||||
# Default: 'distro' | |||||
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' | |||||
# Flag: --colors | |||||
# | |||||
# Each number represents a different part of the text in | |||||
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' | |||||
# | |||||
# Example: | |||||
# colors=(distro) - Text is colored based on Distro colors. | |||||
# colors=(4 6 1 8 8 6) - Text is colored in the order above. | |||||
colors=(distro) | |||||
# Text Options | |||||
# Toggle bold text | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --bold | |||||
bold="on" | |||||
# Enable/Disable Underline | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --underline | |||||
underline_enabled="on" | |||||
# Underline character | |||||
# | |||||
# Default: '-' | |||||
# Values: 'string' | |||||
# Flag: --underline_char | |||||
underline_char="-" | |||||
# Info Separator | |||||
# Replace the default separator with the specified string. | |||||
# | |||||
# Default: ':' | |||||
# Flag: --separator | |||||
# | |||||
# Example: | |||||
# separator="->": 'Shell-> bash' | |||||
# separator=" =": 'WM = dwm' | |||||
separator=":" | |||||
# Color Blocks | |||||
# Color block range | |||||
# The range of colors to print. | |||||
# | |||||
# Default: '0', '7' | |||||
# Values: 'num' | |||||
# Flag: --block_range | |||||
# | |||||
# Example: | |||||
# | |||||
# Display colors 0-7 in the blocks. (8 colors) | |||||
# neofetch --block_range 0 7 | |||||
# | |||||
# Display colors 0-15 in the blocks. (16 colors) | |||||
# neofetch --block_range 0 15 | |||||
block_range=(0 7) | |||||
# Toggle color blocks | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --color_blocks | |||||
color_blocks="on" | |||||
# Color block width in spaces | |||||
# | |||||
# Default: '3' | |||||
# Values: 'num' | |||||
# Flag: --block_width | |||||
block_width=3 | |||||
# Color block height in lines | |||||
# | |||||
# Default: '1' | |||||
# Values: 'num' | |||||
# Flag: --block_height | |||||
block_height=1 | |||||
# Progress Bars | |||||
# Bar characters | |||||
# | |||||
# Default: '-', '=' | |||||
# Values: 'string', 'string' | |||||
# Flag: --bar_char | |||||
# | |||||
# Example: | |||||
# neofetch --bar_char 'elapsed' 'total' | |||||
# neofetch --bar_char '-' '=' | |||||
bar_char_elapsed="-" | |||||
bar_char_total="=" | |||||
# Toggle Bar border | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --bar_border | |||||
bar_border="on" | |||||
# Progress bar length in spaces | |||||
# Number of chars long to make the progress bars. | |||||
# | |||||
# Default: '15' | |||||
# Values: 'num' | |||||
# Flag: --bar_length | |||||
bar_length=15 | |||||
# Progress bar colors | |||||
# When set to distro, uses your distro's logo colors. | |||||
# | |||||
# Default: 'distro', 'distro' | |||||
# Values: 'distro', 'num' | |||||
# Flag: --bar_colors | |||||
# | |||||
# Example: | |||||
# neofetch --bar_colors 3 4 | |||||
# neofetch --bar_colors distro 5 | |||||
bar_color_elapsed="distro" | |||||
bar_color_total="distro" | |||||
# Info display | |||||
# Display a bar with the info. | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'bar', 'infobar', 'barinfo', 'off' | |||||
# Flags: --cpu_display | |||||
# --memory_display | |||||
# --battery_display | |||||
# --disk_display | |||||
# | |||||
# Example: | |||||
# bar: '[---=======]' | |||||
# infobar: 'info [---=======]' | |||||
# barinfo: '[---=======] info' | |||||
# off: 'info' | |||||
cpu_display="off" | |||||
memory_display="off" | |||||
battery_display="off" | |||||
disk_display="off" | |||||
# Backend Settings | |||||
# Image backend. | |||||
# | |||||
# Default: 'ascii' | |||||
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', | |||||
# 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' | |||||
# Flag: --backend | |||||
image_backend="ascii" | |||||
# Image Source | |||||
# | |||||
# Which image or ascii file to display. | |||||
# | |||||
# Default: 'auto' | |||||
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' | |||||
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' | |||||
# Flag: --source | |||||
# | |||||
# NOTE: 'auto' will pick the best image source for whatever image backend is used. | |||||
# In ascii mode, distro ascii art will be used and in an image mode, your | |||||
# wallpaper will be used. | |||||
image_source="auto" | |||||
# Ascii Options | |||||
# Ascii distro | |||||
# Which distro's ascii art to display. | |||||
# | |||||
# Default: 'auto' | |||||
# Values: 'auto', 'distro_name' | |||||
# Flag: --ascii_distro | |||||
# | |||||
# NOTE: Arch and Ubuntu have 'old' logo variants. | |||||
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos. | |||||
# NOTE: Ubuntu has flavor variants. | |||||
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors. | |||||
# NOTE: Arch, Crux and Gentoo have a smaller logo variant. | |||||
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos. | |||||
ascii_distro="auto" | |||||
# Ascii Colors | |||||
# | |||||
# Default: 'distro' | |||||
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' | |||||
# Flag: --ascii_colors | |||||
# | |||||
# Example: | |||||
# ascii_colors=(distro) - Ascii is colored based on Distro colors. | |||||
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. | |||||
ascii_colors=(distro) | |||||
# Bold ascii logo | |||||
# Whether or not to bold the ascii logo. | |||||
# | |||||
# Default: 'on' | |||||
# Values: 'on', 'off' | |||||
# Flag: --ascii_bold | |||||
ascii_bold="on" | |||||
# Image Options | |||||
# Image loop | |||||
# Setting this to on will make neofetch redraw the image constantly until | |||||
# Ctrl+C is pressed. This fixes display issues in some terminal emulators. | |||||
# | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
# Flag: --loop | |||||
image_loop="off" | |||||
# Thumbnail directory | |||||
# | |||||
# Default: '~/.cache/thumbnails/neofetch' | |||||
# Values: 'dir' | |||||
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" | |||||
# Crop mode | |||||
# | |||||
# Default: 'normal' | |||||
# Values: 'normal', 'fit', 'fill' | |||||
# Flag: --crop_mode | |||||
# | |||||
# See this wiki page to learn about the fit and fill options. | |||||
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F | |||||
crop_mode="normal" | |||||
# Crop offset | |||||
# Note: Only affects 'normal' crop mode. | |||||
# | |||||
# Default: 'center' | |||||
# Values: 'northwest', 'north', 'northeast', 'west', 'center' | |||||
# 'east', 'southwest', 'south', 'southeast' | |||||
# Flag: --crop_offset | |||||
crop_offset="center" | |||||
# Image size | |||||
# The image is half the terminal width by default. | |||||
# | |||||
# Default: 'auto' | |||||
# Values: 'auto', '00px', '00%', 'none' | |||||
# Flags: --image_size | |||||
# --size | |||||
image_size="auto" | |||||
# Gap between image and text | |||||
# | |||||
# Default: '3' | |||||
# Values: 'num', '-num' | |||||
# Flag: --gap | |||||
gap=3 | |||||
# Image offsets | |||||
# Only works with the w3m backend. | |||||
# | |||||
# Default: '0' | |||||
# Values: 'px' | |||||
# Flags: --xoffset | |||||
# --yoffset | |||||
yoffset=0 | |||||
xoffset=0 | |||||
# Image background color | |||||
# Only works with the w3m backend. | |||||
# | |||||
# Default: '' | |||||
# Values: 'color', 'blue' | |||||
# Flag: --bg_color | |||||
background_color= | |||||
# Misc Options | |||||
# Stdout mode | |||||
# Turn off all colors and disables image backend (ASCII/Image). | |||||
# Useful for piping into another command. | |||||
# Default: 'off' | |||||
# Values: 'on', 'off' | |||||
stdout="off" |
@@ -0,0 +1,436 @@ | |||||
;========================================================== | |||||
; | |||||
; | |||||
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ | |||||
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ | |||||
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ | |||||
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ | |||||
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ | |||||
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ | |||||
; | |||||
; | |||||
; To learn more about how to configure Polybar | |||||
; go to https://github.com/polybar/polybar | |||||
; | |||||
; The README contains a lot of information | |||||
; | |||||
;========================================================== | |||||
[colors] | |||||
;background = ${xrdb:color0:#222} | |||||
background = #1c1c1c | |||||
background-alt = #B5E5CF | |||||
;foreground = ${xrdb:color7:#222} | |||||
foreground = #dfdfdf | |||||
foreground-alt = #3e5755 | |||||
primary = #B5E5CF | |||||
secondary = #3d5b59 | |||||
alert = #fa8072 | |||||
[bar/top-bar] | |||||
;monitor = ${env:MONITOR:HDMI-1} | |||||
width = 100% | |||||
height = 30 | |||||
;offset-x = 1% | |||||
;offset-y = 1% | |||||
radius = 0 | |||||
;separator between modules | |||||
separator = "|" | |||||
separator-padding = 0 | |||||
separator-foreground = ${colors.foreground-alt} | |||||
; enable ipc messaging | |||||
enable-ipc = true | |||||
; Does center move | |||||
fixed-center = true | |||||
background = ${colors.background} | |||||
foreground = ${colors.foreground} | |||||
line-size = 5 | |||||
line-color = #f00 | |||||
border-size = 0 | |||||
border-color = #00000000 | |||||
padding-left = 0 | |||||
padding-right = 0 | |||||
module-margin-left = 0 | |||||
module-margin-right = 0 | |||||
font-0 = Bitstream Vera Sans:pixelsize=12;1 | |||||
font-1 = unifont:fontformat=truetype:size=13:antialias=false;0 | |||||
font-2 = hack:pixelsize=13;1 | |||||
modules-left = xkeyboard | |||||
modules-center = i3 | |||||
modules-right = pulseaudio wlan eth battery temperature date powermenu | |||||
tray-position = left | |||||
tray-padding = 2 | |||||
;tray-background = #0063ff | |||||
;wm-restack = bspwm | |||||
;wm-restack = i3 | |||||
;override-redirect = true | |||||
;scroll-up = bspwm-desknext | |||||
;scroll-down = bspwm-deskprev | |||||
;scroll-up = i3wm-wsnext | |||||
;scroll-down = i3wm-wsprev | |||||
cursor-click = pointer | |||||
cursor-scroll = ns-resize | |||||
[module/xwindow] | |||||
type = internal/xwindow | |||||
label = %title:0:30:...% | |||||
[module/xkeyboard] | |||||
type = internal/xkeyboard | |||||
blacklist-0 = num lock | |||||
format-prefix = " " | |||||
format-prefix-foreground = ${colors.foreground-alt} | |||||
format-prefix-underline = ${colors.secondary} | |||||
label-layout = %layout% | |||||
label-layout-underline = ${colors.secondary} | |||||
label-indicator-padding = 2 | |||||
label-indicator-margin = 1 | |||||
label-indicator-background = ${colors.secondary} | |||||
label-indicator-underline = ${colors.secondary} | |||||
[module/filesystem] | |||||
type = internal/fs | |||||
interval = 25 | |||||
mount-0 = / | |||||
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% | |||||
label-unmounted = %mountpoint% not mounted | |||||
label-unmounted-foreground = ${colors.foreground-alt} | |||||
[module/bspwm] | |||||
type = internal/bspwm | |||||
label-focused = %index% | |||||
label-focused-background = ${colors.background-alt} | |||||
label-focused-underline= ${colors.primary} | |||||
label-focused-padding = 2 | |||||
label-occupied = %index% | |||||
label-occupied-padding = 2 | |||||
label-urgent = %index%! | |||||
label-urgent-background = ${colors.alert} | |||||
label-urgent-padding = 2 | |||||
label-empty = %index% | |||||
label-empty-foreground = ${colors.foreground-alt} | |||||
label-empty-padding = 2 | |||||
; Separator in between workspaces | |||||
; label-separator = | | |||||
[module/i3] | |||||
type = internal/i3 | |||||
format = <label-state> <label-mode> | |||||
index-sort = true | |||||
wrapping-scroll = false | |||||
strip-wsnumbers = true | |||||
; Only show workspaces on the same output as the bar | |||||
;pin-workspaces = true | |||||
label-mode-padding = 2 | |||||
label-mode-foreground = #000 | |||||
label-mode-background = ${colors.primary} | |||||
; focused = Active workspace on focused monitor | |||||
label-focused = %name% | |||||
label-focused-background = ${colors.background-alt} | |||||
label-focused-foreground = ${colors.foreground-alt} | |||||
label-focused-underline= ${colors.primary} | |||||
label-focused-padding = 2 | |||||
; unfocused = Inactive workspace on any monitor | |||||
label-unfocused = %name% | |||||
label-unfocused-padding = 2 | |||||
; visible = Active workspace on unfocused monitor | |||||
label-visible = %name% | |||||
label-visible-background = ${self.label-focused-background} | |||||
label-visible-underline = ${self.label-focused-underline} | |||||
label-visible-padding = ${self.label-focused-padding} | |||||
; urgent = Workspace with urgency hint set | |||||
label-urgent = %name% | |||||
label-urgent-background = ${colors.alert} | |||||
label-urgent-padding = 2 | |||||
; Separator in between workspaces | |||||
; label-separator = | | |||||
[module/mpd] | |||||
type = internal/mpd | |||||
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> | |||||
icon-prev = | |||||
icon-stop = | |||||
icon-play = | |||||
icon-pause = | |||||
icon-next = | |||||
label-song-maxlen = 25 | |||||
label-song-ellipsis = true | |||||
[module/xbacklight] | |||||
type = internal/xbacklight | |||||
format = <label> <bar> | |||||
label = BL | |||||
bar-width = 10 | |||||
bar-indicator = | | |||||
bar-indicator-foreground = #fff | |||||
bar-indicator-font = 2 | |||||
bar-fill = ─ | |||||
bar-fill-font = 2 | |||||
bar-fill-foreground = #9f78e1 | |||||
bar-empty = ─ | |||||
bar-empty-font = 2 | |||||
bar-empty-foreground = ${colors.foreground-alt} | |||||
[module/backlight-acpi] | |||||
inherit = module/xbacklight | |||||
type = internal/backlight | |||||
card = intel_backlight | |||||
[module/cpu] | |||||
type = internal/cpu | |||||
interval = 2 | |||||
format-prefix = " " | |||||
format-prefix-foreground = ${colors.foreground-alt} | |||||
format-underline = #f90000 | |||||
label = %percentage:2%% | |||||
[module/memory] | |||||
type = internal/memory | |||||
interval = 2 | |||||
format-prefix = " " | |||||
format-prefix-foreground = ${colors.foreground-alt} | |||||
format-underline = #ffa384 | |||||
label = %percentage_used%% | |||||
[module/wlan] | |||||
type = internal/network | |||||
interface = wlp5s0 | |||||
interval = 3.0 | |||||
format-connected = <ramp-signal> <label-connected> | |||||
format-connected-underline = #b5e5cf | |||||
label-connected = %essid% | |||||
;label-connected-background = #3e5755 | |||||
format-disconnected = <label-disconnected> | |||||
;format-disconnected-underline = ${self.format-connected-underline} | |||||
label-disconnected = %ifname% disconnected | |||||
label-disconnected-foreground = ${colors.foreground-alt} | |||||
ramp-signal-0 = | |||||
ramp-signal-1 = | |||||
ramp-signal-2 = | |||||
ramp-signal-3 = | |||||
ramp-signal-4 = | |||||
ramp-signal-foreground = ${colors.foreground-alt} | |||||
[module/eth] | |||||
type = internal/network | |||||
interface = enp4s0 | |||||
interval = 3.0 | |||||
;format-connected-underline = #55aa55 | |||||
format-connected-prefix = " " | |||||
format-connected-prefix-foreground = ${colors.foreground-alt} | |||||
label-connected = %local_ip% | |||||
format-disconnected = | |||||
;format-disconnected = <label-disconnected> | |||||
;format-disconnected-underline = ${self.format-connected-underline} | |||||
;label-disconnected = %ifname% disconnected | |||||
;label-disconnected-foreground = ${colors.foreground-alt} | |||||
[module/date] | |||||
type = internal/date | |||||
interval = 5 | |||||
date = | |||||
date-alt = " %Y-%m-%d" | |||||
time = %H:%M | |||||
time-alt = %H:%M:%S | |||||
format-prefix = | |||||
format-prefix-foreground = ${colors.foreground-alt} | |||||
;format-underline = #81abbc | |||||
label = %date% %time% | |||||
[module/pulseaudio] | |||||
type = internal/pulseaudio | |||||
format-volume = <label-volume> <bar-volume> | |||||
label-volume = VOL %percentage%% | |||||
label-volume-foreground = ${root.foreground} | |||||
label-muted = 🔇 muted | |||||
label-muted-foreground = #666 | |||||
bar-volume-width = 10 | |||||
bar-volume-foreground-0 = #55aa55 | |||||
bar-volume-foreground-1 = #55aa55 | |||||
bar-volume-foreground-2 = #55aa55 | |||||
bar-volume-foreground-3 = #55aa55 | |||||
bar-volume-foreground-4 = #55aa55 | |||||
bar-volume-foreground-5 = #f5a70a | |||||
bar-volume-foreground-6 = #ff5555 | |||||
bar-volume-gradient = false | |||||
bar-volume-indicator = | | |||||
bar-volume-indicator-font = 2 | |||||
bar-volume-fill = ─ | |||||
bar-volume-fill-font = 2 | |||||
bar-volume-empty = ─ | |||||
bar-volume-empty-font = 2 | |||||
bar-volume-empty-foreground = ${colors.foreground-alt} | |||||
[module/alsa] | |||||
type = internal/alsa | |||||
format-volume = <label-volume> <bar-volume> | |||||
label-volume = VOL | |||||
label-volume-foreground = ${root.foreground} | |||||
format-muted-prefix = " " | |||||
format-muted-foreground = ${colors.foreground-alt} | |||||
label-muted = sound muted | |||||
bar-volume-width = 10 | |||||
bar-volume-foreground-0 = #55aa55 | |||||
bar-volume-foreground-1 = #55aa55 | |||||
bar-volume-foreground-2 = #55aa55 | |||||
bar-volume-foreground-3 = #55aa55 | |||||
bar-volume-foreground-4 = #55aa55 | |||||
bar-volume-foreground-5 = #f5a70a | |||||
bar-volume-foreground-6 = #ff5555 | |||||
bar-volume-gradient = false | |||||
bar-volume-indicator = | | |||||
bar-volume-indicator-font = 2 | |||||
bar-volume-fill = ─ | |||||
bar-volume-fill-font = 2 | |||||
bar-volume-empty = ─ | |||||
bar-volume-empty-font = 2 | |||||
bar-volume-empty-foreground = ${colors.foreground-alt} | |||||
[module/battery] | |||||
type = internal/battery | |||||
battery = BAT0 | |||||
adapter = AC | |||||
full-at = 98 | |||||
low-at = 20 | |||||
format-charging = <animation-charging> <label-charging> | |||||
format-charging-underline = #81abbc | |||||
format-discharging = <animation-discharging> <label-discharging> | |||||
;format-discharging-underline = ${self.format-charging-underline} | |||||
format-full-prefix = " " | |||||
format-full-prefix-foreground = ${colors.foreground-alt} | |||||
format-full-underline = #b5e5cf | |||||
label-low-foreground = #fa8072 | |||||
ramp-capacity-0 = | |||||
ramp-capacity-1 = | |||||
ramp-capacity-2 = | |||||
ramp-capacity-foreground = ${colors.foreground-alt} | |||||
animation-charging-0 = | |||||
animation-charging-1 = | |||||
animation-charging-2 = | |||||
animation-charging-foreground = ${colors.foreground-alt} | |||||
animation-charging-framerate = 750 | |||||
animation-discharging-0 = | |||||
animation-discharging-1 = | |||||
animation-discharging-2 = | |||||
animation-discharging-foreground = ${colors.foreground-alt} | |||||
animation-discharging-framerate = 750 | |||||
[module/temperature] | |||||
type = internal/temperature | |||||
thermal-zone = 0 | |||||
warn-temperature = 60 | |||||
format = <ramp> <label> | |||||
format-underline = #1c1c1c | |||||
format-warn = <ramp> <label-warn> | |||||
format-warn-label= #fa8072 | |||||
label = %temperature-c% | |||||
label-warn = %temperature-c% | |||||
label-warn-foreground = #fa8072 | |||||
ramp-0 = | |||||
ramp-1 = | |||||
ramp-2 = | |||||
ramp-foreground = ${colors.foreground-alt} | |||||
[module/powermenu] | |||||
type = custom/menu | |||||
expand-right = true | |||||
format-spacing = 1 | |||||
label-open = | |||||
label-open-foreground = ${colors.secondary} | |||||
label-close = cancel | |||||
label-close-foreground = ${colors.secondary} | |||||
label-separator = | | |||||
label-separator-foreground = ${colors.foreground-alt} | |||||
menu-0-0 = reboot | |||||
menu-0-0-exec = menu-open-1 | |||||
menu-0-1 = power off | |||||
menu-0-1-exec = menu-open-2 | |||||
menu-1-0 = cancel | |||||
menu-1-0-exec = menu-open-0 | |||||
menu-1-1 = reboot | |||||
menu-1-1-exec = sudo reboot | |||||
menu-2-0 = power off | |||||
menu-2-0-exec = sudo poweroff | |||||
menu-2-1 = cancel | |||||
menu-2-1-exec = menu-open-0 | |||||
[settings] | |||||
screenchange-reload = true | |||||
;compositing-background = xor | |||||
;compositing-background = screen | |||||
;compositing-foreground = source | |||||
;compositing-border = over | |||||
pseudo-transparency = false | |||||
[global/wm] | |||||
margin-top = 5 | |||||
margin-bottom = 5 | |||||
;vim:ft=dosini |
@@ -0,0 +1,10 @@ | |||||
#!/usr/bin/env bash | |||||
#terminate running poly | |||||
killall -q polybar | |||||
#launch bar | |||||
echo "---" | tee -a /tmp/top-bar.log | |||||
polybar top-bar >>/tmp/top-bar.log 2>&1 & | |||||
echo "Done." |