chore: remove stale desktop configuration
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
output DP-2
|
||||
off
|
||||
output DP-3
|
||||
off
|
||||
output eDP-1
|
||||
crtc 0
|
||||
gamma 0.909:0.833:0.769
|
||||
mode 3840x2400
|
||||
pos 0x0
|
||||
primary
|
||||
rate 59.99
|
||||
output DP-1
|
||||
crtc 1
|
||||
gamma 0.909:0.833:0.769
|
||||
mode 2560x1440
|
||||
pos 3840x0
|
||||
rate 59.95
|
||||
transform 1.500000,0.000000,0.000000,0.000000,1.500000,0.000000,0.000000,0.000000,1.000000
|
||||
@@ -1,2 +0,0 @@
|
||||
DP-1 00ffffffffffff004c2d810b3239333032180103803d23782a5fb1a2574fa2280f5054bfef80714f810081c081809500a9c0b300010104740030f2705a80b0588a0060592100001e000000fd00184b1e5a1e000a202020202020000000fc00553238443539300a2020202020000000ff0048344d464330323037360a2020011a020323f14890041f130312202223090707830100006d030c001000803c201060010203023a801871382d40582c450060592100001e023a80d072382d40102c458060592100001e011d007251d01e206e28550060592100001e565e00a0a0a029503020350060592100001a000000000000000000000000000000000000000047
|
||||
eDP-1 00ffffffffffff004d10d01400000000031e0104b52215780adf0eaa5233b8250d4f550000000101010101010101010101010101010172e700a0f06045903020360050d21000001828b900a0f06045903020360050d210000018000000fe003930543032804c513135365231000000000002410332011200000b010a202001d802030f00e3058000e606050160602800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa
|
||||
@@ -1,17 +0,0 @@
|
||||
output DP-1
|
||||
off
|
||||
output DP-3
|
||||
off
|
||||
output eDP-1
|
||||
crtc 0
|
||||
gamma 0.909:0.833:0.769
|
||||
mode 3840x2400
|
||||
pos 0x0
|
||||
primary
|
||||
rate 59.99
|
||||
output DP-2
|
||||
crtc 1
|
||||
gamma 0.909:0.833:0.769
|
||||
mode 3840x2160
|
||||
pos 3840x0
|
||||
rate 60.00
|
||||
@@ -1,2 +0,0 @@
|
||||
DP-2 00ffffffffffff001e6da0c001010101011d010380a05a780aee91a3544c99260f5054a1080031404540614071408180d1c00101010108e80030f2705a80b0588a0040846300001e662150b051001b304070360040846300001e000000fd0018781eff77000a202020202020000000fc004c472054560a20202020202020018e02036af15e616076756665dbda101f0413051403021220212215015d5e5f6263643f40320f57071507505707016704033d1ec05f7e016e030c003000b83c200080010203046ad85dc401788063222878e200cfe305c000e3060d01e20f33eb0146d0002a1803515999aa6fc200a0a0a055503020350040846300001e000000a0
|
||||
eDP-1 00ffffffffffff004d10d01400000000031e0104b52215780adf0eaa5233b8250d4f550000000101010101010101010101010101010172e700a0f06045903020360050d21000001828b900a0f06045903020360050d210000018000000fe003930543032804c513135365231000000000002410332011200000b010a202001d802030f00e3058000e606050160602800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa
|
||||
@@ -1,13 +0,0 @@
|
||||
output DP-1
|
||||
off
|
||||
output DP-3
|
||||
off
|
||||
output eDP-1
|
||||
off
|
||||
output DP-2
|
||||
crtc 1
|
||||
mode 3840x2160
|
||||
pos 0x0
|
||||
rate 60.00
|
||||
scale 0.7x0.7
|
||||
transform 1.699997,0.000000,0.000000,0.000000,1.699997,0.000000,0.000000,0.000000,1.000000
|
||||
@@ -1,2 +0,0 @@
|
||||
DP-2 00ffffffffffff001e6da0c001010101011d010380a05a780aee91a3544c99260f5054a1080031404540614071408180d1c00101010108e80030f2705a80b0588a0040846300001e662150b051001b304070360040846300001e000000fd0018781eff77000a202020202020000000fc004c472054560a20202020202020018e02036af15e616076756665dbda101f0413051403021220212215015d5e5f6263643f40320f57071507505707016704033d1ec05f7e016e030c003000b83c200080010203046ad85dc401788063222878e200cfe305c000e3060d01e20f33eb0146d0002a1803515999aa6fc200a0a0a055503020350040846300001e000000a0
|
||||
eDP-1 00ffffffffffff004d10d01400000000031e0104b52215780adf0eaa5233b8250d4f550000000101010101010101010101010101010172e700a0f06045903020360050d21000001828b900a0f06045903020360050d210000018000000fe003930543032804c513135365231000000000002410332011200000b010a202001d802030f00e3058000e606050160602800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa
|
||||
@@ -1,14 +0,0 @@
|
||||
output DP-1
|
||||
off
|
||||
output DP-2
|
||||
off
|
||||
output DP-3
|
||||
off
|
||||
output eDP-1
|
||||
crtc 0
|
||||
gamma 0.909:0.833:0.769
|
||||
mode 3840x2400
|
||||
scale 1x1
|
||||
pos 0x0
|
||||
primary
|
||||
rate 59.99
|
||||
@@ -1,3 +0,0 @@
|
||||
# /bin/bash
|
||||
xset s off
|
||||
xset +dpms
|
||||
@@ -1 +0,0 @@
|
||||
eDP-1 00ffffffffffff004d10d01400000000031e0104b52215780adf0eaa5233b8250d4f550000000101010101010101010101010101010172e700a0f06045903020360050d21000001828b900a0f06045903020360050d210000018000000fe003930543032804c513135365231000000000002410332011200000b010a202001d802030f00e3058000e606050160602800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa
|
||||
@@ -1,34 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
polybar_auto_hide_timer_name=polybar_auto_hide.timer
|
||||
|
||||
function auto_hide_polybar() {
|
||||
|
||||
if [[ $1 == "true" ]]; then
|
||||
systemd-run --user --on-calendar="*:0/1" --unit=$polybar_auto_hide_timer_name /usr/bin/polybar-msg cmd hide || true
|
||||
else
|
||||
systemctl --user stop $polybar_auto_hide_timer_name || true
|
||||
fi
|
||||
}
|
||||
|
||||
current_profile=$(autorandr | grep '1st match' | awk '{print $1;}')
|
||||
echo "Switching to $current_profile"
|
||||
|
||||
if [[ "$current_profile" == *'oled'* ]]; then
|
||||
echo "OLED Display detected"
|
||||
|
||||
# setup screen saver
|
||||
xset s noblank
|
||||
xset s 300
|
||||
xset -dpms
|
||||
#xset s on
|
||||
|
||||
# add timer to auto hide polybar
|
||||
auto_hide_polybar "true"
|
||||
else
|
||||
# remote auto hide of polybar timer
|
||||
auto_hide_polybar "false"
|
||||
fi
|
||||
|
||||
echo "Done!"
|
||||
|
||||
@@ -1,448 +0,0 @@
|
||||
# See dunst(5) for all configuration options
|
||||
|
||||
[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 = "1000x20-30+20"
|
||||
|
||||
# Turn on the progess bar. It appears when a progress hint is passed with
|
||||
# for example dunstify -h int:value:12
|
||||
progress_bar = true
|
||||
|
||||
# Set the progress bar height. This includes the frame, so make sure
|
||||
# it's at least twice as big as the frame width.
|
||||
progress_bar_height = 10
|
||||
|
||||
# Set the frame width of the progress bar
|
||||
progress_bar_frame_width = 1
|
||||
|
||||
# Set the minimum width for the progress bar
|
||||
progress_bar_min_width = 150
|
||||
|
||||
# Set the maximum width for the progress bar
|
||||
progress_bar_max_width = 300
|
||||
|
||||
|
||||
# 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 = yes
|
||||
|
||||
# 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.). (X11 only)
|
||||
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 = 4
|
||||
|
||||
# Padding between text and separator.
|
||||
padding = 15
|
||||
|
||||
# Horizontal padding.
|
||||
horizontal_padding = 15
|
||||
|
||||
# Padding between text and icon.
|
||||
text_icon_padding = 0
|
||||
|
||||
# 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 = "#f98202"
|
||||
|
||||
# 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 = MesloLGS NF 12
|
||||
|
||||
# The spacing between lines. If the height is smaller than the
|
||||
# font height, it will get raised to the font height.
|
||||
line_height = 0
|
||||
|
||||
# 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 = left
|
||||
|
||||
# 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/brave -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
|
||||
|
||||
# Ignore the dbus closeNotification message.
|
||||
# Useful to enforce the timeout set by dunst configuration. Without this
|
||||
# parameter, an application may close the notification sent before the
|
||||
# user defined timeout.
|
||||
ignore_dbusclose = false
|
||||
|
||||
### Wayland ###
|
||||
# These settings are Wayland-specific. They have no effect when using X11
|
||||
|
||||
# Uncomment this if you want to let notications appear under fullscreen
|
||||
# applications (default: overlay)
|
||||
# layer = top
|
||||
|
||||
# Set this to true to use X11 output on Wayland.
|
||||
force_xwayland = false
|
||||
|
||||
### 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 list of actions for each mouse event
|
||||
# Possible values are:
|
||||
# * none: Don't do anything.
|
||||
# * do_action: Invoke the action determined by the action_name rule. If there is no
|
||||
# such action, open the context menu.
|
||||
# * open_url: If the notification has exactly one url, open it. If there are multiple
|
||||
# ones, open the context menu.
|
||||
# * close_current: Close current notification.
|
||||
# * close_all: Close all notifications.
|
||||
# * context: Open context menu for the notification.
|
||||
# * context_all: Open context menu for all notifications.
|
||||
# These values can be strung together for each mouse event, and
|
||||
# will be executed in sequence.
|
||||
mouse_left_click = close_current
|
||||
mouse_middle_click = do_action, close_current
|
||||
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 = true
|
||||
|
||||
|
||||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
# Otherwise the "#" and following would be interpreted as a comment.
|
||||
background = "#222222"
|
||||
foreground = "#ffffff"
|
||||
timeout = 10
|
||||
# Icon for notifications with low urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
|
||||
[urgency_normal]
|
||||
background = "#222222"
|
||||
foreground = "#ffffff"
|
||||
timeout = 10
|
||||
# Icon for notifications with normal urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
|
||||
[urgency_critical]
|
||||
background = "#900000"
|
||||
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
|
||||
# action_name
|
||||
#
|
||||
# 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
|
||||
@@ -1,209 +0,0 @@
|
||||
# === Basic Settings ===
|
||||
set $mod Mod4
|
||||
set $term alacritty
|
||||
floating_modifier $mod
|
||||
font pango:MesloLGS Nerd Font 11
|
||||
|
||||
# === Startup Applications ===
|
||||
exec --no-startup-id numlockx
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id gammastep
|
||||
exec --no-startup-id i3-msg workspace 1
|
||||
exec --no-startup-id polybar
|
||||
exec --no-startup-id thunderbird
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id spotify
|
||||
exec --no-startup-id brave
|
||||
exec --no-startup-id alacritty -e tmux
|
||||
|
||||
exec xset s noblank
|
||||
exec xset -dpms
|
||||
|
||||
# === Bar ===
|
||||
#bar {
|
||||
# status_command polybar
|
||||
# mode hide
|
||||
# hidden_state hide
|
||||
# position top
|
||||
#}
|
||||
|
||||
# === Keyboard Layout ===
|
||||
exec --no-startup-id setxkbmap -layout us -variant intl
|
||||
|
||||
# === Gaps === (requires i3-gaps)
|
||||
gaps inner 8
|
||||
gaps outer -4
|
||||
smart_gaps on
|
||||
smart_borders on
|
||||
|
||||
# === Workspace Behavior ===
|
||||
workspace_auto_back_and_forth yes
|
||||
|
||||
# === Keybindings ===
|
||||
|
||||
# Terminal and Rofi
|
||||
bindsym $mod+Return exec alacritty
|
||||
bindsym $mod+Ctrl+Return exec alacritty -e zellij
|
||||
bindsym $mod+Shift+Return exec rofi -show combi
|
||||
|
||||
# System
|
||||
bindsym $mod+Ctrl+l exec i3lock
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym $mod+Ctrl+Shift+Mod1+s exec systemctl suspend
|
||||
bindsym $mod+Ctrl+Shift+Mod1+h exec systemctl hibernate
|
||||
|
||||
# Audio
|
||||
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindsym $mod+XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
|
||||
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
|
||||
|
||||
# Brightness
|
||||
bindsym XF86MonBrightnessUp exec light -A 5 && notify-send "Brightness set to $(light)"
|
||||
bindsym XF86MonBrightnessDown exec light -U 5 && notify-send "Brightness set to $(light)"
|
||||
bindsym $mod+XF86MonBrightnessDown exec light -S 0.2 && notify-send "Brightness set to min"
|
||||
bindsym $mod+XF86MonBrightnessUp exec light -S 100 && notify-send "Brightness set to max"
|
||||
|
||||
# Misc
|
||||
bindsym XF86Calculator exec qalculate-qt
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
bindsym $mod+Shift+f exec polybar-msg cmd toggle
|
||||
bindsym $mod+Shift+Print exec flameshot gui
|
||||
|
||||
# Borders
|
||||
default_border pixel 2
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
bindsym $mod+Shift+n border none
|
||||
|
||||
# Focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# Move containers
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# Workspaces
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# Layout
|
||||
#bindsym $mod+z split h; exec notify-send 'Tile horizontally'
|
||||
#bindsym $mod+v split v; exec notify-send 'Tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# Workspaces 1–9
|
||||
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"
|
||||
|
||||
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+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+Ctrl+1 move container to workspace $ws1; workspace $ws1
|
||||
bindsym $mod+Ctrl+2 move container to workspace $ws2; workspace $ws2
|
||||
bindsym $mod+Ctrl+3 move container to workspace $ws3; workspace $ws3
|
||||
bindsym $mod+Ctrl+4 move container to workspace $ws4; workspace $ws4
|
||||
bindsym $mod+Ctrl+5 move container to workspace $ws5; workspace $ws5
|
||||
bindsym $mod+Ctrl+6 move container to workspace $ws6; workspace $ws6
|
||||
bindsym $mod+Ctrl+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Ctrl+8 move container to workspace $ws8; workspace $ws8
|
||||
bindsym $mod+Ctrl+9 move container to workspace $ws9; workspace $ws9
|
||||
|
||||
# Assignments
|
||||
assign [class="Thunderbird"] $ws9
|
||||
|
||||
# Resize Mode
|
||||
mode "resize" {
|
||||
bindsym h resize shrink width 4 px or 4 ppt
|
||||
bindsym j resize grow height 4 px or 4 ppt
|
||||
bindsym k resize shrink height 4 px or 4 ppt
|
||||
bindsym l resize grow width 4 px or 4 ppt
|
||||
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
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# === Colors ===
|
||||
client.focused #ff8800 #2F3D44 #FF8800 #FDF6E3 #ff8800
|
||||
client.focused_inactive #333333 #222222 #444444 #454948 #222222
|
||||
client.unfocused #2F3D44 #2F3D44 #FF8800 #454948 #222222
|
||||
client.urgent #CB4B16 #FDF6E3 #FF8800 #268BD2 #222222
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #222222
|
||||
client.background #2B2C2B
|
||||
|
||||
# === Floating Windows ===
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [title="Qalculate!"] floating enable border normal
|
||||
for_window [class="Psensor"] floating enable border normal
|
||||
for_window [title="lxrandr"] floating enable border normal
|
||||
for_window [class="Blueman-manager"] floating enable border normal
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [class="pavucontrol"] floating enable
|
||||
for_window [title="Volume Control"] floating enable
|
||||
for_window [class="Spotify"] move scratchpad
|
||||
for_window [class="Deezer"] move scratchpad
|
||||
for_window [class=".*VirtualBox.*"] floating enable
|
||||
for_window [class=".*VirtualBox Manager.*"] floating disable
|
||||
for_window [class=".*VirtualBox Machine"] floating disable
|
||||
@@ -1,485 +0,0 @@
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
set $alt Mod1
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 2
|
||||
new_float normal
|
||||
|
||||
# Hide borders
|
||||
hide_edge_borders none
|
||||
|
||||
# change borders
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font xft:MesloLGS NF 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a $myTerm
|
||||
set $myTerm alacritty
|
||||
bindsym $mod+Return exec $myTerm --command tmux
|
||||
bindsym $mod+Ctrl+Return exec $myTerm
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+Shift+Return exec --no-startup-id rofi -show run
|
||||
|
||||
|
||||
# Apps Launched with <SUPER> + <KEYPAD 1-9>
|
||||
bindsym $mod+KP_End exec $myTerm -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com
|
||||
bindsym $mod+KP_Down exec $myTerm -e sh ./scripts/googler-script.sh
|
||||
bindsym $mod+KP_Page_Down exec $myTerm -e newsboat
|
||||
bindsym $mod+KP_Left exec $myTerm -e rtv
|
||||
bindsym $mod+KP_Begin exec $myTerm -e neomutt
|
||||
bindsym $mod+KP_Right exec $myTerm -e twitch-curses
|
||||
bindsym $mod+KP_Home exec $myTerm -e sh ./scripts/haxor-news.sh
|
||||
bindsym $mod+KP_Up exec $myTerm -e toot curses
|
||||
bindsym $mod+KP_Page_Up exec $myTerm -e sh ./scripts/tig-script.sh
|
||||
|
||||
# Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 1-9>
|
||||
bindsym $mod+Shift+KP_1 exec $myTerm -e vifm
|
||||
bindsym $mod+Shift+KP_2 exec $myTerm -e joplin
|
||||
bindsym $mod+Shift+KP_3 exec $myTerm -e cmus
|
||||
bindsym $mod+Shift+KP_4 exec $myTerm -e irssi
|
||||
bindsym $mod+Shift+KP_5 exec $myTerm -e rtorrent
|
||||
bindsym $mod+ShiFT+KP_6 exec $myTerm -e youtube-viewer
|
||||
bindsym $mod+Shift+KP_7 exec $myTerm -e ncpamixer
|
||||
bindsym $mod+Shift+KP_8 exec $myTerm -e calcurse
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e vim ~/.config/i3/config
|
||||
|
||||
# Apps Launched with <SUPER> + <CTRL> + <KEYPAD 1-9>
|
||||
bindsym $mod+Ctrl+KP_End exec $myTerm -e htop
|
||||
bindsym $mod+Ctrl+KP_Down exec $myTerm -e gtop
|
||||
bindsym $mod+Ctrl+KP_Page_Down exec $myTerm -e nmon
|
||||
bindsym $mod+Ctrl+KP_Left exec $myTerm -e glances
|
||||
bindsym $mod+Ctrl+KP_Begin exec $myTerm -e s-tui
|
||||
bindsym $mod+Ctrl+KP_Right exec $myTerm -e httping -KY --draw-phase localhost
|
||||
bindsym $mod+Ctrl+KP_Home exec $myTerm -e cmatrix -C cyan
|
||||
bindsym $mod+Ctrl+KP_Up exec $myTerm -e pianobar
|
||||
bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e wopr report.xml
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
||||
#exec --no-startup-id volumeicon
|
||||
#exec --no-startup-id pulseaudio
|
||||
#exec --no-startup-id pa-applet
|
||||
|
||||
################################################################################################
|
||||
|
||||
# set keyboard layout to us intl
|
||||
exec_always --no-startup-id setxkbmap -layout us -variant intl
|
||||
|
||||
# auto switch to best screen config
|
||||
bindsym $mod+Home exec "autorandr -c"
|
||||
|
||||
# toggle polybar
|
||||
bindsym $mod+Shift+f exec "polybar-msg cmd toggle"
|
||||
|
||||
# make screenshot
|
||||
bindsym $mod+Print exec "flameshot full -c"
|
||||
bindsym $mod+Shift+Print exec "flameshot gui"
|
||||
bindsym $mod+Shift+P exec "flameshot gui"
|
||||
|
||||
# start screenrecording
|
||||
bindsym $mod+Ctrl+Shift+Print exec --no-startup-id simplescreenrecorder --start-hidden --start-recording
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec "light -A 5; notify-send Brightness set to $(light)"
|
||||
bindsym XF86MonBrightnessDown exec "light -U 5; notify-send Brightness set to $(light)"
|
||||
bindsym $mod+XF86MonBrightnessDown exec "light -S 0.2; notify-send Brightness set to min"
|
||||
bindsym $mod+XF86MonBrightnessUp exec "light -S 100; notify-send Brightness set to max"
|
||||
|
||||
# volumne controls
|
||||
bindsym XF86AudioLowerVolume exec "pamixer --decrease 5"
|
||||
bindsym XF86AudioRaiseVolume exec "pamixer --increase 5"
|
||||
bindsym XF86AudioMute exec "pamixer -t"
|
||||
bindsym $mod+XF86AudioMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
|
||||
# media controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
|
||||
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
# misc keyboard keys
|
||||
bindsym XF86Calculator exec --no-startup-id qalculate-gtk
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Ctrl+b exec $myTerm -e 'bmenu'
|
||||
bindsym $mod+F1 exec brave
|
||||
bindsym $mod+F3 exec kdenlive
|
||||
bindsym $mod+F4 exec qalculate-gtk
|
||||
bindsym $mod+F5 exec $myTerm -e 'mocp'
|
||||
bindsym $mod+F6 exec blueman-manager
|
||||
bindsym $mod+F8 exec --no-startup-id GDK_SCALE=2 steam
|
||||
bindsym $mod+Shift+d --release exec "killall dunst; exec dunst restart; exec notify-send 'restarted dunst'"
|
||||
bindsym Print exec --no-startup-id i3-scrot
|
||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||
bindsym $mod+Ctrl+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||
|
||||
# focus_follows_mouse no
|
||||
|
||||
# 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 arrow 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 arrow 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
|
||||
|
||||
# move focus to different monitors
|
||||
bindsym $mod+greater focus output right
|
||||
bindsym $mod+less focus output left
|
||||
|
||||
# move container to different monitors
|
||||
bindsym $mod+Ctrl+greater move container to output right; focus output right
|
||||
bindsym $mod+Ctrl+less move container to output left; focus output left
|
||||
|
||||
# move workspace to different monitor
|
||||
bindsym $mod+Ctrl+Shift+greater move workspace to output right
|
||||
bindsym $mod+Ctrl+Shift+less move workspace to output left
|
||||
|
||||
# workspace back and forth (with/without active container)
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
|
||||
# split orientation
|
||||
bindsym $mod+z split h;exec notify-send 'tile horizontally'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
|
||||
# toggle fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+y fullscreen disable; floating enable; resize set 640 480; sticky enable; move window to position 1270 590
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
# toggle sticky
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
#bindsym $mod+Shift+s exec ~/.i3/i3-display-swap.sh
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#navigate workspaces next / previous
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Workspace names
|
||||
# to display names or symbols instead of plain workspace numbers you can use
|
||||
# something like: set $ws1 1:mail
|
||||
# set $ws2 2:
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||
bindsym $mod+Ctrl+9 move container to workspace $ws9
|
||||
|
||||
# Move to workspace with focused container
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
||||
|
||||
# Open applications on specific workspaces
|
||||
assign [class="Thunderbird"] $ws9
|
||||
assign [class="spotify"] $ws9
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [title="Qalculate!"] floating enable border normal
|
||||
for_window [class="Psensor"] floating enable border normal
|
||||
for_window [title="lxrandr"] floating enable border normal
|
||||
for_window [class="Element"] floating enable border normal
|
||||
for_window [class="Blueman-manager"] floating enable border normal
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||
for_window [class="Manjaro-hello"] floating enable
|
||||
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
||||
for_window [title="MuseScore: Play Panel"] floating enable
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Oblogout"] fullscreen enable
|
||||
for_window [class="octopi"] floating enable
|
||||
for_window [class="Pamac-manager"] floating enable
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||
for_window [class="Simple-scan"] floating enable border normal
|
||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] fullscreen enable
|
||||
for_window [class="Xfburn"] floating enable
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Ctrl+r 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'"
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+Ctrl+Shift+$alt+l exec --no-startup-id light-locker-command -l
|
||||
|
||||
# Set shut down, restart
|
||||
bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate
|
||||
bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id systemctl suspend
|
||||
|
||||
# set lock combination for i3lock
|
||||
bindsym $mod+Ctrl+l exec --no-startup-id i3lock -c 000000
|
||||
|
||||
#bindsym $mod+0 mode "$mode_system"
|
||||
#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||||
#mode "$mode_system" {
|
||||
# bindsym l exec --no-startup-id light-locker-command -l
|
||||
# bindsym h exec --no-startup-id systemctl hibernate
|
||||
# bindsym r exec --no-startup-id reboot
|
||||
# bindsym s exec --no-startup-id systemctl suspend
|
||||
# bindsym Shift+s exec --no-startup-id shutdown now
|
||||
#
|
||||
# # exit system mode: "Enter" or "Escape"
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
mode "resize" {
|
||||
# Originally set to jkl;.
|
||||
# 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 h resize shrink width 4 px or 4 ppt
|
||||
bindsym j resize grow height 4 px or 4 ppt
|
||||
bindsym k resize shrink height 4 px or 4 ppt
|
||||
bindsym l resize grow width 4 px or 4 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
|
||||
|
||||
# exit resize mode: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Autostart applications
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id redshift ~/.config/redshift/redshift.conf
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id picom -b
|
||||
|
||||
# locking specific startup applications
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
#exec --no-startup-id xautolock -time 1 -locker "i3lock" -detectsleep
|
||||
exec --no-startup-id xautolock -time 30 -locker "systemctl suspend" -detectsleep
|
||||
|
||||
# sys config tools
|
||||
exec --no-startup-id xbindkeys
|
||||
|
||||
|
||||
# autostart terminal and broswer
|
||||
#exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/termite'
|
||||
#exec --no-startup-id i2-msg 'workspace 2; exec /usr/bin/firefox'
|
||||
|
||||
|
||||
# Color palette used for the terminal ( ~/.Xresources file )
|
||||
# Colors are gathered based on the documentation:
|
||||
# https://i3wm.org/docs/userguide.html#xresources
|
||||
# Change the variable name at the place you want to match the color
|
||||
# of your terminal like this:
|
||||
# [example]
|
||||
# If you want your bar to have the same background color as your
|
||||
# terminal background change the line 362 from:
|
||||
# background #14191D
|
||||
# to:
|
||||
# background $term_background
|
||||
# Same logic applied to everything else.
|
||||
set_from_resource $term_background background
|
||||
set_from_resource $term_foreground foreground
|
||||
set_from_resource $term_color0 color0
|
||||
set_from_resource $term_color1 color1
|
||||
set_from_resource $term_color2 color2
|
||||
set_from_resource $term_color3 color3
|
||||
set_from_resource $term_color4 color4
|
||||
set_from_resource $term_color5 color5
|
||||
set_from_resource $term_color6 color6
|
||||
set_from_resource $term_color7 color7
|
||||
set_from_resource $term_color8 color8
|
||||
set_from_resource $term_color9 color9
|
||||
set_from_resource $term_color10 color10
|
||||
set_from_resource $term_color11 color11
|
||||
set_from_resource $term_color12 color12
|
||||
set_from_resource $term_color13 color13
|
||||
set_from_resource $term_color14 color14
|
||||
set_from_resource $term_color15 color15
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused #ff8800 #2F3D44 #FF8800 #FDF6E3 #ff8800
|
||||
client.focused_inactive #333333 #222222 #444444 #454948 #222222
|
||||
client.unfocused #2F3D44 #2F3D44 #FF8800 #454948
|
||||
client.urgent #CB4B16 #FDF6E3 #FF8800 #268BD2
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background #2B2C2B
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 8
|
||||
gaps outer -4
|
||||
|
||||
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||
# gaps inner|outer current|all set|plus|minus <px>
|
||||
# gaps inner all set 10
|
||||
# gaps outer all plus 5
|
||||
|
||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||
smart_gaps on
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||
smart_borders on
|
||||
|
||||
# Press $mod+Shift+g to enter the gap mode.
|
||||
# Choose o or i for modifying outer/inner gaps.
|
||||
# Press one of + / - (in-/decrement for current workspace)
|
||||
# or 0 (remove gaps for current workspace). If you also press Shift
|
||||
# with these keys, the change will be global for all workspaces.
|
||||
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
|
||||
mode "$mode_gaps" {
|
||||
bindsym o mode "$mode_gaps_outer"
|
||||
bindsym i mode "$mode_gaps_inner"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_inner" {
|
||||
bindsym plus gaps inner current plus 5
|
||||
bindsym minus gaps inner current minus 5
|
||||
bindsym 0 gaps inner current set 0
|
||||
|
||||
bindsym Shift+plus gaps inner all plus 5
|
||||
bindsym Shift+minus gaps inner all minus 5
|
||||
bindsym Shift+0 gaps inner all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_outer" {
|
||||
bindsym plus gaps outer current plus 5
|
||||
bindsym minus gaps outer current minus 5
|
||||
bindsym 0 gaps outer current set 0
|
||||
|
||||
bindsym Shift+plus gaps outer all plus 5
|
||||
bindsym Shift+minus gaps outer all minus 5
|
||||
bindsym Shift+0 gaps outer all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
@@ -1,482 +0,0 @@
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
set $alt Mod1
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 2
|
||||
new_float normal
|
||||
|
||||
# Hide borders
|
||||
hide_edge_borders none
|
||||
|
||||
# change borders
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font xft:MesloLGS NF 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a $myTerm
|
||||
set $myTerm alacritty
|
||||
bindsym $mod+Return exec $myTerm --command tmux
|
||||
bindsym $mod+Ctrl+Return exec $myTerm
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+Shift+Return exec --no-startup-id rofi -show run
|
||||
|
||||
|
||||
# Apps Launched with <SUPER> + <KEYPAD 1-9>
|
||||
bindsym $mod+KP_End exec $myTerm -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com
|
||||
bindsym $mod+KP_Down exec $myTerm -e sh ./scripts/googler-script.sh
|
||||
bindsym $mod+KP_Page_Down exec $myTerm -e newsboat
|
||||
bindsym $mod+KP_Left exec $myTerm -e rtv
|
||||
bindsym $mod+KP_Begin exec $myTerm -e neomutt
|
||||
bindsym $mod+KP_Right exec $myTerm -e twitch-curses
|
||||
bindsym $mod+KP_Home exec $myTerm -e sh ./scripts/haxor-news.sh
|
||||
bindsym $mod+KP_Up exec $myTerm -e toot curses
|
||||
bindsym $mod+KP_Page_Up exec $myTerm -e sh ./scripts/tig-script.sh
|
||||
|
||||
# Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 1-9>
|
||||
bindsym $mod+Shift+KP_1 exec $myTerm -e vifm
|
||||
bindsym $mod+Shift+KP_2 exec $myTerm -e joplin
|
||||
bindsym $mod+Shift+KP_3 exec $myTerm -e cmus
|
||||
bindsym $mod+Shift+KP_4 exec $myTerm -e irssi
|
||||
bindsym $mod+Shift+KP_5 exec $myTerm -e rtorrent
|
||||
bindsym $mod+ShiFT+KP_6 exec $myTerm -e youtube-viewer
|
||||
bindsym $mod+Shift+KP_7 exec $myTerm -e ncpamixer
|
||||
bindsym $mod+Shift+KP_8 exec $myTerm -e calcurse
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e vim ~/.config/i3/config
|
||||
|
||||
# Apps Launched with <SUPER> + <CTRL> + <KEYPAD 1-9>
|
||||
bindsym $mod+Ctrl+KP_End exec $myTerm -e htop
|
||||
bindsym $mod+Ctrl+KP_Down exec $myTerm -e gtop
|
||||
bindsym $mod+Ctrl+KP_Page_Down exec $myTerm -e nmon
|
||||
bindsym $mod+Ctrl+KP_Left exec $myTerm -e glances
|
||||
bindsym $mod+Ctrl+KP_Begin exec $myTerm -e s-tui
|
||||
bindsym $mod+Ctrl+KP_Right exec $myTerm -e httping -KY --draw-phase localhost
|
||||
bindsym $mod+Ctrl+KP_Home exec $myTerm -e cmatrix -C cyan
|
||||
bindsym $mod+Ctrl+KP_Up exec $myTerm -e pianobar
|
||||
bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e wopr report.xml
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
||||
#exec --no-startup-id volumeicon
|
||||
#exec --no-startup-id pulseaudio
|
||||
#exec --no-startup-id pa-applet
|
||||
|
||||
################################################################################################
|
||||
|
||||
# auto switch to best screen config
|
||||
bindsym $mod+Home exec "autorandr -c"
|
||||
|
||||
# toggle polybar
|
||||
bindsym $mod+Shift+f exec "polybar-msg cmd toggle"
|
||||
|
||||
# make screenshot
|
||||
bindsym $mod+Print exec "flameshot full -c"
|
||||
bindsym $mod+Shift+Print exec "flameshot gui"
|
||||
|
||||
# start screenrecording
|
||||
bindsym $mod+Ctrl+Shift+Print exec --no-startup-id simplescreenrecorder --start-hidden --start-recording
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec "light -A 5; notify-send Brightness set to $(light)"
|
||||
bindsym XF86MonBrightnessDown exec "light -U 5; notify-send Brightness set to $(light)"
|
||||
bindsym $mod+XF86MonBrightnessDown exec "light -S 0.2; notify-send Brightness set to min"
|
||||
bindsym $mod+XF86MonBrightnessUp exec "light -S 100; notify-send Brightness set to max"
|
||||
|
||||
# volumne controls
|
||||
bindsym XF86AudioLowerVolume exec "pamixer --decrease 5"
|
||||
bindsym XF86AudioRaiseVolume exec "pamixer --increase 5"
|
||||
bindsym XF86AudioMute exec "pamixer -t"
|
||||
bindsym $mod+XF86AudioMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
|
||||
# media controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
|
||||
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
# misc keyboard keys
|
||||
bindsym XF86Calculator exec --no-startup-id qalculate-gtk
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Ctrl+b exec $myTerm -e 'bmenu'
|
||||
bindsym $mod+F1 exec brave
|
||||
bindsym $mod+F3 exec kdenlive
|
||||
bindsym $mod+F4 exec qalculate-gtk
|
||||
bindsym $mod+F5 exec $myTerm -e 'mocp'
|
||||
bindsym $mod+F6 exec blueman-manager
|
||||
bindsym $mod+F8 exec --no-startup-id GDK_SCALE=2 steam
|
||||
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
|
||||
bindsym Print exec --no-startup-id i3-scrot
|
||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||
bindsym $mod+Ctrl+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||
|
||||
# focus_follows_mouse no
|
||||
|
||||
# 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 arrow 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 arrow 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
|
||||
|
||||
# move focus to different monitors
|
||||
bindsym $mod+greater focus output right
|
||||
bindsym $mod+less focus output left
|
||||
|
||||
# move container to different monitors
|
||||
bindsym $mod+Ctrl+greater move container to output right; focus output right
|
||||
bindsym $mod+Ctrl+less move container to output left; focus output left
|
||||
|
||||
# move workspace to different monitor
|
||||
bindsym $mod+Ctrl+Shift+greater move workspace to output right
|
||||
bindsym $mod+Ctrl+Shift+less move workspace to output left
|
||||
|
||||
# workspace back and forth (with/without active container)
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
|
||||
# split orientation
|
||||
bindsym $mod+z split h;exec notify-send 'tile horizontally'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
|
||||
# toggle fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+y fullscreen disable; floating enable; resize set 640 480; sticky enable; move window to position 1270 590
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
# toggle sticky
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
#bindsym $mod+Shift+s exec ~/.i3/i3-display-swap.sh
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#navigate workspaces next / previous
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Workspace names
|
||||
# to display names or symbols instead of plain workspace numbers you can use
|
||||
# something like: set $ws1 1:mail
|
||||
# set $ws2 2:
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||
bindsym $mod+Ctrl+9 move container to workspace $ws9
|
||||
|
||||
# Move to workspace with focused container
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
||||
|
||||
# Open applications on specific workspaces
|
||||
assign [class="Thunderbird"] $ws9
|
||||
assign [class="spotify"] $ws9
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [title="Qalculate!"] floating enable border normal
|
||||
for_window [class="Psensor"] floating enable border normal
|
||||
for_window [title="lxrandr"] floating enable border normal
|
||||
for_window [class="Element"] floating enable border normal
|
||||
for_window [class="Blueman-manager"] floating enable border normal
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||
for_window [class="Manjaro-hello"] floating enable
|
||||
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
||||
for_window [title="MuseScore: Play Panel"] floating enable
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Oblogout"] fullscreen enable
|
||||
for_window [class="octopi"] floating enable
|
||||
for_window [class="Pamac-manager"] floating enable
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||
for_window [class="Simple-scan"] floating enable border normal
|
||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] fullscreen enable
|
||||
for_window [class="Xfburn"] floating enable
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Ctrl+r 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'"
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+Ctrl+Shift+$alt+l exec --no-startup-id light-locker-command -l
|
||||
|
||||
# Set shut down, restart
|
||||
bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate
|
||||
bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id systemctl suspend
|
||||
|
||||
# set lock combination for i3lock
|
||||
bindsym $mod+Ctrl+l exec --no-startup-id i3lock -c 000000
|
||||
|
||||
#bindsym $mod+0 mode "$mode_system"
|
||||
#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||||
#mode "$mode_system" {
|
||||
# bindsym l exec --no-startup-id light-locker-command -l
|
||||
# bindsym h exec --no-startup-id systemctl hibernate
|
||||
# bindsym r exec --no-startup-id reboot
|
||||
# bindsym s exec --no-startup-id systemctl suspend
|
||||
# bindsym Shift+s exec --no-startup-id shutdown now
|
||||
#
|
||||
# # exit system mode: "Enter" or "Escape"
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
mode "resize" {
|
||||
# Originally set to jkl;.
|
||||
# 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 h resize shrink width 4 px or 4 ppt
|
||||
bindsym j resize grow height 4 px or 4 ppt
|
||||
bindsym k resize shrink height 4 px or 4 ppt
|
||||
bindsym l resize grow width 4 px or 4 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
|
||||
|
||||
# exit resize mode: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Autostart applications
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id redshift ~/.config/redshift/redshift.conf
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id picom -b
|
||||
exec --no-startup-id flameshot
|
||||
|
||||
# locking specific startup applications
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
#exec --no-startup-id xautolock -time 1 -locker "i3lock" -detectsleep
|
||||
exec --no-startup-id xautolock -time 30 -locker "systemctl suspend" -detectsleep
|
||||
|
||||
# sys config tools
|
||||
exec --no-startup-id xbindkeys
|
||||
|
||||
|
||||
# autostart terminal and broswer
|
||||
#exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/termite'
|
||||
#exec --no-startup-id i2-msg 'workspace 2; exec /usr/bin/firefox'
|
||||
|
||||
|
||||
# Color palette used for the terminal ( ~/.Xresources file )
|
||||
# Colors are gathered based on the documentation:
|
||||
# https://i3wm.org/docs/userguide.html#xresources
|
||||
# Change the variable name at the place you want to match the color
|
||||
# of your terminal like this:
|
||||
# [example]
|
||||
# If you want your bar to have the same background color as your
|
||||
# terminal background change the line 362 from:
|
||||
# background #14191D
|
||||
# to:
|
||||
# background $term_background
|
||||
# Same logic applied to everything else.
|
||||
set_from_resource $term_background background
|
||||
set_from_resource $term_foreground foreground
|
||||
set_from_resource $term_color0 color0
|
||||
set_from_resource $term_color1 color1
|
||||
set_from_resource $term_color2 color2
|
||||
set_from_resource $term_color3 color3
|
||||
set_from_resource $term_color4 color4
|
||||
set_from_resource $term_color5 color5
|
||||
set_from_resource $term_color6 color6
|
||||
set_from_resource $term_color7 color7
|
||||
set_from_resource $term_color8 color8
|
||||
set_from_resource $term_color9 color9
|
||||
set_from_resource $term_color10 color10
|
||||
set_from_resource $term_color11 color11
|
||||
set_from_resource $term_color12 color12
|
||||
set_from_resource $term_color13 color13
|
||||
set_from_resource $term_color14 color14
|
||||
set_from_resource $term_color15 color15
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused #ff8800 #2F3D44 #FF8800 #FDF6E3 #ff8800
|
||||
client.focused_inactive #333333 #222222 #444444 #454948 #222222
|
||||
client.unfocused #2F3D44 #2F3D44 #FF8800 #454948
|
||||
client.urgent #CB4B16 #FDF6E3 #FF8800 #268BD2
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background #2B2C2B
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 8
|
||||
gaps outer -4
|
||||
|
||||
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||
# gaps inner|outer current|all set|plus|minus <px>
|
||||
# gaps inner all set 10
|
||||
# gaps outer all plus 5
|
||||
|
||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||
smart_gaps on
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||
smart_borders on
|
||||
|
||||
# Press $mod+Shift+g to enter the gap mode.
|
||||
# Choose o or i for modifying outer/inner gaps.
|
||||
# Press one of + / - (in-/decrement for current workspace)
|
||||
# or 0 (remove gaps for current workspace). If you also press Shift
|
||||
# with these keys, the change will be global for all workspaces.
|
||||
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
|
||||
mode "$mode_gaps" {
|
||||
bindsym o mode "$mode_gaps_outer"
|
||||
bindsym i mode "$mode_gaps_inner"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_inner" {
|
||||
bindsym plus gaps inner current plus 5
|
||||
bindsym minus gaps inner current minus 5
|
||||
bindsym 0 gaps inner current set 0
|
||||
|
||||
bindsym Shift+plus gaps inner all plus 5
|
||||
bindsym Shift+minus gaps inner all minus 5
|
||||
bindsym Shift+0 gaps inner all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_outer" {
|
||||
bindsym plus gaps outer current plus 5
|
||||
bindsym minus gaps outer current minus 5
|
||||
bindsym 0 gaps outer current set 0
|
||||
|
||||
bindsym Shift+plus gaps outer all plus 5
|
||||
bindsym Shift+minus gaps outer all minus 5
|
||||
bindsym Shift+0 gaps outer all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
@@ -1,482 +0,0 @@
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
set $alt Mod1
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 2
|
||||
new_float normal
|
||||
|
||||
# Hide borders
|
||||
hide_edge_borders none
|
||||
|
||||
# change borders
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font xft:MesloLGS NF 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a $myTerm
|
||||
set $myTerm alacritty
|
||||
bindsym $mod+Return exec $myTerm --command tmux
|
||||
bindsym $mod+Ctrl+Return exec $myTerm
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+Shift+Return exec --no-startup-id rofi -show run
|
||||
|
||||
|
||||
# Apps Launched with <SUPER> + <KEYPAD 1-9>
|
||||
bindsym $mod+KP_End exec $myTerm -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com
|
||||
bindsym $mod+KP_Down exec $myTerm -e sh ./scripts/googler-script.sh
|
||||
bindsym $mod+KP_Page_Down exec $myTerm -e newsboat
|
||||
bindsym $mod+KP_Left exec $myTerm -e rtv
|
||||
bindsym $mod+KP_Begin exec $myTerm -e neomutt
|
||||
bindsym $mod+KP_Right exec $myTerm -e twitch-curses
|
||||
bindsym $mod+KP_Home exec $myTerm -e sh ./scripts/haxor-news.sh
|
||||
bindsym $mod+KP_Up exec $myTerm -e toot curses
|
||||
bindsym $mod+KP_Page_Up exec $myTerm -e sh ./scripts/tig-script.sh
|
||||
|
||||
# Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 1-9>
|
||||
bindsym $mod+Shift+KP_1 exec $myTerm -e vifm
|
||||
bindsym $mod+Shift+KP_2 exec $myTerm -e joplin
|
||||
bindsym $mod+Shift+KP_3 exec $myTerm -e cmus
|
||||
bindsym $mod+Shift+KP_4 exec $myTerm -e irssi
|
||||
bindsym $mod+Shift+KP_5 exec $myTerm -e rtorrent
|
||||
bindsym $mod+ShiFT+KP_6 exec $myTerm -e youtube-viewer
|
||||
bindsym $mod+Shift+KP_7 exec $myTerm -e ncpamixer
|
||||
bindsym $mod+Shift+KP_8 exec $myTerm -e calcurse
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e vim ~/.config/i3/config
|
||||
|
||||
# Apps Launched with <SUPER> + <CTRL> + <KEYPAD 1-9>
|
||||
bindsym $mod+Ctrl+KP_End exec $myTerm -e htop
|
||||
bindsym $mod+Ctrl+KP_Down exec $myTerm -e gtop
|
||||
bindsym $mod+Ctrl+KP_Page_Down exec $myTerm -e nmon
|
||||
bindsym $mod+Ctrl+KP_Left exec $myTerm -e glances
|
||||
bindsym $mod+Ctrl+KP_Begin exec $myTerm -e s-tui
|
||||
bindsym $mod+Ctrl+KP_Right exec $myTerm -e httping -KY --draw-phase localhost
|
||||
bindsym $mod+Ctrl+KP_Home exec $myTerm -e cmatrix -C cyan
|
||||
bindsym $mod+Ctrl+KP_Up exec $myTerm -e pianobar
|
||||
bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e wopr report.xml
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
||||
#exec --no-startup-id volumeicon
|
||||
#exec --no-startup-id pulseaudio
|
||||
#exec --no-startup-id pa-applet
|
||||
|
||||
################################################################################################
|
||||
|
||||
# auto switch to best screen config
|
||||
bindsym $mod+Home exec "autorandr -c"
|
||||
|
||||
# toggle polybar
|
||||
bindsym $mod+Shift+f exec "polybar-msg cmd toggle"
|
||||
|
||||
# make screenshot
|
||||
bindsym $mod+Print exec "flameshot full -c"
|
||||
bindsym $mod+Shift+Print exec "flameshot gui"
|
||||
|
||||
# start screenrecording
|
||||
bindsym $mod+Ctrl+Shift+Print exec --no-startup-id simplescreenrecorder --start-hidden --start-recording
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec "light -A 5; notify-send Brightness set to $(light)"
|
||||
bindsym XF86MonBrightnessDown exec "light -U 5; notify-send Brightness set to $(light)"
|
||||
bindsym $mod+XF86MonBrightnessDown exec "light -S 0.2; notify-send Brightness set to min"
|
||||
bindsym $mod+XF86MonBrightnessUp exec "light -S 100; notify-send Brightness set to max"
|
||||
|
||||
# volumne controls
|
||||
bindsym XF86AudioLowerVolume exec "pamixer --decrease 5"
|
||||
bindsym XF86AudioRaiseVolume exec "pamixer --increase 5"
|
||||
bindsym XF86AudioMute exec "pamixer -t"
|
||||
bindsym $mod+XF86AudioMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
|
||||
# media controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
|
||||
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
# misc keyboard keys
|
||||
bindsym XF86Calculator exec --no-startup-id qalculate-gtk
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Ctrl+b exec $myTerm -e 'bmenu'
|
||||
bindsym $mod+F1 exec brave
|
||||
bindsym $mod+F3 exec kdenlive
|
||||
bindsym $mod+F4 exec qalculate-gtk
|
||||
bindsym $mod+F5 exec $myTerm -e 'mocp'
|
||||
bindsym $mod+F6 exec blueman-manager
|
||||
bindsym $mod+F8 exec --no-startup-id GDK_SCALE=2 steam
|
||||
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
|
||||
bindsym Print exec --no-startup-id i3-scrot
|
||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||
bindsym $mod+Ctrl+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||
|
||||
# focus_follows_mouse no
|
||||
|
||||
# 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 arrow 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 arrow 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
|
||||
|
||||
# move focus to different monitors
|
||||
bindsym $mod+greater focus output right
|
||||
bindsym $mod+less focus output left
|
||||
|
||||
# move container to different monitors
|
||||
bindsym $mod+Ctrl+greater move container to output right; focus output right
|
||||
bindsym $mod+Ctrl+less move container to output left; focus output left
|
||||
|
||||
# move workspace to different monitor
|
||||
bindsym $mod+Ctrl+Shift+greater move workspace to output right
|
||||
bindsym $mod+Ctrl+Shift+less move workspace to output left
|
||||
|
||||
# workspace back and forth (with/without active container)
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
|
||||
# split orientation
|
||||
bindsym $mod+z split h;exec notify-send 'tile horizontally'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
|
||||
# toggle fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+y fullscreen disable; floating enable; resize set 640 480; sticky enable; move window to position 1270 590
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
# toggle sticky
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
#bindsym $mod+Shift+s exec ~/.i3/i3-display-swap.sh
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#navigate workspaces next / previous
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Workspace names
|
||||
# to display names or symbols instead of plain workspace numbers you can use
|
||||
# something like: set $ws1 1:mail
|
||||
# set $ws2 2:
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||
bindsym $mod+Ctrl+9 move container to workspace $ws9
|
||||
|
||||
# Move to workspace with focused container
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
||||
|
||||
# Open applications on specific workspaces
|
||||
assign [class="Thunderbird"] $ws9
|
||||
assign [class="spotify"] $ws9
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [title="Qalculate!"] floating enable border normal
|
||||
for_window [class="Psensor"] floating enable border normal
|
||||
for_window [title="lxrandr"] floating enable border normal
|
||||
for_window [class="Element"] floating enable border normal
|
||||
for_window [class="Blueman-manager"] floating enable border normal
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||
for_window [class="Manjaro-hello"] floating enable
|
||||
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
||||
for_window [title="MuseScore: Play Panel"] floating enable
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Oblogout"] fullscreen enable
|
||||
for_window [class="octopi"] floating enable
|
||||
for_window [class="Pamac-manager"] floating enable
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||
for_window [class="Simple-scan"] floating enable border normal
|
||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] fullscreen enable
|
||||
for_window [class="Xfburn"] floating enable
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Ctrl+r 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'"
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+Ctrl+Shift+$alt+l exec --no-startup-id light-locker-command -l
|
||||
|
||||
# Set shut down, restart
|
||||
bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate
|
||||
bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id systemctl suspend
|
||||
|
||||
# set lock combination for i3lock
|
||||
bindsym $mod+Ctrl+l exec --no-startup-id i3lock -c 000000
|
||||
|
||||
#bindsym $mod+0 mode "$mode_system"
|
||||
#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||||
#mode "$mode_system" {
|
||||
# bindsym l exec --no-startup-id light-locker-command -l
|
||||
# bindsym h exec --no-startup-id systemctl hibernate
|
||||
# bindsym r exec --no-startup-id reboot
|
||||
# bindsym s exec --no-startup-id systemctl suspend
|
||||
# bindsym Shift+s exec --no-startup-id shutdown now
|
||||
#
|
||||
# # exit system mode: "Enter" or "Escape"
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
mode "resize" {
|
||||
# Originally set to jkl;.
|
||||
# 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 h resize shrink width 4 px or 4 ppt
|
||||
bindsym j resize grow height 4 px or 4 ppt
|
||||
bindsym k resize shrink height 4 px or 4 ppt
|
||||
bindsym l resize grow width 4 px or 4 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
|
||||
|
||||
# exit resize mode: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Autostart applications
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id redshift ~/.config/redshift/redshift.conf
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id picom -b
|
||||
exec --no-startup-id flameshot
|
||||
|
||||
# locking specific startup applications
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
#exec --no-startup-id xautolock -time 1 -locker "i3lock" -detectsleep
|
||||
exec --no-startup-id xautolock -time 30 -locker "systemctl suspend" -detectsleep
|
||||
|
||||
# sys config tools
|
||||
exec --no-startup-id xbindkeys
|
||||
|
||||
|
||||
# autostart terminal and broswer
|
||||
#exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/termite'
|
||||
#exec --no-startup-id i2-msg 'workspace 2; exec /usr/bin/firefox'
|
||||
|
||||
|
||||
# Color palette used for the terminal ( ~/.Xresources file )
|
||||
# Colors are gathered based on the documentation:
|
||||
# https://i3wm.org/docs/userguide.html#xresources
|
||||
# Change the variable name at the place you want to match the color
|
||||
# of your terminal like this:
|
||||
# [example]
|
||||
# If you want your bar to have the same background color as your
|
||||
# terminal background change the line 362 from:
|
||||
# background #14191D
|
||||
# to:
|
||||
# background $term_background
|
||||
# Same logic applied to everything else.
|
||||
set_from_resource $term_background background
|
||||
set_from_resource $term_foreground foreground
|
||||
set_from_resource $term_color0 color0
|
||||
set_from_resource $term_color1 color1
|
||||
set_from_resource $term_color2 color2
|
||||
set_from_resource $term_color3 color3
|
||||
set_from_resource $term_color4 color4
|
||||
set_from_resource $term_color5 color5
|
||||
set_from_resource $term_color6 color6
|
||||
set_from_resource $term_color7 color7
|
||||
set_from_resource $term_color8 color8
|
||||
set_from_resource $term_color9 color9
|
||||
set_from_resource $term_color10 color10
|
||||
set_from_resource $term_color11 color11
|
||||
set_from_resource $term_color12 color12
|
||||
set_from_resource $term_color13 color13
|
||||
set_from_resource $term_color14 color14
|
||||
set_from_resource $term_color15 color15
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused #ff8800 #2F3D44 #FF8800 #FDF6E3 #ff8800
|
||||
client.focused_inactive #333333 #222222 #444444 #454948 #222222
|
||||
client.unfocused #2F3D44 #2F3D44 #FF8800 #454948
|
||||
client.urgent #CB4B16 #FDF6E3 #FF8800 #268BD2
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background #2B2C2B
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 8
|
||||
gaps outer -4
|
||||
|
||||
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||
# gaps inner|outer current|all set|plus|minus <px>
|
||||
# gaps inner all set 10
|
||||
# gaps outer all plus 5
|
||||
|
||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||
smart_gaps on
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||
smart_borders on
|
||||
|
||||
# Press $mod+Shift+g to enter the gap mode.
|
||||
# Choose o or i for modifying outer/inner gaps.
|
||||
# Press one of + / - (in-/decrement for current workspace)
|
||||
# or 0 (remove gaps for current workspace). If you also press Shift
|
||||
# with these keys, the change will be global for all workspaces.
|
||||
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
|
||||
mode "$mode_gaps" {
|
||||
bindsym o mode "$mode_gaps_outer"
|
||||
bindsym i mode "$mode_gaps_inner"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_inner" {
|
||||
bindsym plus gaps inner current plus 5
|
||||
bindsym minus gaps inner current minus 5
|
||||
bindsym 0 gaps inner current set 0
|
||||
|
||||
bindsym Shift+plus gaps inner all plus 5
|
||||
bindsym Shift+minus gaps inner all minus 5
|
||||
bindsym Shift+0 gaps inner all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
mode "$mode_gaps_outer" {
|
||||
bindsym plus gaps outer current plus 5
|
||||
bindsym minus gaps outer current minus 5
|
||||
bindsym 0 gaps outer current set 0
|
||||
|
||||
bindsym Shift+plus gaps outer all plus 5
|
||||
bindsym Shift+minus gaps outer all minus 5
|
||||
bindsym Shift+0 gaps outer all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Basic settings
|
||||
backend = "glx";
|
||||
vsync = true;
|
||||
use-damage = true;
|
||||
|
||||
# Opacity settings
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1.0;
|
||||
frame-opacity = 1.0;
|
||||
|
||||
# Shadow settings
|
||||
shadow = false;
|
||||
|
||||
# Fading settings
|
||||
fade = false;
|
||||
|
||||
# additional settings
|
||||
glx-no-stencil = true;
|
||||
glx-no-rebind-pixmap = true;
|
||||
xrender-sync = true;
|
||||
xrender-sync-fence = true;
|
||||
|
||||
# Logging
|
||||
log-level = "warn";
|
||||
@@ -1,13 +0,0 @@
|
||||
# Opacity settings
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1.0;
|
||||
frame-opacity = 1.0;
|
||||
|
||||
# Shadow settings
|
||||
shadow = false;
|
||||
|
||||
# Fading settings
|
||||
fade = false;
|
||||
|
||||
# Logging
|
||||
log-level = "warn";
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
# Shadow
|
||||
shadow = false;
|
||||
|
||||
# Opacity
|
||||
inactive-opacity = 1;
|
||||
active-opacity = 1;
|
||||
frame-opacity = 1;
|
||||
inactive-dim = 0.0;
|
||||
|
||||
# Blur
|
||||
blur-background = false;
|
||||
|
||||
# Fading
|
||||
fading = false;
|
||||
fade-delta = 5;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
no-fading-openclose = true;
|
||||
|
||||
# Backend
|
||||
backend = "glx";
|
||||
vsync = true;
|
||||
@@ -1,605 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____
|
||||
;; / __ )____ ___________
|
||||
;; / __ / __ `/ ___/ ___/
|
||||
;; / /_/ / /_/ / / (__ )
|
||||
;; /_____/\__,_/_/ /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/volume]
|
||||
type = internal/alsa
|
||||
|
||||
; Soundcard to be used
|
||||
; Usually in the format hw:# where # is the card number
|
||||
; You can find the different card numbers in `/proc/asound/cards`
|
||||
;;master-soundcard = default
|
||||
;;speaker-soundcard = default
|
||||
;;headphone-soundcard = default
|
||||
|
||||
; Name of the master, speaker and headphone mixers
|
||||
; Use the following command to list available mixer controls:
|
||||
; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p"
|
||||
; If master, speaker or headphone-soundcard isn't the default,
|
||||
; use `amixer -c # scontrols` instead where # is the number
|
||||
; of the master, speaker or headphone soundcard respectively
|
||||
;
|
||||
; Default: Master
|
||||
;;master-mixer = Master
|
||||
|
||||
; Optionally define speaker and headphone mixers
|
||||
; Default: none
|
||||
;;speaker-mixer = Speaker
|
||||
; Default: none
|
||||
;;headphone-mixer = Headphone
|
||||
|
||||
; NOTE: This is required if headphone_mixer is defined
|
||||
; Use the following command to list available device controls
|
||||
; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort
|
||||
; You may also need to use `amixer -c # controls` as above for the mixer names
|
||||
; Default: none
|
||||
;;headphone-id = 9
|
||||
|
||||
; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear
|
||||
; Default: false
|
||||
;;mapped = true
|
||||
|
||||
; Interval for volume increase/decrease (in percent points)
|
||||
; Default: 5
|
||||
;;interval = 5
|
||||
|
||||
; Available tags:
|
||||
; <label-volume> (default)
|
||||
; <ramp-volume>
|
||||
; <bar-volume>
|
||||
format-volume = <ramp-volume> <bar-volume>
|
||||
|
||||
; Available tags:
|
||||
; <label-muted> (default)
|
||||
; <ramp-volume>
|
||||
; <bar-volume>
|
||||
format-muted = <label-muted>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
label-volume = %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default
|
||||
format-muted-prefix =
|
||||
label-muted = " Muted"
|
||||
label-muted-foreground = ${color.ac}
|
||||
|
||||
; Only applies if <ramp-volume> is used
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
ramp-volume-4 =
|
||||
|
||||
; Only applies if <bar-volume> is used
|
||||
bar-volume-width = 10
|
||||
bar-volume-gradient = false
|
||||
|
||||
bar-volume-indicator =
|
||||
bar-volume-indicator-foreground = ${color.bi}
|
||||
bar-volume-indicator-font = 2
|
||||
|
||||
bar-volume-fill = ━
|
||||
bar-volume-foreground-0 = ${color.bn}
|
||||
bar-volume-foreground-1 = ${color.bn}
|
||||
bar-volume-foreground-2 = ${color.bn}
|
||||
bar-volume-foreground-3 = ${color.bn}
|
||||
bar-volume-foreground-4 = ${color.bm}
|
||||
bar-volume-foreground-5 = ${color.bm}
|
||||
bar-volume-foreground-6 = ${color.bm}
|
||||
bar-volume-foreground-7 = ${color.bd}
|
||||
bar-volume-foreground-8 = ${color.bd}
|
||||
bar-volume-fill-font = 2
|
||||
|
||||
bar-volume-empty = ┉
|
||||
bar-volume-empty-foreground = ${color.be}
|
||||
bar-volume-empty-font = 2
|
||||
|
||||
; If defined, it will replace <ramp-volume> when
|
||||
; headphones are plugged in to `headphone_control_numid`
|
||||
; If undefined, <ramp-volume> will be used for both
|
||||
; Only applies if <ramp-volume> is used
|
||||
ramp-headphones-0 =
|
||||
ramp-headphones-1 =
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/brightness]
|
||||
type = internal/xbacklight
|
||||
|
||||
; Use the following command to list available cards:
|
||||
; $ ls -1 /sys/class/backlight/
|
||||
card = intel_backlight
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
; <ramp>
|
||||
; <bar>
|
||||
format = <ramp> <bar>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
label = %percentage%%
|
||||
|
||||
; Only applies if <ramp> is used
|
||||
|
||||
ramp-0 =
|
||||
ramp-1 =
|
||||
ramp-2 =
|
||||
ramp-3 =
|
||||
ramp-4 =
|
||||
|
||||
;; Other Icons
|
||||
;
|
||||
|
||||
; Only applies if <bar> is used
|
||||
bar-width = 10
|
||||
bar-gradient = false
|
||||
|
||||
bar-indicator =
|
||||
bar-indicator-foreground = ${color.bi}
|
||||
bar-indicator-font = 2
|
||||
|
||||
bar-fill = ━
|
||||
bar-foreground-0 = ${color.bn}
|
||||
bar-foreground-1 = ${color.bn}
|
||||
bar-foreground-2 = ${color.bn}
|
||||
bar-foreground-3 = ${color.bm}
|
||||
bar-foreground-4 = ${color.bm}
|
||||
bar-foreground-5 = ${color.bd}
|
||||
bar-foreground-6 = ${color.bd}
|
||||
bar-foreground-7 = ${color.bd}
|
||||
bar-foreground-8 = ${color.bd}
|
||||
bar-fill-font = 2
|
||||
|
||||
bar-empty = ┉
|
||||
bar-empty-foreground = ${color.be}
|
||||
bar-empty-font = 2
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/battery_bar]
|
||||
type = internal/battery
|
||||
|
||||
; This is useful in case the battery never reports 100% charge
|
||||
full-at = 99
|
||||
|
||||
; Use the following command to list batteries and adapters:
|
||||
; $ ls -1 /sys/class/power_supply/
|
||||
battery = BAT1
|
||||
adapter = ACAD
|
||||
|
||||
; If an inotify event haven't been reported in this many
|
||||
; seconds, manually poll for new values.
|
||||
;
|
||||
; Needed as a fallback for systems that don't report events
|
||||
; on sysfs/procfs.
|
||||
;
|
||||
; Disable polling by setting the interval to 0.
|
||||
;
|
||||
; Default: 5
|
||||
poll-interval = 2
|
||||
|
||||
; see "man date" for details on how to format the time string
|
||||
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
||||
; Default: %H:%M:%S
|
||||
time-format = %H:%M
|
||||
|
||||
; Available tags:
|
||||
; <label-charging> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; <animation-charging>
|
||||
format-charging = <bar-capacity>
|
||||
format-charging-prefix = " "
|
||||
|
||||
; Available tags:
|
||||
; <label-discharging> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; <animation-discharging>
|
||||
format-discharging = <bar-capacity>
|
||||
format-discharging-prefix = " "
|
||||
|
||||
; Available tags:
|
||||
; <label-full> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
;format-full = <ramp-capacity> <label-full>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
; %time%
|
||||
; %consumption% (shows current charge rate in watts)
|
||||
|
||||
label-charging = %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
; %time%
|
||||
; %consumption% (shows current discharge rate in watts)
|
||||
label-discharging = %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
label-full = Fully Charged
|
||||
|
||||
; Only applies if <bar-capacity> is used
|
||||
bar-capacity-width = 10
|
||||
bar-capacity-gradient = false
|
||||
|
||||
bar-capacity-indicator =
|
||||
bar-capacity-indicator-foreground = ${color.bi}
|
||||
bar-capacity-indicator-font = 2
|
||||
|
||||
bar-capacity-fill = ━
|
||||
bar-capacity-foreground-0 = ${color.bd}
|
||||
bar-capacity-foreground-1 = ${color.bd}
|
||||
bar-capacity-foreground-2 = ${color.bd}
|
||||
bar-capacity-foreground-3 = ${color.bm}
|
||||
bar-capacity-foreground-4 = ${color.bm}
|
||||
bar-capacity-foreground-5 = ${color.bm}
|
||||
bar-capacity-foreground-6 = ${color.bm}
|
||||
bar-capacity-foreground-7 = ${color.bn}
|
||||
bar-capacity-foreground-8 = ${color.bn}
|
||||
bar-capacity-fill-font = 2
|
||||
|
||||
bar-capacity-empty = ┉
|
||||
bar-capacity-empty-foreground = ${color.be}
|
||||
bar-capacity-empty-font = 2
|
||||
|
||||
; Only applies if <ramp-capacity> is used
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-5 =
|
||||
ramp-capacity-6 =
|
||||
ramp-capacity-7 =
|
||||
ramp-capacity-8 =
|
||||
ramp-capacity-9 =
|
||||
|
||||
; Only applies if <animation-charging> is used
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-5 =
|
||||
animation-charging-6 =
|
||||
animation-charging-7 =
|
||||
animation-charging-8 =
|
||||
|
||||
; Framerate in milliseconds
|
||||
animation-charging-framerate = 750
|
||||
|
||||
; Only applies if <animation-discharging> is used
|
||||
;;animation-discharging-0 =
|
||||
;;animation-discharging-1 =
|
||||
;;animation-discharging-2 =
|
||||
;;animation-discharging-3 =
|
||||
;;animation-discharging-4 =
|
||||
;;animation-discharging-5 =
|
||||
;;animation-discharging-6 =
|
||||
;;animation-discharging-7 =
|
||||
;;animation-discharging-8 =
|
||||
|
||||
; Framerate in milliseconds
|
||||
;animation-discharging-framerate = 500
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/cpu_bar]
|
||||
type = internal/cpu
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 0.5
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
; <bar-load>
|
||||
; <ramp-load>
|
||||
; <ramp-coreload>
|
||||
;;format = <label> <ramp-coreload>
|
||||
format = <bar-load> <label>
|
||||
format-prefix = " "
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - total cpu load averaged over all cores
|
||||
; %percentage-sum% - Cumulative load on all cores
|
||||
; %percentage-cores% - load percentage for each core
|
||||
; %percentage-core[1-9]% - load percentage for specific core
|
||||
label = "%percentage%%"
|
||||
|
||||
; Only applies if <bar-load> is used
|
||||
bar-load-width = 10
|
||||
bar-load-gradient = false
|
||||
|
||||
bar-load-indicator =
|
||||
bar-load-indicator-foreground = ${color.bi}
|
||||
bar-load-indicator-font = 2
|
||||
|
||||
bar-load-fill = ━
|
||||
bar-load-foreground-0 = ${color.bn}
|
||||
bar-load-foreground-1 = ${color.bn}
|
||||
bar-load-foreground-2 = ${color.bn}
|
||||
bar-load-foreground-3 = ${color.bm}
|
||||
bar-load-foreground-4 = ${color.bm}
|
||||
bar-load-foreground-5 = ${color.bm}
|
||||
bar-load-foreground-6 = ${color.bd}
|
||||
bar-load-foreground-7 = ${color.bd}
|
||||
bar-load-foreground-8 = ${color.bd}
|
||||
bar-load-fill-font = 2
|
||||
|
||||
bar-load-empty = ┉
|
||||
bar-load-empty-foreground = ${color.be}
|
||||
bar-load-empty-font = 2
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/filesystem_bar]
|
||||
type = internal/fs
|
||||
|
||||
; Mountpoints to display
|
||||
mount-0 = /
|
||||
;;mount-1 = /home
|
||||
;;mount-2 = /var
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 30
|
||||
interval = 10
|
||||
|
||||
; Display fixed precision values
|
||||
; Default: false
|
||||
fixed-values = false
|
||||
|
||||
; Spacing between entries
|
||||
; Default: 2
|
||||
;;spacing = 4
|
||||
|
||||
; Available tags:
|
||||
; <label-mounted> (default)
|
||||
; <bar-free>
|
||||
; <bar-used>
|
||||
; <ramp-capacity>
|
||||
format-mounted = <bar-used> <label-mounted>
|
||||
format-mounted-prefix = " "
|
||||
|
||||
; Available tags:
|
||||
; <label-unmounted> (default)
|
||||
;;format-unmounted = <label-unmounted>
|
||||
;;format-unmounted-prefix =
|
||||
|
||||
; Available tokens:
|
||||
; %mountpoint%
|
||||
; %type%
|
||||
; %fsname%
|
||||
; %percentage_free%
|
||||
; %percentage_used%
|
||||
; %total%
|
||||
; %free%
|
||||
; %used%
|
||||
; Default: %mountpoint% %percentage_free%%
|
||||
label-mounted = %used%/%total%
|
||||
|
||||
; Available tokens:
|
||||
; %mountpoint%
|
||||
; Default: %mountpoint% is not mounted
|
||||
;;label-unmounted = %mountpoint%: not mounted
|
||||
|
||||
; Only applies if <bar-used> is used
|
||||
bar-used-width = 10
|
||||
bar-used-gradient = false
|
||||
|
||||
bar-used-indicator =
|
||||
bar-used-indicator-foreground = ${color.bi}
|
||||
bar-used-indicator-font = 2
|
||||
|
||||
bar-used-fill = ━
|
||||
bar-used-foreground-0 = ${color.bn}
|
||||
bar-used-foreground-1 = ${color.bn}
|
||||
bar-used-foreground-2 = ${color.bn}
|
||||
bar-used-foreground-3 = ${color.bn}
|
||||
bar-used-foreground-4 = ${color.bn}
|
||||
bar-used-foreground-5 = ${color.bm}
|
||||
bar-used-foreground-6 = ${color.bm}
|
||||
bar-used-foreground-7 = ${color.bd}
|
||||
bar-used-foreground-8 = ${color.bd}
|
||||
bar-used-fill-font = 2
|
||||
|
||||
bar-used-empty = ┉
|
||||
bar-used-empty-foreground = ${color.be}
|
||||
bar-used-empty-font = 2
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/memory_bar]
|
||||
type = internal/memory
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 2
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
; <bar-used>
|
||||
; <bar-free>
|
||||
; <ramp-used>
|
||||
; <ramp-free>
|
||||
; <bar-swap-used>
|
||||
; <bar-swap-free>
|
||||
; <ramp-swap-used>
|
||||
; <ramp-swap-free>
|
||||
format = <bar-used> <label>
|
||||
format-prefix = " "
|
||||
|
||||
; Available tokens:
|
||||
; %percentage_used% (default)
|
||||
; %percentage_free%
|
||||
; %gb_used%
|
||||
; %gb_free%
|
||||
; %gb_total%
|
||||
; %mb_used%
|
||||
; %mb_free%
|
||||
; %mb_total%
|
||||
; %percentage_swap_used%
|
||||
; %percentage_swap_free%
|
||||
; %mb_swap_total%
|
||||
; %mb_swap_free%
|
||||
; %mb_swap_used%
|
||||
; %gb_swap_total%
|
||||
; %gb_swap_free%
|
||||
; %gb_swap_used%
|
||||
|
||||
label = "%mb_used%"
|
||||
|
||||
; Only applies if <bar-used> is used
|
||||
bar-used-width = 10
|
||||
bar-used-gradient = false
|
||||
|
||||
bar-used-indicator =
|
||||
bar-used-indicator-foreground = ${color.bi}
|
||||
bar-used-indicator-font = 2
|
||||
|
||||
bar-used-fill = ━
|
||||
bar-used-foreground-0 = ${color.bn}
|
||||
bar-used-foreground-1 = ${color.bn}
|
||||
bar-used-foreground-2 = ${color.bn}
|
||||
bar-used-foreground-3 = ${color.bm}
|
||||
bar-used-foreground-4 = ${color.bm}
|
||||
bar-used-foreground-5 = ${color.bm}
|
||||
bar-used-foreground-6 = ${color.bd}
|
||||
bar-used-foreground-7 = ${color.bd}
|
||||
bar-used-foreground-8 = ${color.bd}
|
||||
bar-used-fill-font = 2
|
||||
|
||||
bar-used-empty = ┉
|
||||
bar-used-empty-foreground = ${color.be}
|
||||
bar-used-empty-font = 2
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/mpd_bar]
|
||||
type = internal/mpd
|
||||
|
||||
; Host where mpd is running (either ip or domain name)
|
||||
; Can also be the full path to a unix socket where mpd is running.
|
||||
;;host = 127.0.0.1
|
||||
;;port = 6600
|
||||
;;password = mysecretpassword
|
||||
|
||||
; Seconds to sleep between progressbar/song timer sync
|
||||
; Default: 1
|
||||
interval = 1
|
||||
|
||||
; Available tags:
|
||||
; <label-song> (default)
|
||||
; <label-time>
|
||||
; <bar-progress>
|
||||
; <toggle> - gets replaced with <icon-(pause|play)>
|
||||
; <toggle-stop> - gets replaced with <icon-(stop|play)>
|
||||
; <icon-random>
|
||||
; <icon-repeat>
|
||||
; <icon-repeatone> (deprecated)
|
||||
; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
|
||||
; <icon-consume>
|
||||
; <icon-prev>
|
||||
; <icon-stop>
|
||||
; <icon-play>
|
||||
; <icon-pause>
|
||||
; <icon-next>
|
||||
; <icon-seekb>
|
||||
; <icon-seekf>
|
||||
format-online = <label-song> <bar-progress> <label-time>
|
||||
|
||||
;format-playing = ${self.format-online}
|
||||
;format-paused = ${self.format-online}
|
||||
;format-stopped = ${self.format-online}
|
||||
|
||||
; Available tags:
|
||||
; <label-offline>
|
||||
;format-offline = <label-offline>
|
||||
|
||||
; Available tokens:
|
||||
; %artist%
|
||||
; %album-artist%
|
||||
; %album%
|
||||
; %date%
|
||||
; %title%
|
||||
; Default: %artist% - %title%
|
||||
label-song = "%title%"
|
||||
label-song-maxlen = 25
|
||||
label-song-ellipsis = true
|
||||
|
||||
; Available tokens:
|
||||
; %elapsed%
|
||||
; %total%
|
||||
; Default: %elapsed% / %total%
|
||||
;;abel-time = %elapsed% / %total%
|
||||
|
||||
; Available tokens:
|
||||
; None
|
||||
label-offline = "mpd is offline"
|
||||
|
||||
; Only applies if <icon-X> is used
|
||||
icon-play =
|
||||
icon-pause =
|
||||
icon-stop =
|
||||
icon-prev =
|
||||
icon-next =
|
||||
icon-seekb = ⏪
|
||||
icon-seekf = ⏩
|
||||
icon-random = 🔀
|
||||
icon-repeat = 🔁
|
||||
icon-repeatone = 🔂
|
||||
icon-single = 🔂
|
||||
icon-consume = ✀
|
||||
|
||||
; Used to display the state of random/repeat/repeatone/single
|
||||
; Only applies if <icon-[random|repeat|repeatone|single]> is used
|
||||
;;toggle-on-foreground = #ff
|
||||
;;toggle-off-foreground = #55
|
||||
|
||||
; Only applies if <bar-progress> is used
|
||||
bar-progress-width = 10
|
||||
bar-progress-gradient = true
|
||||
|
||||
bar-progress-indicator =
|
||||
bar-progress-indicator-foreground = ${color.bi}
|
||||
bar-progress-indicator-font = 2
|
||||
|
||||
bar-progress-fill = ━
|
||||
bar-progress-foreground-0 = ${color.bn}
|
||||
bar-progress-foreground-1 = ${color.bn}
|
||||
bar-progress-foreground-2 = ${color.bn}
|
||||
bar-progress-foreground-3 = ${color.bm}
|
||||
bar-progress-foreground-4 = ${color.bm}
|
||||
bar-progress-foreground-5 = ${color.bm}
|
||||
bar-progress-foreground-6 = ${color.bd}
|
||||
bar-progress-foreground-7 = ${color.bd}
|
||||
bar-progress-foreground-8 = ${color.bd}
|
||||
bar-progress-fill-font = 2
|
||||
|
||||
bar-progress-empty = ┉
|
||||
bar-progress-empty-foreground = ${color.be}
|
||||
bar-progress-empty-font = 2
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
@@ -1,254 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ______ __
|
||||
;; / ____/___ / /___ __________
|
||||
;; / / / __ \/ / __ \/ ___/ ___/
|
||||
;; / /___/ /_/ / / /_/ / / (__ )
|
||||
;; \____/\____/_/\____/_/ /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[color]
|
||||
|
||||
;; Active Colors
|
||||
bg = #252525
|
||||
fg = #f5f5f5
|
||||
ac = #fb8c00
|
||||
mf = #f5f5f5
|
||||
|
||||
;; Bars
|
||||
bi = #fb8c00
|
||||
be = #fb8c00
|
||||
bf = #43a047
|
||||
bn = #43a047
|
||||
bm = #fdd835
|
||||
bd = #e53935
|
||||
|
||||
trans = #00000000
|
||||
white = #FFFFFF
|
||||
black = #000000
|
||||
|
||||
;; Material Colors
|
||||
|
||||
red = #e53935
|
||||
pink = #d81b60
|
||||
purple = #8e24aa
|
||||
deep-purple = #5e35b1
|
||||
indigo = #3949ab
|
||||
blue = #1e88e5
|
||||
light-blue = #039be5
|
||||
cyan = #00acc1
|
||||
teal = #00897b
|
||||
green = #43a047
|
||||
light-green = #7cb342
|
||||
lime = #c0ca33
|
||||
yellow = #fdd835
|
||||
amber = #ffb300
|
||||
orange = #fb8c00
|
||||
deep-orange = #f4511e
|
||||
brown = #6d4c41
|
||||
grey = #757575
|
||||
blue-gray = #546e7a
|
||||
|
||||
;; Material Colors Shades
|
||||
|
||||
; Amber
|
||||
amshade1 = #FF6F00
|
||||
amshade2 = #FF8F00
|
||||
amshade3 = #FFA000
|
||||
amshade4 = #FFB300
|
||||
amshade5 = #FFC107
|
||||
amshade6 = #FFCA28
|
||||
amshade7 = #FFD54F
|
||||
amshade8 = #FFE082
|
||||
|
||||
; Blue
|
||||
blshade1 = #0D47A1
|
||||
blshade2 = #1565C0
|
||||
blshade3 = #1976D2
|
||||
blshade4 = #1E88E5
|
||||
blshade5 = #2196F3
|
||||
blshade6 = #42A5F5
|
||||
blshade7 = #64B5F6
|
||||
blshade8 = #90CAF9
|
||||
|
||||
; Blue-Grey
|
||||
bgshade1 = #263238
|
||||
bgshade2 = #37474F
|
||||
bgshade3 = #455A64
|
||||
bgshade4 = #546E7A
|
||||
bgshade5 = #607D8B
|
||||
bgshade6 = #78909C
|
||||
bgshade7 = #90A4AE
|
||||
bgshade8 = #B0BEC5
|
||||
|
||||
; Brown
|
||||
brshade1 = #3E2723
|
||||
brshade2 = #4E342E
|
||||
brshade3 = #5D4037
|
||||
brshade4 = #6D4C41
|
||||
brshade5 = #795548
|
||||
brshade6 = #8D6E63
|
||||
brshade7 = #A1887F
|
||||
brshade8 = #BCAAA4
|
||||
|
||||
; Cyan
|
||||
cyshade1 = #006064
|
||||
cyshade2 = #00838F
|
||||
cyshade3 = #0097A7
|
||||
cyshade4 = #00ACC1
|
||||
cyshade5 = #00BCD4
|
||||
cyshade6 = #26C6DA
|
||||
cyshade7 = #4DD0E1
|
||||
cyshade8 = #80DEEA
|
||||
|
||||
; Deep-Orange
|
||||
doshade1 = #BF360C
|
||||
doshade2 = #D84315
|
||||
doshade3 = #E64A19
|
||||
doshade4 = #F4511E
|
||||
doshade5 = #FF5722
|
||||
doshade6 = #FF7043
|
||||
doshade7 = #FF8A65
|
||||
doshade8 = #FFAB91
|
||||
|
||||
; Deep-Purple
|
||||
dpshade1 = #311B92
|
||||
dpshade2 = #4527A0
|
||||
dpshade3 = #512DA8
|
||||
dpshade4 = #5E35B1
|
||||
dpshade5 = #673AB7
|
||||
dpshade6 = #7E57C2
|
||||
dpshade7 = #9575CD
|
||||
dpshade8 = #B39DDB
|
||||
|
||||
; Green
|
||||
grshade1 = #1B5E20
|
||||
grshade2 = #2E7D32
|
||||
grshade3 = #388E3C
|
||||
grshade4 = #43A047
|
||||
grshade5 = #4CAF50
|
||||
grshade6 = #66BB6A
|
||||
grshade7 = #81C784
|
||||
grshade8 = #A5D6A7
|
||||
|
||||
; Grey
|
||||
greshade1 = #212121
|
||||
greshade2 = #424242
|
||||
greshade3 = #616161
|
||||
greshade4 = #757575
|
||||
greshade5 = #9E9E9E
|
||||
greshade6 = #BDBDBD
|
||||
greshade7 = #D4D4D4
|
||||
greshade8 = #EEEEEE
|
||||
|
||||
; Indigo
|
||||
inshade1 = #1A237E
|
||||
inshade2 = #283593
|
||||
inshade3 = #303F9F
|
||||
inshade4 = #3949AB
|
||||
inshade5 = #3F51B5
|
||||
inshade6 = #5C6BC0
|
||||
inshade7 = #7986CB
|
||||
inshade8 = #9FA8DA
|
||||
|
||||
; Light-Blue
|
||||
lbshade1 = #01579B
|
||||
lbshade2 = #0277BD
|
||||
lbshade3 = #0288D1
|
||||
lbshade4 = #039BE5
|
||||
lbshade5 = #03A9F4
|
||||
lbshade6 = #29B6F6
|
||||
lbshade7 = #4FC3F7
|
||||
lbshade8 = #81D4FA
|
||||
|
||||
; Light-Green
|
||||
lgshade1 = #33691E
|
||||
lgshade2 = #558B2F
|
||||
lgshade3 = #689F38
|
||||
lgshade4 = #7CB342
|
||||
lgshade5 = #8BC34A
|
||||
lgshade6 = #9CCC65
|
||||
lgshade7 = #AED581
|
||||
lgshade8 = #C5E1A5
|
||||
|
||||
; Lime
|
||||
lishade1 = #827717
|
||||
lishade2 = #9E9D24
|
||||
lishade3 = #AFB42B
|
||||
lishade4 = #C0CA33
|
||||
lishade5 = #CDDC39
|
||||
lishade6 = #D4E157
|
||||
lishade7 = #DCE775
|
||||
lishade8 = #E6EE9C
|
||||
|
||||
; Orange
|
||||
orshade1 = #E65100
|
||||
orshade2 = #EF6C00
|
||||
orshade3 = #F57C00
|
||||
orshade4 = #FB8C00
|
||||
orshade5 = #FF9800
|
||||
orshade6 = #FFA726
|
||||
orshade7 = #FFB74D
|
||||
orshade8 = #FFCC80
|
||||
|
||||
; Pink
|
||||
pishade1 = #880E4F
|
||||
pishade2 = #AD1457
|
||||
pishade3 = #C2185B
|
||||
pishade4 = #D81B60
|
||||
pishade5 = #E91E63
|
||||
pishade6 = #EC407A
|
||||
pishade7 = #F06292
|
||||
pishade8 = #F48FB1
|
||||
|
||||
; Purple
|
||||
prshade1 = #4A148C
|
||||
prshade2 = #6A1B9A
|
||||
prshade3 = #7B1FA2
|
||||
prshade4 = #8E24AA
|
||||
prshade5 = #9C27B0
|
||||
prshade6 = #AB47BC
|
||||
prshade7 = #BA68C8
|
||||
prshade8 = #CE93D8
|
||||
|
||||
; Red
|
||||
reshade1 = #B71C1C
|
||||
reshade2 = #C62828
|
||||
reshade3 = #D32F2F
|
||||
reshade4 = #E53935
|
||||
reshade5 = #EE413D
|
||||
reshade6 = #EF5350
|
||||
reshade7 = #E57373
|
||||
reshade8 = #EF9A9A
|
||||
|
||||
; Teal
|
||||
teshade1 = #004D40
|
||||
teshade2 = #00695C
|
||||
teshade3 = #00796B
|
||||
teshade4 = #00897B
|
||||
teshade5 = #009688
|
||||
teshade6 = #26A69A
|
||||
teshade7 = #4DB6AC
|
||||
teshade8 = #80CBC4
|
||||
|
||||
; Yellow
|
||||
yeshade1 = #F57F17
|
||||
yeshade2 = #F9A825
|
||||
yeshade3 = #FBC02D
|
||||
yeshade4 = #FDD835
|
||||
yeshade5 = #FFEB3B
|
||||
yeshade6 = #FFEE58
|
||||
yeshade7 = #FFF176
|
||||
yeshade8 = #FFF59D
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
@@ -1,335 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor = ${env:MONITOR:}
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = true
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 100%
|
||||
height = 23
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
; offset-x = 1%
|
||||
; offset-y = 2%:-3
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-bottom-size = 0
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 0
|
||||
module-margin-right = 1
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "MesloLGS NF:size=10;2"
|
||||
font-1 = "icomoon\-feather:size=13;2"
|
||||
font-2 = "xos4 Terminus:size=12;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-left = cpu cpu_temp memory filesystem
|
||||
modules-center = title
|
||||
modules-right = pulseaudio mic_status network public_ip date
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = left
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
;tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
#format-foreground =
|
||||
#format-background =
|
||||
#format-underline =
|
||||
#format-overline =
|
||||
#format-spacing =
|
||||
#format-padding =
|
||||
#format-margin =
|
||||
#format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -1,335 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor = ${env:MONITOR:}
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 100%
|
||||
height = 46
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
; offset-x = 1%
|
||||
; offset-y = 2%:-3
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-bottom-size = 0
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 0
|
||||
module-margin-right = 1
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "MesloLGS NF:size=20;2"
|
||||
font-1 = "icomoon\-feather:size=23;2"
|
||||
font-2 = "xos4 Terminus:size=22;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-left = cpu cpu_temp memory filesystem
|
||||
modules-center = title
|
||||
modules-right = pulseaudio mic_status network public_ip battery date
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = left
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
;tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -1,335 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor = ${env:MONITOR:}
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 100%
|
||||
height = 30
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
; offset-x = 1%
|
||||
; offset-y = 2%:-3
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-bottom-size = 0
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 0
|
||||
module-margin-right = 1
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "MesloLGS NF:size=13;2"
|
||||
font-1 = "icomoon\-feather:size=16;2"
|
||||
font-2 = "xos4 Terminus:size=15;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-left = workspaces cpu cpu_temp memory filesystem
|
||||
modules-center = title
|
||||
modules-right = pulseaudio mic_status network public_ip battery date
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = left
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
;tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -1,335 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor = ${env:MONITOR:}
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 100%
|
||||
height = 20
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
; offset-x = 1%
|
||||
; offset-y = 2%:-3
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-bottom-size = 0
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 0
|
||||
module-margin-right = 1
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "MesloLGS NF:size=10;2"
|
||||
font-1 = "icomoon\-feather:size=13;2"
|
||||
font-2 = "xos4 Terminus:size=12;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-left = cpu cpu_temp memory filesystem
|
||||
modules-center = title
|
||||
modules-right = pulseaudio mic_status network public_ip battery date
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = left
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
;tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,17 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
## Add this to your wm startup file.
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
if type "xrandr"; then
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload -c ~/.config/polybar/config.ini main &
|
||||
done
|
||||
else
|
||||
polybar --reload -c ~/.config/polybar/config.ini main &
|
||||
fi
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
count=0
|
||||
disconnected=""
|
||||
wireless_connected=""
|
||||
ethernet_connected=""
|
||||
|
||||
ID="$(ip link | awk '/state UP/ {print $2}')"
|
||||
|
||||
while true; do
|
||||
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
|
||||
if [[ $ID == e* ]]; then
|
||||
echo "$ethernet_connected" ; sleep 25
|
||||
else
|
||||
echo "$wireless_connected" ; sleep 25
|
||||
fi
|
||||
else
|
||||
echo "$disconnected" ; sleep 0.5
|
||||
fi
|
||||
done
|
||||
@@ -1,117 +0,0 @@
|
||||
#!/usr/bin/bash
|
||||
#
|
||||
# checkupdates: Safely print a list of pending updates.
|
||||
#
|
||||
# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
declare -r myname='checkupdates'
|
||||
declare -r myver='1.0.0'
|
||||
|
||||
plain() {
|
||||
(( QUIET )) && return
|
||||
local mesg=$1; shift
|
||||
printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
|
||||
}
|
||||
|
||||
msg() {
|
||||
(( QUIET )) && return
|
||||
local mesg=$1; shift
|
||||
printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
|
||||
}
|
||||
|
||||
msg2() {
|
||||
(( QUIET )) && return
|
||||
local mesg=$1; shift
|
||||
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
|
||||
}
|
||||
|
||||
ask() {
|
||||
local mesg=$1; shift
|
||||
printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1
|
||||
}
|
||||
|
||||
warning() {
|
||||
local mesg=$1; shift
|
||||
printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
|
||||
}
|
||||
|
||||
error() {
|
||||
local mesg=$1; shift
|
||||
printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
|
||||
}
|
||||
|
||||
# check if messages are to be printed using color
|
||||
unset ALL_OFF BOLD BLUE GREEN RED YELLOW
|
||||
if [[ -t 2 && ! $USE_COLOR = "n" ]]; then
|
||||
# prefer terminal safe colored and bold text when tput is supported
|
||||
if tput setaf 0 &>/dev/null; then
|
||||
ALL_OFF="$(tput sgr0)"
|
||||
BOLD="$(tput bold)"
|
||||
BLUE="${BOLD}$(tput setaf 4)"
|
||||
GREEN="${BOLD}$(tput setaf 2)"
|
||||
RED="${BOLD}$(tput setaf 1)"
|
||||
YELLOW="${BOLD}$(tput setaf 3)"
|
||||
else
|
||||
ALL_OFF="\e[1;0m"
|
||||
BOLD="\e[1;1m"
|
||||
BLUE="${BOLD}\e[1;34m"
|
||||
GREEN="${BOLD}\e[1;32m"
|
||||
RED="${BOLD}\e[1;31m"
|
||||
YELLOW="${BOLD}\e[1;33m"
|
||||
fi
|
||||
fi
|
||||
readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
|
||||
|
||||
|
||||
if (( $# > 0 )); then
|
||||
echo "${myname} v${myver}"
|
||||
echo
|
||||
echo "Safely print a list of pending updates"
|
||||
echo
|
||||
echo "Usage: ${myname}"
|
||||
echo
|
||||
echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! type -P fakeroot >/dev/null; then
|
||||
error 'Cannot find the fakeroot binary.'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z $CHECKUPDATES_DB ]]; then
|
||||
CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/"
|
||||
fi
|
||||
|
||||
trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT
|
||||
|
||||
DBPath="$(pacman-conf DBPath)"
|
||||
if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then
|
||||
DBPath="/var/lib/pacman/"
|
||||
fi
|
||||
|
||||
mkdir -p "$CHECKUPDATES_DB"
|
||||
ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null
|
||||
if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then
|
||||
error 'Cannot fetch updates'
|
||||
exit 1
|
||||
fi
|
||||
pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]'
|
||||
|
||||
exit 0
|
||||
|
||||
# vim: set noet:
|
||||
@@ -1,50 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Github : adi1090x
|
||||
|
||||
SDIR="$HOME/.config/polybar/scripts"
|
||||
|
||||
MENU="$(rofi -sep "|" -dmenu -i -p 'Select' -location 5 -columns 1 -xoffset -240 -yoffset -52 -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 10 <<< " amber| blue| blue-grey| brown| cyan| deep-orange| deep-purple| green| grey| indigo| light-blue| light-green| lime| orange| pink| purple| red| teal| yellow| amber-dark| blue-dark| blue-grey-dark| brown-dark| cyan-dark| deep-orange-dark| deep-purple-dark| green-dark| grey-dark| indigo-dark| light-blue-dark| light-green-dark| lime-dark| orange-dark| pink-dark| purple-dark| red-dark| teal-dark| yellow-dark")"
|
||||
case "$MENU" in
|
||||
## Light Colors
|
||||
*amber) $SDIR/colors-light.sh -amber ;;
|
||||
*blue) $SDIR/colors-light.sh -blue ;;
|
||||
*blue-grey) $SDIR/colors-light.sh -blue-grey ;;
|
||||
*brown) $SDIR/colors-light.sh -brown ;;
|
||||
*cyan) $SDIR/colors-light.sh -cyan ;;
|
||||
*deep-orange) $SDIR/colors-light.sh -deep-orange ;;
|
||||
*deep-purple) $SDIR/colors-light.sh -deep-purple ;;
|
||||
*green) $SDIR/colors-light.sh -green ;;
|
||||
*grey) $SDIR/colors-light.sh -grey ;;
|
||||
*indigo) $SDIR/colors-light.sh -indigo ;;
|
||||
*light-blue) $SDIR/colors-light.sh -light-blue ;;
|
||||
*light-green) $SDIR/colors-light.sh -light-green ;;
|
||||
*lime) $SDIR/colors-light.sh -lime ;;
|
||||
*orange) $SDIR/colors-light.sh -orange ;;
|
||||
*pink) $SDIR/colors-light.sh -pink ;;
|
||||
*purple) $SDIR/colors-light.sh -purple ;;
|
||||
*red) $SDIR/colors-light.sh -red ;;
|
||||
*teal) $SDIR/colors-light.sh -teal ;;
|
||||
*yellow) $SDIR/colors-light.sh -yellow ;;
|
||||
## Dark Colors
|
||||
*amber-dark) $SDIR/colors-dark.sh -amber ;;
|
||||
*blue-dark) $SDIR/colors-dark.sh -blue ;;
|
||||
*blue-grey-dark) $SDIR/colors-dark.sh -blue-grey ;;
|
||||
*brown-dark) $SDIR/colors-dark.sh -brown ;;
|
||||
*cyan-dark) $SDIR/colors-dark.sh -cyan ;;
|
||||
*deep-orange-dark) $SDIR/colors-dark.sh -deep-orange ;;
|
||||
*deep-purple-dark) $SDIR/colors-dark.sh -deep-purple ;;
|
||||
*green-dark) $SDIR/colors-dark.sh -green ;;
|
||||
*grey-dark) $SDIR/colors-dark.sh -grey ;;
|
||||
*indigo-dark) $SDIR/colors-dark.sh -indigo ;;
|
||||
*light-blue-dark) $SDIR/colors-dark.sh -light-blue ;;
|
||||
*light-green-dark) $SDIR/colors-dark.sh -light-green ;;
|
||||
*lime-dark) $SDIR/colors-dark.sh -lime ;;
|
||||
*orange-dark) $SDIR/colors-dark.sh -orange ;;
|
||||
*pink-dark) $SDIR/colors-dark.sh -pink ;;
|
||||
*purple-dark) $SDIR/colors-dark.sh -purple ;;
|
||||
*red-dark) $SDIR/colors-dark.sh -red ;;
|
||||
*teal-dark) $SDIR/colors-dark.sh -teal ;;
|
||||
*yellow-dark) $SDIR/colors-dark.sh -yellow
|
||||
esac
|
||||
@@ -1,225 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Github : adi1090x
|
||||
|
||||
PDIR="$HOME/.config/polybar"
|
||||
LAUNCH="polybar-msg cmd restart"
|
||||
|
||||
if [[ $1 = "-amber" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #ffb300/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #ffb300/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #ffb300/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #1e88e5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #1e88e5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #1e88e5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #546e7a/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #546e7a/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #546e7a/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-brown" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #6d4c41/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #6d4c41/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #6d4c41/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-cyan" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #00acc1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #00acc1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #00acc1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #f4511e/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #f4511e/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #f4511e/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #5e35b1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #5e35b1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #5e35b1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #43a047/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #43a047/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #43a047/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #757575/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #757575/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #757575/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-indigo" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #3949ab/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #3949ab/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #3949ab/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #039be5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #039be5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #039be5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #7cb342/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #7cb342/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #7cb342/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-lime" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #c0ca33/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #c0ca33/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #c0ca33/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #252525/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #fb8c00/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #fb8c00/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #fb8c00/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-pink" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #d81b60/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #d81b60/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #d81b60/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #8e24aa/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #8e24aa/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #8e24aa/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-red" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #e53935/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #e53935/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #e53935/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-teal" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #00897b/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #00897b/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #00897b/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-yellow" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #fdd835/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #fdd835/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #fdd835/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #252525/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
else
|
||||
echo "Available options:
|
||||
-amber -blue -blue-grey -brown
|
||||
-cyan -deep-orange -deep-purple -green
|
||||
-grey -indigo -light-blue -light-green
|
||||
-lime -orange -pink -purple
|
||||
-red -teal -yellow"
|
||||
fi
|
||||
@@ -1,225 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Github : adi1090x
|
||||
|
||||
PDIR="$HOME/.config/polybar"
|
||||
LAUNCH="polybar-msg cmd restart"
|
||||
|
||||
if [[ $1 = "-amber" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #ffb300/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #ffb300/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #ffb300/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #1e88e5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #1e88e5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #1e88e5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #546e7a/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #546e7a/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #546e7a/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-brown" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #6d4c41/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #6d4c41/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #6d4c41/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-cyan" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #00acc1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #00acc1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #00acc1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #f4511e/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #f4511e/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #f4511e/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #5e35b1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #5e35b1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #5e35b1/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #43a047/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #43a047/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #43a047/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #757575/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #757575/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #757575/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-indigo" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #3949ab/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #3949ab/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #3949ab/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #039be5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #039be5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #039be5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #7cb342/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #7cb342/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #7cb342/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-lime" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #c0ca33/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #c0ca33/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #c0ca33/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #252525/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #fb8c00/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #fb8c00/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #fb8c00/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-pink" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #d81b60/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #d81b60/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #d81b60/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #8e24aa/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #8e24aa/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #8e24aa/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-red" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #e53935/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #e53935/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #e53935/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-teal" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #00897b/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #00897b/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #00897b/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #f5f5f5/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-yellow" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #f5f5f5/g' $PDIR/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #252525/g' $PDIR/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #fdd835/g' $PDIR/colors.ini
|
||||
sed -i -e 's/bi = .*/bi = #fdd835/g' $PDIR/colors.ini
|
||||
sed -i -e 's/be = .*/be = #fdd835/g' $PDIR/colors.ini
|
||||
sed -i -e 's/mf = .*/mf = #252525/g' $PDIR/colors.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
else
|
||||
echo "Available options:
|
||||
-amber -blue -blue-grey -brown
|
||||
-cyan -deep-orange -deep-purple -green
|
||||
-grey -indigo -light-blue -light-green
|
||||
-lime -orange -pink -purple
|
||||
-red -teal -yellow"
|
||||
fi
|
||||
@@ -1,7 +0,0 @@
|
||||
mute=$(pactl list sources | grep -A 10 $(pactl info | grep "Default Source" | cut -f3 -d" ") | grep "Mute: yes" | cut -c1-)
|
||||
if [[ -z $mute ]]; then
|
||||
# echo
|
||||
echo
|
||||
else
|
||||
echo
|
||||
fi
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
rofi -modi run,drun -show drun -location 7 -xoffset 14 -yoffset -52 -line-padding 4 -columns 1 -width 20 -lines 10 -padding 25 -hide-scrollbar -show-icons -drun-icon-theme
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
rofi -modi run,drun -show drun -line-padding 4 -columns 2 -width 40 -padding 30 -hide-scrollbar -show-icons -drun-icon-theme "Papirus"
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
rofi -show run -fullscreen True -lines 5 -line-margin 5 -padding 300 -bw 0
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
termite -e "sudo pacman -Syu"
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
#MENU="$(rofi -sep "|" -dmenu -i -p 'System' -location 5 -xoffset -14 -yoffset -52 -width 10 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
|
||||
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -location 5 -xoffset -14 -yoffset -52 -width 10 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
|
||||
case "$MENU" in
|
||||
*Lock) i3lock-fancy ;;
|
||||
*Logout) openbox --exit;;
|
||||
*Reboot) systemctl reboot ;;
|
||||
*Shutdown) systemctl -i poweroff
|
||||
esac
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 6 <<< " Lock| Logout|Suspend|Hibernate| Reboot| Shutdown")"
|
||||
case "$MENU" in
|
||||
*Lock) light-locker-command -l ;;
|
||||
*Logout) xmonad --exit ;;
|
||||
*Suspend) systemctl suspend;;
|
||||
*Hibernate) systemctl hibernate;;
|
||||
*Shutdown) systemctl -i poweroff ;;
|
||||
*Reboot) systemctl reboot
|
||||
esac
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
rofi -no-lazy-grab -show drun -theme $HOME/.config/polybar/scripts/themes/runner.rasi
|
||||
@@ -1,101 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Reddit : @adi1090x
|
||||
|
||||
## Dirs
|
||||
polybar_path="$HOME/.config/polybar"
|
||||
rofi_path="$HOME/.config/polybar/scripts/themes"
|
||||
|
||||
## Dark Mode #############################################
|
||||
if [[ $1 = "--Dark" ]]; then
|
||||
|
||||
# wallpaper ---------------------------------
|
||||
nitrogen --save --set-zoom-fill $polybar_path/wallpapers/bg_1.jpg
|
||||
|
||||
# polybar ---------------------------------
|
||||
sed -i -e 's/bg = .*/bg = #212B30/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/bg-alt = .*/bg-alt = #5C6F7B/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #C4C7C5/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #4DD0E1/g' $polybar_path/colors.ini
|
||||
|
||||
sed -i -e 's/red = .*/red = #EC7875/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/pink = .*/pink = #EC407A/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/purple = .*/purple = #BA68C8/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/blue = .*/blue = #42A5F5/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/cyan = .*/cyan = #4DD0E1/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/teal = .*/teal = #00B19F/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/green = .*/green = #61C766/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/lime = .*/lime = #B9C244/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/yellow = .*/yellow = #FDD835/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/amber = .*/amber = #FBC02D/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/orange = .*/orange = #E57C46/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/brown = .*/brown = #AC8476/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/indigo = .*/indigo = #6C77BB/g' $polybar_path/colors.ini
|
||||
|
||||
# relaunch polybar
|
||||
polybar-msg cmd restart
|
||||
|
||||
# rofi ---------------------------------
|
||||
sed -i -e 's/background: .*/background: #212B30ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/background-alt: .*/background-alt: #263238ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/foreground: .*/foreground: #C4C7C5ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/border: .*/border: #4DD0E1ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/selected: .*/selected: #4DD0E1ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/urgent: .*/urgent: #EC407Aff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/logo: .*/logo: #EC407Aff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/on: .*/on: #61C766ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/off: .*/off: #EC7875ff;/g' $rofi_path/colors.rasi
|
||||
|
||||
## Light Mode #############################################
|
||||
elif [[ $1 = "--Light" ]]; then
|
||||
|
||||
# wallpaper ---------------------------------
|
||||
nitrogen --save --set-zoom-fill $polybar_path/wallpapers/bg_2.jpg
|
||||
|
||||
# polybar ---------------------------------
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/bg-alt = .*/bg-alt = #CACACA/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/fg = .*/fg = #555555/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/ac = .*/ac = #4DA8B9/g' $polybar_path/colors.ini
|
||||
|
||||
sed -i -e 's/red = .*/red = #F06A6A/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/pink = .*/pink = #EC1850/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/purple = .*/purple = #BA40A0/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/blue = .*/blue = #427DCD/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/cyan = .*/cyan = #4DA8B9/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/teal = .*/teal = #008978/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/green = .*/green = #5CAC30/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/lime = .*/lime = #B9A41C/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/yellow = .*/yellow = #D2A91D/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/amber = .*/amber = #FD890F/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/orange = .*/orange = #EA7222/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/brown = .*/brown = #AC5C4E/g' $polybar_path/colors.ini
|
||||
sed -i -e 's/indigo = .*/indigo = #4759C6/g' $polybar_path/colors.ini
|
||||
|
||||
# relaunch polybar
|
||||
polybar-msg cmd restart
|
||||
|
||||
# rofi ---------------------------------
|
||||
sed -i -e 's/background: .*/background: #ffffffff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/background-alt: .*/background-alt: #e1e1e1ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/foreground: .*/foreground: #555555ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/border: .*/border: #4DA8B9ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/selected: .*/selected: #4DA8B9ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/urgent: .*/urgent: #EC1850ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/logo: .*/logo: #EC1850ff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/on: .*/on: #F06A6Aff;/g' $rofi_path/colors.rasi
|
||||
sed -i -e 's/off: .*/off: #5CAC30ff;/g' $rofi_path/colors.rasi
|
||||
|
||||
## Help Menu #############################################
|
||||
else
|
||||
echo "
|
||||
Style Switcher
|
||||
Developed By - Aditya Shakya (@adi1090x)
|
||||
|
||||
Available options:
|
||||
--Dark --Light
|
||||
"
|
||||
fi
|
||||
@@ -1,13 +0,0 @@
|
||||
/* Color-Scheme For All Themes*/
|
||||
|
||||
* {
|
||||
background: #212B30ff;
|
||||
background-alt: #263238ff;
|
||||
foreground: #C4C7C5ff;
|
||||
border: #4DD0E1ff;
|
||||
selected: #4DD0E1ff;
|
||||
urgent: #EC407Aff;
|
||||
logo: #EC407Aff;
|
||||
on: #61C766ff;
|
||||
off: #EC7875ff;
|
||||
}
|
||||
@@ -1,152 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Reddit : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
font: "scientifica 8";
|
||||
show-icons: false;
|
||||
icon-theme: "Papirus";
|
||||
display-drun: "Search :";
|
||||
drun-display-format: "{name}";
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
disable-history: false;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 0px;
|
||||
height: 33%;
|
||||
width: 30%;
|
||||
location: center;
|
||||
anchor: center;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 4px 4px 6px 6px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "";
|
||||
background-color: @background;
|
||||
text-color: @logo;
|
||||
padding: 4px 0px 0px 8px;
|
||||
font: "feather 8";
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt, entry ];
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px 0px 1px 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
|
||||
entry {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Search";
|
||||
blink: true;
|
||||
padding: 4px 0px 0px 0px;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
columns: 1;
|
||||
spacing: 4px;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 5px;
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
border-radius: 4px;
|
||||
padding: 6px 6px 6px 6px;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 24px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
vertical-align: 0;
|
||||
margin: 2px 0px 2px 2px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground;
|
||||
}
|
||||
@@ -1,152 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Reddit : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
font: "scientifica 8";
|
||||
show-icons: false;
|
||||
icon-theme: "Papirus";
|
||||
display-drun: ":";
|
||||
drun-display-format: "{name}";
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
disable-history: false;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
location: 3;
|
||||
anchor: 3;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 0px;
|
||||
height: 22%;
|
||||
width: 15%;
|
||||
x-offset: -0.8%;
|
||||
y-offset: 5%;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 4px 4px 6px 6px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "";
|
||||
background-color: @background;
|
||||
text-color: @logo;
|
||||
padding: 4px 0px 0px 8px;
|
||||
font: "feather 8";
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px 0px 1px 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
|
||||
entry {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Search";
|
||||
blink: true;
|
||||
padding: 4px 0px 0px 0px;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
columns: 1;
|
||||
spacing: 4px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 5px;
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
border-radius: 4px;
|
||||
padding: 6px 6px 6px 6px;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 24px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
vertical-align: 0;
|
||||
margin: 2px 0px 2px 2px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground;
|
||||
}
|
||||
@@ -1,164 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Reddit : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
font: "scientifica 8";
|
||||
show-icons: false;
|
||||
icon-theme: "Papirus";
|
||||
display-drun: "Search";
|
||||
drun-display-format: "{name}";
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
disable-history: false;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: true;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 0px;
|
||||
height: 28px;
|
||||
width: 100%;
|
||||
location: north;
|
||||
anchor: north;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
children: [ horibox ];
|
||||
}
|
||||
|
||||
horibox {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
children: [ textbox-prompt-colon, prompt, entry, listview ];
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 4px 4px 4px 4px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 4px 4px 4px 4px;
|
||||
background-color: @logo;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "";
|
||||
background-color: @logo;
|
||||
text-color: @background;
|
||||
margin: 0px -2px 0px 0px;
|
||||
padding: 4px 0px 4px 4px;
|
||||
font: "feather 8";
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt, entry ];
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px 0px 0px 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: false;
|
||||
width: 15%;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Search";
|
||||
blink: true;
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
columns: 1;
|
||||
lines: 15;
|
||||
spacing: 4px;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 5px;
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
border-radius: 0px;
|
||||
padding: 5px 5px 4px 5px;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 24px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
vertical-align: 0;
|
||||
margin: 2px 0px 2px 2px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground;
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BAR_ICON=""
|
||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||
|
||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
||||
|
||||
while true; do
|
||||
get_total_updates
|
||||
|
||||
# notify user of updates
|
||||
if hash notify-send &>/dev/null; then
|
||||
if (( UPDATES > 50 )); then
|
||||
notify-send -u critical -i $NOTIFY_ICON \
|
||||
"You really need to update!!" "$UPDATES New packages"
|
||||
elif (( UPDATES > 25 )); then
|
||||
notify-send -u normal -i $NOTIFY_ICON \
|
||||
"You should update soon" "$UPDATES New packages"
|
||||
elif (( UPDATES > 2 )); then
|
||||
notify-send -u low -i $NOTIFY_ICON \
|
||||
"$UPDATES New packages"
|
||||
fi
|
||||
fi
|
||||
|
||||
# when there are updates available
|
||||
# every 10 seconds another check for updates is done
|
||||
while (( UPDATES > 0 )); do
|
||||
if (( UPDATES == 1 )); then
|
||||
echo " $UPDATES Update"
|
||||
elif (( UPDATES > 1 )); then
|
||||
echo " $UPDATES Updates"
|
||||
else
|
||||
echo $BAR_ICON
|
||||
fi
|
||||
sleep 10
|
||||
get_total_updates
|
||||
done
|
||||
|
||||
# when no updates are available, use a longer loop, this saves on CPU
|
||||
# and network uptime, only checking once every 30 min for new updates
|
||||
while (( UPDATES == 0 )); do
|
||||
echo $BAR_ICON
|
||||
sleep 1800
|
||||
get_total_updates
|
||||
done
|
||||
done
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
rofi -modi window -show window -hide-scrollbar -padding 20 -line-padding 4 -width 40 -lines 6
|
||||
@@ -1,38 +0,0 @@
|
||||
[module/previous]
|
||||
type = custom/ipc
|
||||
format-font = 2
|
||||
; Default
|
||||
hook-0 = echo ""
|
||||
; When spotify active
|
||||
hook-1 = echo "Previous"
|
||||
click-left = "spotifyctl -q previous"
|
||||
|
||||
|
||||
[module/next]
|
||||
type = custom/ipc
|
||||
format-font = 2
|
||||
; Default
|
||||
hook-0 = echo ""
|
||||
; When spotify active
|
||||
hook-1 = echo "Next"
|
||||
click-left = "spotifyctl -q next"
|
||||
|
||||
|
||||
[module/playpause]
|
||||
type = custom/ipc
|
||||
format-font = 2
|
||||
; Default
|
||||
hook-0 = echo ""
|
||||
; Playing
|
||||
hook-1 = echo "Pause"
|
||||
; Paused
|
||||
hook-2 = echo "Play"
|
||||
click-left = "spotifyctl -q playpause"
|
||||
|
||||
|
||||
[module/spotify]
|
||||
type = custom/ipc
|
||||
; Default
|
||||
hook-0 = echo ""
|
||||
; Playing/paused show song name and artist
|
||||
hook-1 = spotifyctl -q status --format '%artist%: %title%'
|
||||
@@ -1,335 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor =
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 98%
|
||||
height = 26
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
offset-x = 1%
|
||||
offset-y = 2%:-3
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-top-size = 2
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 10
|
||||
module-margin-right = 10
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "Ubuntu Condensed:size=10;2"
|
||||
font-1 = "icomoon\-feather:size=10;2"
|
||||
font-2 = "xos4 Terminus:size=12;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-left = launcher
|
||||
modules-center = mpd workspaces updates alsa battery backlight checknetwork date
|
||||
modules-right = sysmenu
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = none
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -1,334 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor =
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 98%
|
||||
height = 26
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
offset-x = 1%
|
||||
offset-y = 5%
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-left-size = 2
|
||||
border-right-size = 2
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 6
|
||||
module-margin-right = 6
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "Ubuntu Condensed:size=10;2"
|
||||
font-1 = "icomoon\-feather:size=10;2"
|
||||
font-2 = "xos4 Terminus:size=12;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-center = cpu_bar memory_bar filesystem_bar mpd_bar volume brightness battery_bar
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = none
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -1,335 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor =
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 98%
|
||||
height = 26
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
offset-x = 1%
|
||||
offset-y = 8%
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
overline-size = 2
|
||||
overline-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-bottom-size = 2
|
||||
border-left-size = 2
|
||||
border-right-size = 2
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 0
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 10
|
||||
module-margin-right = 10
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
;;font-0 = "Misc Termsyn:size=12;1"
|
||||
;;font-1 = "Wuncon Siji:size=12;1"
|
||||
|
||||
font-0 = "Ubuntu Condensed:size=10;2"
|
||||
font-1 = "icomoon\-feather:size=10;2"
|
||||
font-2 = "xos4 Terminus:size=12;1"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;memory mpd wired-network
|
||||
;network pulseaudio temperature
|
||||
;keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
modules-center = title network window_switch cpu memory filesystem temperature pulseaudio keyboard menu
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name =
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = none
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -1,342 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Global WM Settings
|
||||
|
||||
[global/wm]
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
||||
; Used for top aligned bars
|
||||
margin-bottom = 0
|
||||
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
||||
; Used for bottom aligned bars
|
||||
margin-top = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; File Inclusion
|
||||
; include an external file, like module file, etc.
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/user_modules.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Bar Settings
|
||||
|
||||
[bar/main]
|
||||
; Use either of the following command to list available outputs:
|
||||
; If unspecified, the application will pick the first one it finds.
|
||||
; $ polybar -m | cut -d ':' -f 1
|
||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor =
|
||||
|
||||
; Use the specified monitor as a fallback if the main one is not found.
|
||||
monitor-fallback =
|
||||
|
||||
; Require the monitor to be in connected state
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
||||
monitor-strict = false
|
||||
|
||||
; Tell the Window Manager not to configure the window.
|
||||
; Use this to detach the bar if your WM is locking its size/position.
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
fixed-center = true
|
||||
|
||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 100%
|
||||
height = 28
|
||||
|
||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in an offset in the x or y direction
|
||||
; of 50% minus 10 pixels
|
||||
offset-x = 0
|
||||
offset-y = 0
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${color.bg}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${color.fg}
|
||||
|
||||
; Background gradient (vertical steps)
|
||||
; background-[0-9]+ = #aarrggbb
|
||||
;;background-0 =
|
||||
|
||||
; Value used for drawing rounded corners
|
||||
; Note: This shouldn't be used together with border-size because the border
|
||||
; doesn't get rounded
|
||||
; Individual top/bottom values can be defined using:
|
||||
; radius-{top,bottom}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
|
||||
; Under-/overline pixel size and argb color
|
||||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
line-size = 2
|
||||
line-color = ${color.ac}
|
||||
|
||||
; Values applied to all borders
|
||||
; Individual side values can be defined using:
|
||||
; border-{left,top,right,bottom}-size
|
||||
; border-{left,top,right,bottom}-color
|
||||
; The top and bottom borders are added to the bar height, so the effective
|
||||
; window height is:
|
||||
; height + border-top-size + border-bottom-size
|
||||
; Meanwhile the effective window width is defined entirely by the width key and
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
border-bottom-size = 0
|
||||
border-color = ${color.ac}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
; padding-{left,right}
|
||||
padding = 2
|
||||
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 1
|
||||
module-margin-right = 1
|
||||
|
||||
; Fonts are defined using <font-name>;<vertical-offset>
|
||||
; Font names are specified using a fontconfig pattern.
|
||||
; font-0 = NotoSans-Regular:size=8;2
|
||||
; font-1 = MaterialIcons:size=10
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
font-0 = "Scientifica:size=8;2"
|
||||
font-1 = "waffle:size=12;2"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
;; Available modules
|
||||
;;
|
||||
;alsa backlight battery
|
||||
;bspwm cpu date
|
||||
;filesystem github i3
|
||||
;subscriber demo memory
|
||||
;menu-apps mpd wired-network
|
||||
;wireless-network network pulseaudio
|
||||
;name_you_want temperature my-text-label
|
||||
;backlight keyboard title workspaces
|
||||
;;
|
||||
;; User modules
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu
|
||||
;;
|
||||
;; Bars
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar
|
||||
;volume brightness battery_bar
|
||||
|
||||
[bar/top]
|
||||
inherit = bar/main
|
||||
offset-x = 0
|
||||
offset-y = 30
|
||||
|
||||
modules-center = mpd sep date sep openbox sep2 cpu sep memory sep filesystem sep battery sep network sep alsa sep backlight sep title sep temperature sep keyboard
|
||||
|
||||
[bar/mid]
|
||||
inherit = bar/main
|
||||
offset-x = 0
|
||||
offset-y = 58
|
||||
|
||||
modules-center = cpu_bar sep memory_bar sep filesystem_bar sep mpd_bar sep volume sep brightness sep battery_bar sep window_switch sep updates sep checknetwork sep launcher sep sysmenu sep menu sep style
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
spacing = 0
|
||||
|
||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
||||
dim-value = 1.0
|
||||
|
||||
; Value to be used to set the WM_NAME atom
|
||||
; If the value is empty or undefined, the atom value
|
||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
||||
; NOTE: The placeholders are not available for custom values
|
||||
wm-name = openbox
|
||||
|
||||
; Locale used to localize various module data (e.g. date)
|
||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
||||
locale =
|
||||
|
||||
; Position of the system tray window
|
||||
; If empty or undefined, tray support will be disabled
|
||||
; NOTE: A center aligned tray will cover center aligned modules
|
||||
;
|
||||
; Available positions:
|
||||
; left
|
||||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = none
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
tray-detached = false
|
||||
|
||||
; Tray icon max size
|
||||
tray-maxsize = 16
|
||||
|
||||
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
|
||||
; Enable pseudo transparency
|
||||
; Will automatically be enabled if a fully transparent
|
||||
; background color is defined using `tray-background`
|
||||
tray-transparent = false
|
||||
|
||||
; Background color for the tray container
|
||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${color.bg}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
|
||||
; Pad the sides of each tray icon
|
||||
tray-padding = 0
|
||||
|
||||
; Scale factor for tray clients
|
||||
tray-scale = 1.0
|
||||
|
||||
; Restack the bar window and put it above the
|
||||
; selected window manager's root
|
||||
;
|
||||
; Fixes the issue where the bar is being drawn
|
||||
; on top of fullscreen window's
|
||||
;
|
||||
; Currently supported WM's:
|
||||
; bspwm
|
||||
; i3 (requires: `override-redirect = true`)
|
||||
; wm-restack =
|
||||
|
||||
; Set a DPI values used when rendering text
|
||||
; This only affects scalable fonts
|
||||
; dpi =
|
||||
|
||||
; Enable support for inter-process messaging
|
||||
; See the Messaging wiki page for more details.
|
||||
enable-ipc = true
|
||||
|
||||
; Fallback click handlers that will be called if
|
||||
; there's no matching module handler found.
|
||||
click-left =
|
||||
click-middle =
|
||||
click-right =
|
||||
scroll-up =
|
||||
scroll-down =
|
||||
double-click-left =
|
||||
double-click-middle =
|
||||
double-click-right =
|
||||
|
||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
||||
; Possible values are:
|
||||
; - default : The default pointer as before, can also be an empty string (default)
|
||||
; - pointer : Typically in the form of a hand
|
||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
||||
cursor-click =
|
||||
cursor-scroll =
|
||||
|
||||
;; WM Workspace Specific
|
||||
|
||||
; bspwm
|
||||
;;scroll-up = bspwm-desknext
|
||||
;;scroll-down = bspwm-deskprev
|
||||
;;scroll-up = bspc desktop -f prev.local
|
||||
;;scroll-down = bspc desktop -f next.local
|
||||
|
||||
;i3
|
||||
;;scroll-up = i3wm-wsnext
|
||||
;;scroll-down = i3wm-wsprev
|
||||
;;scroll-up = i3-msg workspace next_on_output
|
||||
;;scroll-down = i3-msg workspace prev_on_output
|
||||
|
||||
;openbox
|
||||
;awesome
|
||||
;etc
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;; Application Settings
|
||||
|
||||
[settings]
|
||||
; The throttle settings lets the eventloop swallow up til X events
|
||||
; if they happen within Y millisecond after first event was received.
|
||||
; This is done to prevent flood of update event.
|
||||
;
|
||||
; For example if 5 modules emit an update event at the same time, we really
|
||||
; just care about the last one. But if we wait too long for events to swallow
|
||||
; the bar would appear sluggish so we continue if timeout
|
||||
; expires or limit is reached.
|
||||
throttle-output = 5
|
||||
throttle-output-for = 10
|
||||
|
||||
; Time in milliseconds that the input handler will wait between processing events
|
||||
throttle-input-for = 30
|
||||
|
||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
||||
screenchange-reload = false
|
||||
|
||||
; Compositing operators
|
||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
|
||||
; Define fallback values used by all module formats
|
||||
format-foreground =
|
||||
format-background =
|
||||
format-underline =
|
||||
format-overline =
|
||||
format-spacing =
|
||||
format-padding =
|
||||
format-margin =
|
||||
format-offset =
|
||||
|
||||
; Enables pseudo-transparency for the bar
|
||||
; If set to true the bar can be transparent without a compositor.
|
||||
pseudo-transparency = false
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
## Add this to your wm startup file.
|
||||
|
||||
# Terminate already running bar instances
|
||||
#killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
#while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch bar1 and bar2
|
||||
polybar main -c ~/.config/polybar/tester-file-1.ini &
|
||||
polybar main -c ~/.config/polybar/tester-file-2.ini &
|
||||
polybar main -c ~/.config/polybar/tester-file-3.ini
|
||||
@@ -1,326 +0,0 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; __ __ __ ___ __ __
|
||||
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____
|
||||
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/
|
||||
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ )
|
||||
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
[module/public_ip]
|
||||
type = custom/text
|
||||
content=
|
||||
click-left = ip="$(curl -fsS --connect-timeout 3 --max-time 5 https://ifconfig.co/ip)" || exit; case "$ip" in ''|*[!0-9A-Fa-f.:]*) exit 1 ;; esac; notify-send "$ip"; city="$(curl -fsS --connect-timeout 3 --max-time 5 "https://ipinfo.io/${ip}/city")" || exit; notify-send "$city"
|
||||
|
||||
[module/mic_status]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/get_mic_status
|
||||
interval=1
|
||||
label=%output%
|
||||
|
||||
[module/cpu_temp]
|
||||
type = custom/script
|
||||
exec = sensors | awk '/Core/ {printf "%.0f\n", $3}' | tail -n1
|
||||
interval=4
|
||||
label= @ %output%C
|
||||
|
||||
[module/checknetwork]
|
||||
type = custom/script
|
||||
|
||||
; Available tokens:
|
||||
; %counter%
|
||||
; Command to be executed (using "/usr/bin/env sh -c [command]")
|
||||
exec = ~/.config/polybar/scripts/check-network
|
||||
|
||||
; Conditional command that, if defined, needs to exit successfully
|
||||
; before the main exec command is invoked.
|
||||
; Default: ""
|
||||
;;exec-if = ""
|
||||
|
||||
; Will the script output continous content?
|
||||
; Default: false
|
||||
tail = true
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 2 (0 if `tail = true`)
|
||||
interval = 5
|
||||
|
||||
; Available tags:
|
||||
; <output> - deprecated
|
||||
; <label> (default)
|
||||
;;format = <label>
|
||||
;;format-background = #999
|
||||
;;format-foreground = #000
|
||||
;;format-padding = 4
|
||||
|
||||
; Available tokens:
|
||||
; %output%
|
||||
; Default: %output%
|
||||
;;label = %output:0:15:...%
|
||||
|
||||
; Available tokens:
|
||||
; %counter%
|
||||
; %pid%
|
||||
;
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]"
|
||||
click-left = networkmanager_dmenu &
|
||||
click-middle = networkmanager_dmenu &
|
||||
click-right = networkmanager_dmenu &
|
||||
;;double-click-left = echo double left %counter%
|
||||
;;double-click-middle = echo double middle %counter%
|
||||
;;double-click-right = echo double right %counter%
|
||||
|
||||
; Available tokens:
|
||||
; %counter%
|
||||
; %pid%
|
||||
;
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]"
|
||||
;;scroll-up = echo scroll up %counter%
|
||||
;;scroll-down = echo scroll down %counter%
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
|
||||
; Available tokens:
|
||||
; %counter%
|
||||
; Command to be executed (using "/usr/bin/env sh -c [command]")
|
||||
exec = ~/.config/polybar/scripts/updates.sh
|
||||
|
||||
; Conditional command that, if defined, needs to exit successfully
|
||||
; before the main exec command is invoked.
|
||||
; Default: ""
|
||||
;;exec-if = ""
|
||||
|
||||
; Will the script output continous content?
|
||||
; Default: false
|
||||
tail = true
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 2 (0 if `tail = true`)
|
||||
interval = 5
|
||||
|
||||
; Available tags:
|
||||
; <output> - deprecated
|
||||
; <label> (default)
|
||||
;;format = <label>
|
||||
;;format-background = #999
|
||||
;;format-foreground = #000
|
||||
;;format-padding = 4
|
||||
|
||||
; Available tokens:
|
||||
; %output%
|
||||
; Default: %output%
|
||||
;;label = %output:0:15:...%
|
||||
|
||||
; Available tokens:
|
||||
; %counter%
|
||||
; %pid%
|
||||
;
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]"
|
||||
click-left = ~/.config/polybar/scripts/lupdates &
|
||||
;;click-middle = ~/.config/polybar/scripts/lupdates &
|
||||
;;click-right = ~/.config/polybar/scripts/lupdates &
|
||||
;;double-click-left = echo double left %counter%
|
||||
;;double-click-middle = echo double middle %counter%
|
||||
;;double-click-right = echo double right %counter%
|
||||
|
||||
; Available tokens:
|
||||
; %counter%
|
||||
; %pid%
|
||||
;
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]"
|
||||
;;scroll-up = echo scroll up %counter%
|
||||
;;scroll-down = echo scroll down %counter%
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/window_switch]
|
||||
type = custom/text
|
||||
content = Switch
|
||||
|
||||
; "content" has the same properties as "format-NAME"
|
||||
;;content-background = #000
|
||||
;;content-foreground = #fff
|
||||
;;content-padding = 4
|
||||
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
click-left = skippy-xd
|
||||
click-middle = skippy-xd
|
||||
click-right = ~/.config/polybar/scripts/windows
|
||||
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
;;scroll-up = skippy-xd
|
||||
;;scroll-down = skippy-xd
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/launcher]
|
||||
type = custom/text
|
||||
content =
|
||||
|
||||
; "content" has the same properties as "format-NAME"
|
||||
content-background = ${color.ac}
|
||||
content-foreground = ${color.mf}
|
||||
content-padding = 3
|
||||
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
click-left = ~/.config/polybar/scripts/launcher
|
||||
;;click-middle = ~/.config/polybar/scripts/launcher-full
|
||||
click-right = ~/.config/polybar/scripts/launcher-alt
|
||||
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
;;scroll-up = ~/.config/polybar/scripts/launcher-full
|
||||
scroll-down = ~/.config/polybar/scripts/launcher-full
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/sysmenu]
|
||||
type = custom/text
|
||||
content =
|
||||
|
||||
; "content" has the same properties as "format-NAME"
|
||||
content-background = ${color.ac}
|
||||
content-foreground = ${color.mf}
|
||||
content-padding = 3
|
||||
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
click-left = ~/.config/polybar/scripts/powermenu-alt
|
||||
;;click-middle = ~/.config/polybar/scripts/powermenu
|
||||
click-right = ~/.config/polybar/scripts/powermenu-alt
|
||||
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
;;scroll-up = ~/.config/polybar/scripts/powermenu
|
||||
;;scroll-down = ~/.config/polybar/scripts/powermenu
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/powermenu]
|
||||
type = custom/menu
|
||||
|
||||
; If true, <label-toggle> will be to the left of the menu items (default).
|
||||
; If false, it will be on the right of all the items.
|
||||
expand-right = true
|
||||
|
||||
; "menu-LEVEL-N" has the same properties as "label-NAME" with
|
||||
; the additional "exec" property
|
||||
;
|
||||
; Available exec commands:
|
||||
; menu-open-LEVEL
|
||||
; menu-close
|
||||
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
menu-0-0 = reboot
|
||||
menu-0-0-exec = menu-open-1
|
||||
menu-0-1 = shutdown
|
||||
menu-0-1-exec = menu-open-2
|
||||
|
||||
menu-1-0 = back
|
||||
menu-1-0-exec = menu-open-0
|
||||
menu-1-1 = reboot
|
||||
menu-1-1-exec = systemctl reboot
|
||||
|
||||
menu-2-0 = shutdown
|
||||
menu-2-0-exec = systemctl poweroff
|
||||
menu-2-1 = back
|
||||
menu-2-1-exec = menu-open-0
|
||||
|
||||
; Available tags:
|
||||
; <label-toggle> (default) - gets replaced with <label-(open|close)>
|
||||
; <menu> (default)
|
||||
; Note that if you use <label-toggle> you must also include
|
||||
; the definition for <label-open>
|
||||
|
||||
;;format = <label-toggle> <menu>
|
||||
;;format-prefix = ${menu.icon-menu}
|
||||
format-spacing = 1
|
||||
|
||||
label-open =
|
||||
label-close =
|
||||
|
||||
|
||||
; Optional item separator
|
||||
; Default: none
|
||||
label-separator = |
|
||||
|
||||
label-open-foreground = ${color.ac}
|
||||
label-close-foreground = ${color.ac}
|
||||
label-separator-foreground = ${color.ac}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/menu]
|
||||
type = custom/menu
|
||||
|
||||
; If true, <label-toggle> will be to the left of the menu items (default).
|
||||
; If false, it will be on the right of all the items.
|
||||
expand-right = true
|
||||
|
||||
; "menu-LEVEL-N" has the same properties as "label-NAME" with
|
||||
; the additional "exec" property
|
||||
;
|
||||
; Available exec commands:
|
||||
; menu-open-LEVEL
|
||||
; menu-close
|
||||
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
menu-0-0 = Menu
|
||||
menu-0-0-exec = ~/.config/polybar/scripts/launcher &
|
||||
menu-0-1 = Files
|
||||
menu-0-1-exec = thunar &
|
||||
menu-0-2 = Terminal
|
||||
menu-0-2-exec = termite &
|
||||
menu-0-3 = Browser
|
||||
menu-0-3-exec = firefox &
|
||||
|
||||
; Available tags:
|
||||
; <label-toggle> (default) - gets replaced with <label-(open|close)>
|
||||
; <menu> (default)
|
||||
; Note that if you use <label-toggle> you must also include
|
||||
; the definition for <label-open>
|
||||
|
||||
;;format = <label-toggle> <menu>
|
||||
;;format-prefix = ${menu.icon-menu}
|
||||
format-spacing = 1
|
||||
|
||||
label-open =
|
||||
label-close =
|
||||
|
||||
|
||||
; Optional item separator
|
||||
; Default: none
|
||||
label-separator = |
|
||||
|
||||
label-open-foreground = ${color.ac}
|
||||
label-close-foreground = ${color.ac}
|
||||
label-separator-foreground = ${color.ac}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/colors-switch]
|
||||
type = custom/text
|
||||
content =
|
||||
|
||||
; "content" has the same properties as "format-NAME"
|
||||
;;content-background = ${color.ac}
|
||||
;;content-foreground = ${color.bg}
|
||||
;;content-padding = 3
|
||||
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
click-left = ~/.config/polybar/scripts/color-switch.sh &
|
||||
;;click-middle = ~/.config/polybar/scripts/color-switch.sh &
|
||||
click-right = ~/.config/polybar/scripts/color-switch.sh &
|
||||
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||
;;scroll-up = ~/.config/polybar/scripts/powermenu
|
||||
;;scroll-down = ~/.config/polybar/scripts/powermenu
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
;; / ____/ __ \/ ____/
|
||||
;; / __/ / / / / /_
|
||||
;; / /___/ /_/ / __/
|
||||
;; /_____/\____/_/
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 661 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 MiB |
@@ -1,45 +0,0 @@
|
||||
[redshift]
|
||||
; Set the day and night screen temperatures
|
||||
temp-day=5500
|
||||
temp-night=3200
|
||||
|
||||
; Enable/Disable a smooth transition between day and night
|
||||
; 0 will cause a direct change from day to night screen temperature.
|
||||
; 1 will gradually increase or decrease the screen temperature
|
||||
transition=1
|
||||
|
||||
; Set the screen brightness. Default is 1.0
|
||||
;brightness=0.9
|
||||
; It is also possible to use different settings for day and night since version 1.8.
|
||||
;brightness-day=0.7
|
||||
;brightness-night=0.4
|
||||
; Set the screen gamma (for all colors, or each color channel individually)
|
||||
gamma=0.9
|
||||
|
||||
;gamma=0.8:0.7:0.8
|
||||
; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'
|
||||
; type 'redshift -l list' to see possible values
|
||||
; The location provider settings are in a different section.
|
||||
location-provider=manual
|
||||
|
||||
; Set the adjustment-method: 'randr', 'vidmode'
|
||||
; type 'redshift -m list' to see all possible values
|
||||
; 'randr' is the preferred method, 'vidmode' is an older API
|
||||
; but works in some cases when 'randr' does not.
|
||||
; The adjustment method settings are in a different section.
|
||||
adjustment-method=randr
|
||||
|
||||
; Configuration of the location-provider:
|
||||
; type 'redshift -l PROVIDER:help' to see the settings
|
||||
; e.g. 'redshift -l manual:help'
|
||||
[manual]
|
||||
lat=52.52
|
||||
lon=13.40
|
||||
|
||||
; Configuration of the adjustment-method
|
||||
; type 'redshift -m METHOD:help' to see the settings
|
||||
; ex: 'redshift -m randr:help'
|
||||
; In this example, randr is configured to adjust screen 1.
|
||||
; Note that the numbering starts from 0, so this is actually the second screen.
|
||||
[randr]
|
||||
screen=0
|
||||
@@ -1,134 +0,0 @@
|
||||
/*
|
||||
* breeze-dark.rasi
|
||||
* rofi theme inspired by plasma breeze
|
||||
* MonsieurBedard
|
||||
*/
|
||||
|
||||
* {
|
||||
/* Base */
|
||||
default-background: rgba(49, 52, 56, 100%); // <- change this for transparency
|
||||
default-foreground: rgba(239, 240, 241, 100%);
|
||||
default-border: rgba(97, 101, 105, 100%);
|
||||
alternative-background: rgba(35, 38, 41, 100%);
|
||||
invisible: rgba(0, 0, 0, 0%);
|
||||
|
||||
/* Colors */
|
||||
hard-blue: rgba(42, 139, 218, 100%);
|
||||
light-blue: rgba(24, 53, 69, 100%);
|
||||
|
||||
hard-red: rgba(141, 58, 80, 100%);
|
||||
light-red: rgba(77, 31, 37, 100%);
|
||||
|
||||
hard-green: rgba(39, 161, 69, 100%);
|
||||
light-green: rgba(19, 55, 35, 100%);
|
||||
|
||||
/* Universal */
|
||||
background-color: @invisible;
|
||||
border-color: @default-border;
|
||||
font: "Noto Sans 30";
|
||||
text-color: @default-foreground;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @default-background;
|
||||
border: 1;
|
||||
border-radius: 3;
|
||||
border-color: @default-border;
|
||||
padding: 7;
|
||||
}
|
||||
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#message {
|
||||
border: 1;
|
||||
border-radius: 3;
|
||||
padding: 5;
|
||||
background-color: @alternative-background;
|
||||
}
|
||||
|
||||
#textbox {
|
||||
background-color: @entry-background;
|
||||
}
|
||||
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
spacing: 2;
|
||||
scrollbar: false;
|
||||
padding: 2 0 0;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: 5;
|
||||
border: 1;
|
||||
border-radius: 3;
|
||||
border-color: @invisible;
|
||||
}
|
||||
|
||||
#element.normal.normal {
|
||||
background-color: @invisible;
|
||||
}
|
||||
|
||||
#element.normal.urgent {
|
||||
background-color: @light-red;
|
||||
}
|
||||
|
||||
#element.normal.active {
|
||||
background-color: @light-green;
|
||||
}
|
||||
|
||||
#element.selected.normal {
|
||||
background-color: @light-blue;
|
||||
border-color: @hard-blue;
|
||||
}
|
||||
|
||||
#element.selected.urgent {
|
||||
background-color: @light-red;
|
||||
border-color: @hard-red;
|
||||
}
|
||||
|
||||
#element.selected.active {
|
||||
background-color: @light-green;
|
||||
border-color: @hard-green;
|
||||
}
|
||||
|
||||
#mode-switcher {
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
#button {
|
||||
border: 0 0 3 0;
|
||||
border-color: @invisible;
|
||||
padding: 3;
|
||||
}
|
||||
|
||||
#button.selected {
|
||||
border-color: @hard-blue;
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
padding: 1;
|
||||
}
|
||||
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
padding: 3px;
|
||||
background-color: @alternative-background;
|
||||
border: 1 1 1 0;
|
||||
border-radius: 0 2 2 0;
|
||||
}
|
||||
|
||||
#entry {
|
||||
background-color: @alternative-background;
|
||||
padding: 3px;
|
||||
border: 1 0 1 1;
|
||||
border-radius: 2 0 0 2;
|
||||
}
|
||||
|
||||
#prompt {
|
||||
padding: 3 7 3 0;
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
configuration {
|
||||
modi: "combi,window,drun,ssh";
|
||||
font: "hack 30";
|
||||
combi-modi: "window,drun,ssh";
|
||||
}
|
||||
|
||||
@theme "glue_pro_blue"
|
||||
@@ -1,224 +0,0 @@
|
||||
### Basic Settings
|
||||
set $mod Mod4
|
||||
set $term alacritty
|
||||
|
||||
floating_modifier $mod
|
||||
|
||||
font pango:MesloLGS Nerd Font 11
|
||||
|
||||
### Startup Applications
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id gammastep
|
||||
exec --no-startup-id swaymsg workspace 1
|
||||
exec --no-startup-id waybar
|
||||
exec --no-startup-id thunderbird
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id spotify
|
||||
exec --no-startup-id brave
|
||||
exec --no-startup-id alacritty
|
||||
|
||||
### output config
|
||||
output HDMI-A-1 resolution 3840x2160@119.88Hz
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
mode hide
|
||||
hidden_state hide
|
||||
position top
|
||||
}
|
||||
|
||||
### Input
|
||||
input "type:touchpad" {
|
||||
tap enabled
|
||||
dwt enabled
|
||||
click_method clickfinger
|
||||
natural_scroll enabled
|
||||
tap_button_map lrm
|
||||
}
|
||||
|
||||
input "*" {
|
||||
xkb_layout us
|
||||
xkb_variant intl
|
||||
}
|
||||
|
||||
### Gaps
|
||||
gaps inner 8
|
||||
gaps outer -4
|
||||
smart_gaps on
|
||||
smart_borders on
|
||||
|
||||
### Default workspace behavior
|
||||
workspace_auto_back_and_forth yes
|
||||
|
||||
### Keybindings
|
||||
# Terminal and Rofi
|
||||
bindsym $mod+Return exec alacritty
|
||||
bindsym $mod+Ctrl+Return exec alacritty zellij
|
||||
bindsym $mod+Shift+Return exec rofi -show combi
|
||||
|
||||
# === input devices ===
|
||||
|
||||
input "1267:12572:DELL097D:00_04F3:311C_Touchpad" {
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
tap_button_map lrm # tap with 1 finger = left click, 2 fingers = right click, 3 fingers = middle click
|
||||
}
|
||||
input type:keyboard {
|
||||
xkb_layout us
|
||||
xkb_variant intl
|
||||
}
|
||||
|
||||
# === Volume & Media Keys ===
|
||||
bindsym XF86AudioLowerVolume exec pamixer --decrease 5
|
||||
bindsym XF86AudioRaiseVolume exec pamixer --increase 5
|
||||
bindsym XF86AudioMute exec pamixer -t
|
||||
bindsym $mod+XF86AudioMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
|
||||
# System
|
||||
bindsym $mod+Ctrl+l exec swaylock
|
||||
bindsym $mod+Shift+r reload
|
||||
bindsym $mod+Ctrl+Shift+Alt+s exec systemctl suspend
|
||||
bindsym $mod+Ctrl+Shift+Alt+h exec systemctl hibernate
|
||||
|
||||
# Audio
|
||||
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindsym $mod+XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
|
||||
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
|
||||
|
||||
# Brightness
|
||||
bindsym XF86MonBrightnessUp exec light -A 5; notify-send "Brightness set to $(light)"
|
||||
bindsym XF86MonBrightnessDown exec light -U 5; notify-send "Brightness set to $(light)"
|
||||
bindsym $mod+XF86MonBrightnessDown exec light -S 0.2; notify-send "Brightness set to min"
|
||||
bindsym $mod+XF86MonBrightnessUp exec light -S 100; notify-send "Brightness set to max"
|
||||
|
||||
# Misc
|
||||
bindsym XF86Calculator exec qalculate-gtk
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
# Borders
|
||||
default_border pixel 2
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
bindsym $mod+Shift+n border none
|
||||
|
||||
# Focus movement
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# Move containers
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# Workspaces
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# Layout
|
||||
bindsym $mod+z split h; exec notify-send 'Tile horizontally'
|
||||
bindsym $mod+v split v; exec notify-send 'Tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# Workspace keybindings 1-9
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Ctrl+1 move container to workspace 1; workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Ctrl+2 move container to workspace 2; workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Ctrl+3 move container to workspace 3; workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Ctrl+4 move container to workspace 4; workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Ctrl+5 move container to workspace 5; workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Ctrl+6 move container to workspace 6; workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Ctrl+7 move container to workspace 7; workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Ctrl+8 move container to workspace 8; workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Ctrl+9 move container to workspace 9; workspace 9
|
||||
|
||||
### Assignments
|
||||
assign [app_id="thunderbird"] workspace "9: mail"
|
||||
|
||||
### Resize mode
|
||||
mode "resize" {
|
||||
bindsym h resize shrink width 4px or 4ppt
|
||||
bindsym j resize grow height 4px or 4ppt
|
||||
bindsym k resize shrink height 4px or 4ppt
|
||||
bindsym l resize grow width 4px or 4ppt
|
||||
bindsym Left resize shrink width 10px or 10ppt
|
||||
bindsym Down resize grow height 10px or 10ppt
|
||||
bindsym Up resize shrink height 10px or 10ppt
|
||||
bindsym Right resize grow width 10px or 10ppt
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
### Colors
|
||||
client.focused #ff8800 #2F3D44 #FF8800 #FDF6E3 #ff8800
|
||||
client.focused_inactive #333333 #222222 #444444 #454948 #222222
|
||||
client.unfocused #2F3D44 #2F3D44 #FF8800 #454948 #222222
|
||||
client.urgent #CB4B16 #FDF6E3 #FF8800 #268BD2 #222222
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #222222
|
||||
client.background #2B2C2B
|
||||
|
||||
# === Floating Windows ===
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [title="Qalculate!"] floating enable border normal
|
||||
for_window [class="Psensor"] floating enable border normal
|
||||
for_window [title="lxrandr"] floating enable border normal
|
||||
for_window [class="Blueman-manager"] floating enable border normal
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [class="pavucontrol"] floating enable
|
||||
for_window [title="Volume Control"] floating enable
|
||||
for_window [class="Spotify"] move scratchpad
|
||||
|
||||
# Float all windows with "VirtualBox" in the title
|
||||
for_window [class=".*VirtualBox.*"] floating enable
|
||||
# EXCEPT: unfloat those that also contain "Manager" or "Machine"
|
||||
for_window [class=".*VirtualBox Manager.*"] floating disable
|
||||
for_window [class=".*VirtualBox Machine"] floating disable
|
||||
@@ -1,319 +0,0 @@
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
set $alt Mod1
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 2
|
||||
new_float normal
|
||||
|
||||
# Hide borders
|
||||
hide_edge_borders none
|
||||
|
||||
# change borders
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font MesloLGS NF 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a $myTerm
|
||||
set $myTerm alacritty
|
||||
bindsym $mod+Return exec $myTerm --command tmux
|
||||
bindsym $mod+Ctrl+Return exec $myTerm
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+Shift+Return exec --no-startup-id wofi -show run
|
||||
|
||||
# make screenshot
|
||||
bindsym $mod+Print exec "flameshot full -c"
|
||||
bindsym $mod+Shift+Print exec "flameshot gui"
|
||||
|
||||
# start screenrecording
|
||||
bindsym $mod+Ctrl+Shift+Print exec --no-startup-id simplescreenrecorder --start-hidden --start-recording
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec "light -A 5; notify-send Brightness set to $(light)"
|
||||
bindsym XF86MonBrightnessDown exec "light -U 5; notify-send Brightness set to $(light)"
|
||||
bindsym $mod+XF86MonBrightnessDown exec "light -S 0.2; notify-send Brightness set to min"
|
||||
bindsym $mod+XF86MonBrightnessUp exec "light -S 100; notify-send Brightness set to max"
|
||||
|
||||
# volumne controls
|
||||
bindsym XF86AudioLowerVolume exec "pamixer --decrease 5"
|
||||
bindsym XF86AudioRaiseVolume exec "pamixer --increase 5"
|
||||
bindsym XF86AudioMute exec "pamixer -t"
|
||||
bindsym $mod+XF86AudioMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
|
||||
# media controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
|
||||
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
# misc keyboard keys
|
||||
bindsym XF86Calculator exec --no-startup-id qalculate-gtk
|
||||
|
||||
|
||||
# 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 arrow 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 arrow 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
|
||||
|
||||
# move focus to different monitors
|
||||
bindsym $mod+greater focus output right
|
||||
bindsym $mod+less focus output left
|
||||
|
||||
# move container to different monitors
|
||||
bindsym $mod+Ctrl+greater move container to output right; focus output right
|
||||
bindsym $mod+Ctrl+less move container to output left; focus output left
|
||||
|
||||
# move workspace to different monitor
|
||||
bindsym $mod+Ctrl+Shift+greater move workspace to output right
|
||||
bindsym $mod+Ctrl+Shift+less move workspace to output left
|
||||
|
||||
# workspace back and forth (with/without active container)
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
|
||||
# split orientation
|
||||
bindsym $mod+z split h;exec notify-send 'tile horizontally'
|
||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||
bindsym $mod+q split toggle
|
||||
|
||||
# toggle fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+y fullscreen disable; floating enable; resize set 640 480; sticky enable; move window to position 1270 590
|
||||
|
||||
# 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
|
||||
|
||||
# toggle sticky
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
#bindsym $mod+Shift+s exec ~/.i3/i3-display-swap.sh
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#navigate workspaces next / previous
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
# Workspace names
|
||||
# to display names or symbols instead of plain workspace numbers you can use
|
||||
# something like: set $ws1 1:mail
|
||||
# set $ws2 2:
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||
bindsym $mod+Ctrl+9 move container to workspace $ws9
|
||||
|
||||
# Move to workspace with focused container
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
||||
|
||||
# Open applications on specific workspaces
|
||||
assign [class="Thunderbird"] $ws9
|
||||
assign [class="spotify"] $ws9
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [title="Qalculate!"] floating enable border normal
|
||||
for_window [class="Psensor"] floating enable border normal
|
||||
for_window [title="lxrandr"] floating enable border normal
|
||||
for_window [class="Blueman-manager"] floating enable border normal
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Ctrl+r reload
|
||||
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+Ctrl+Shift+$alt+l exec --no-startup-id light-locker-command -l
|
||||
|
||||
# Set shut down, restart
|
||||
bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate
|
||||
bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id systemctl suspend
|
||||
|
||||
# set lock combination for i3lock
|
||||
bindsym $mod+Ctrl+l exec --no-startup-id i3lock -c 000000
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
mode "resize" {
|
||||
# Originally set to jkl;.
|
||||
# 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 h resize shrink width 4 px or 4 ppt
|
||||
bindsym j resize grow height 4 px or 4 ppt
|
||||
bindsym k resize shrink height 4 px or 4 ppt
|
||||
bindsym l resize grow width 4 px or 4 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
|
||||
|
||||
# exit resize mode: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# Autostart applications
|
||||
exec --no-startup-id waybar -c ~/.config/waybar/config
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id redshift ~/.config/redshift/redshift.conf
|
||||
exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id flameshot
|
||||
|
||||
# locking specific startup applications
|
||||
exec swayidle -w \
|
||||
timeout 1800 'swaylock -f' \
|
||||
timeout 1860 'systemctl suspend' \
|
||||
resume 'notify-send "Welcome back!"' \
|
||||
before-sleep 'swaylock -f'
|
||||
|
||||
# Color palette used for the terminal ( ~/.Xresources file )
|
||||
# Colors are gathered based on the documentation:
|
||||
# https://i3wm.org/docs/userguide.html#xresources
|
||||
# Change the variable name at the place you want to match the color
|
||||
# of your terminal like this:
|
||||
# [example]
|
||||
# If you want your bar to have the same background color as your
|
||||
# terminal background change the line 362 from:
|
||||
# background #14191D
|
||||
# to:
|
||||
# background $term_background
|
||||
# Same logic applied to everything else.
|
||||
set_from_resource $term_background background
|
||||
set_from_resource $term_foreground foreground
|
||||
set_from_resource $term_color0 color0
|
||||
set_from_resource $term_color1 color1
|
||||
set_from_resource $term_color2 color2
|
||||
set_from_resource $term_color3 color3
|
||||
set_from_resource $term_color4 color4
|
||||
set_from_resource $term_color5 color5
|
||||
set_from_resource $term_color6 color6
|
||||
set_from_resource $term_color7 color7
|
||||
set_from_resource $term_color8 color8
|
||||
set_from_resource $term_color9 color9
|
||||
set_from_resource $term_color10 color10
|
||||
set_from_resource $term_color11 color11
|
||||
set_from_resource $term_color12 color12
|
||||
set_from_resource $term_color13 color13
|
||||
set_from_resource $term_color14 color14
|
||||
set_from_resource $term_color15 color15
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused #ff8800 #2F3D44 #FF8800 #FDF6E3 #ff8800
|
||||
client.focused_inactive #333333 #222222 #444444 #454948 #222222
|
||||
client.unfocused #2F3D44 #2F3D44 #FF8800 #454948
|
||||
client.urgent #CB4B16 #FDF6E3 #FF8800 #268BD2
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background #2B2C2B
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 8
|
||||
gaps outer -4
|
||||
|
||||
|
||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||
smart_gaps on
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||
smart_borders on
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# Generated by nwg-displays on 2025-07-09 at 11:40:11. Do not edit manually.
|
||||
|
||||
output "eDP-1" {
|
||||
mode 3840x2400@59.994Hz
|
||||
pos 2560 129
|
||||
transform normal
|
||||
scale 2.0
|
||||
scale_filter nearest
|
||||
adaptive_sync off
|
||||
dpms on
|
||||
}
|
||||
output "DP-7" {
|
||||
mode 2560x1440@59.951Hz
|
||||
pos 0 0
|
||||
transform normal
|
||||
scale 1.0
|
||||
scale_filter nearest
|
||||
adaptive_sync off
|
||||
dpms on
|
||||
}
|
||||
Reference in New Issue
Block a user