Archived
Please work please work PLEASE
This commit is contained in:
1 parent
e3c2d1b295
commit
42d7473046
53 files changed
+5532
No files matched your search
@@ -0,0 +1,302 @@
|
||||
[global]
|
||||
frame_width = 1
|
||||
frame_color = "#E57B81"
|
||||
|
||||
font = Noto Sans 10
|
||||
|
||||
# Allow a small subset of html markup:
|
||||
# <b>bold</b>
|
||||
# <i>italic</i>
|
||||
# <s>strikethrough</s>
|
||||
# <u>underline</u>
|
||||
#
|
||||
# For a complete reference see
|
||||
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
|
||||
# If markup is not allowed, those tags will be stripped out of the
|
||||
# message.
|
||||
markup = yes
|
||||
|
||||
# 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
|
||||
# Markup is allowed
|
||||
format = "%s %p\n%b"
|
||||
|
||||
# Sort messages by urgency.
|
||||
sort = yes
|
||||
|
||||
# Show how many messages are currently hidden (because of geometry).
|
||||
indicate_hidden = yes
|
||||
|
||||
# Alignment of message text.
|
||||
# Possible values are "left", "center" and "right".
|
||||
alignment = left
|
||||
|
||||
# The frequency with wich text that is longer than the notification
|
||||
# window allows bounces back and forth.
|
||||
# This option conflicts with "word_wrap".
|
||||
# Set to 0 to disable.
|
||||
bounce_freq = 5
|
||||
|
||||
|
||||
# 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 = no
|
||||
|
||||
# Ignore newlines '\n' in notifications.
|
||||
ignore_newline = no
|
||||
|
||||
|
||||
# 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 respectevly.
|
||||
# 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 = "0x4-25+25"
|
||||
|
||||
# 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 windowmanager is
|
||||
# present (e.g. xcompmgr, compiz, etc.).
|
||||
transparency = 15
|
||||
|
||||
# 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.
|
||||
# default 120
|
||||
idle_threshold = 120
|
||||
|
||||
# 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 windowmanager that exports the
|
||||
# _NET_ACTIVE_WINDOW property.
|
||||
# This should be the case for almost all modern windowmanagers.
|
||||
#
|
||||
# If this option is set to mouse or keyboard, the monitor option
|
||||
# will be ignored.
|
||||
follow = mouse
|
||||
|
||||
# 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
|
||||
|
||||
# Display indicators for URLs (U) and actions (A).
|
||||
show_indicators = yes
|
||||
|
||||
# The height of a single line. If the height is smaller than the
|
||||
# font height, it will get raised to the font height.
|
||||
# This adds empty space above and under the text.
|
||||
line_height = 0
|
||||
|
||||
# Draw a line of "separator_height" pixel height between two
|
||||
# notifications.
|
||||
# Set to 0 to disable.
|
||||
separator_height = 1
|
||||
|
||||
# Padding between text and separator.
|
||||
# padding = 8
|
||||
padding = 8
|
||||
|
||||
# Horizontal padding.
|
||||
horizontal_padding = 10
|
||||
|
||||
# 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 = #263238
|
||||
|
||||
# Print a notification on startup.
|
||||
# This is mainly for error detection, since dbus (re-)starts dunst
|
||||
# automatically after a crash.
|
||||
startup_notification = false
|
||||
|
||||
# dmenu path.
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
|
||||
# Browser for opening urls in context menu.
|
||||
browser = palemoon
|
||||
|
||||
# Align icons left/right/off
|
||||
icon_position = left
|
||||
|
||||
# Paths to default icons.
|
||||
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
|
||||
|
||||
# Limit icons size.
|
||||
max_icon_size=128
|
||||
|
||||
[shortcuts]
|
||||
|
||||
# Shortcuts are specified as [modifier+][modifier+]...key
|
||||
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
|
||||
# "mod3" and "mod4" (windows-key).
|
||||
# Xev might be helpful to find names for keys.
|
||||
|
||||
# Close notification.
|
||||
close = mod1+space
|
||||
|
||||
# Close all notifications.
|
||||
# close_all = ctrl+shift+space
|
||||
close_all = ctrl+mod1+space
|
||||
|
||||
# Redisplay last message(s).
|
||||
# On the US keyboard layout "grave" is normally above TAB and left
|
||||
# of "1".
|
||||
history = ctrl+mod4+h
|
||||
|
||||
# Context menu.
|
||||
context = ctrl+mod1+c
|
||||
|
||||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
# Otherwise the "#" and following would be interpreted as a comment.
|
||||
background = "#060C13"
|
||||
foreground = "#E57B81"
|
||||
timeout = 10
|
||||
|
||||
[urgency_normal]
|
||||
background = "#060C13"
|
||||
foreground = "#E57B81"
|
||||
timeout = 10
|
||||
|
||||
[urgency_critical]
|
||||
background = "#060C13"
|
||||
foreground = "#E57B81"
|
||||
timeout = 0
|
||||
|
||||
|
||||
# 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", "summary", "body", "icon", "category",
|
||||
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
|
||||
# "background", "new_icon" and "format".
|
||||
# Shell-like globbing will get expanded.
|
||||
#
|
||||
# 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.
|
||||
|
||||
#[espeak]
|
||||
# summary = "*"
|
||||
# script = dunst_espeak.sh
|
||||
|
||||
#[script-test]
|
||||
# summary = "*script*"
|
||||
# script = dunst_test.sh
|
||||
|
||||
#[ignore]
|
||||
# # This notification will not be displayed
|
||||
# summary = "foobar"
|
||||
# format = ""
|
||||
|
||||
#[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
|
||||
#
|
||||
#[Claws Mail]
|
||||
# appname = claws-mail
|
||||
# category = email.arrived
|
||||
# urgency = normal
|
||||
# background = "#060C13"
|
||||
# foreground = "#E57B81"
|
||||
#
|
||||
#[mute.sh]
|
||||
# appname = mute
|
||||
# category = mute.sound
|
||||
# script = mute.sh
|
||||
#
|
||||
#[JDownloader]
|
||||
# appname = JDownloader
|
||||
# category = JD
|
||||
# background = "#060C13"
|
||||
# foreground = "#E57B81"
|
||||
#
|
||||
#[newsbeuter]
|
||||
# summary = *Feeds*
|
||||
# background = "#060C13"
|
||||
# foreground = "#E57B81"
|
||||
#
|
||||
[irc]
|
||||
appname = weechat
|
||||
timeout = 0
|
||||
background = "#060C13"
|
||||
foreground = "#E57B81"
|
||||
#
|
||||
[weechat hl]
|
||||
appname = weechat
|
||||
category = weechat.HL
|
||||
background = "#060C13"
|
||||
foreground = "#E57B81"
|
||||
#
|
||||
[weechat pn]
|
||||
appname = weechat
|
||||
category = weechat.PM
|
||||
background = "#060C13"
|
||||
foreground = "#E57B81"
|
||||
#
|
||||
#[CMUS]
|
||||
# appname = CMUS
|
||||
# category = cmus
|
||||
# background = "#060C13"
|
||||
# foreground = "#E57B81"
|
||||
#
|
||||
#
|
||||
# background = "#060C13"
|
||||
# foreground = "#E57B81"
|
||||
#
|
||||
# vim: ft=cfg
|
||||
@@ -0,0 +1 @@
|
||||
scrot_dir=/home/cdnutter/Pictures
|
||||
@@ -0,0 +1,445 @@
|
||||
# i3 config file (v4)
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
default_border pixel 1
|
||||
default_floating_border 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:URWGothic-Book 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec kitty
|
||||
bindsym $mod+Shift+Return exec cool-retro-term
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||
|
||||
# launch categorized menu
|
||||
#bindsym $mod+z exec --no-startup-id morc_menu
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
||||
exec --no-startup-id volumeicon
|
||||
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
|
||||
#exec --no-startup-id pulseaudio
|
||||
#exec --no-startup-id pa-applet
|
||||
#bindsym $mod+Ctrl+m exec pavucontrol
|
||||
|
||||
################################################################################################
|
||||
|
||||
# Screen brightness controls
|
||||
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
||||
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Ctrl+b exec kitty -e 'bmenu'
|
||||
bindsym $mod+F2 exec vivaldi-stable
|
||||
bindsym $mod+F3 exec pcmanfm
|
||||
#bindsym $mod+F3 exec ranger
|
||||
bindsym $mod+Shift+F3 exec pcmanfm_pkexec
|
||||
bindsym $mod+F5 exec kitty -e ncmpcpp
|
||||
bindsym $mod+t exec --no-startup-id pkill picom
|
||||
bindsym $mod+Ctrl+t exec --no-startup-id picom -b
|
||||
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+Shift+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+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+semicolon focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# 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+h 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# Open applications on specific workspaces
|
||||
# assign [class="Thunderbird"] $ws1
|
||||
# assign [class="Pale moon"] $ws2
|
||||
# assign [class="Pcmanfm"] $ws3
|
||||
# assign [class="Skype"] $ws5
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="calamares"] floating enable border normal
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="fpakman"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-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 [title="About Pale Moon"] 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="Skype"] 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="Xfburn"] floating enable
|
||||
|
||||
# Open specific applications floating -- NEW OPTIONS
|
||||
for_window [class="lutris"] floating enable border normal
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# Set shut down, restart and locking features
|
||||
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 i3exit lock, mode "default"
|
||||
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||||
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||||
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||
bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||||
|
||||
# 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" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym j resize shrink width 5 px or 5 ppt
|
||||
bindsym k resize grow height 5 px or 5 ppt
|
||||
bindsym l resize shrink height 5 px or 5 ppt
|
||||
bindsym semicolon resize grow width 5 px or 5 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"
|
||||
}
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+9 exec --no-startup-id blurlock
|
||||
|
||||
# Autostart applications
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
#exec --no-startup-id manjaro-hello
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id xfce4-power-manager
|
||||
exec --no-startup-id pamac-tray
|
||||
exec --no-startup-id clipit
|
||||
# exec --no-startup-id blueman-applet
|
||||
# exec_always --no-startup-id sbxkb
|
||||
# exec --no-startup-id start_conky_maia
|
||||
# exec --no-startup-id start_conky_green
|
||||
exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||
exec_always --no-startup-id ff-theme-util
|
||||
exec_always --no-startup-id fix_xcursor
|
||||
|
||||
# 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
|
||||
|
||||
set_from_resource $fg i3wm.color7
|
||||
set_From_resource $bg i3wm.color2
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||
#bar {
|
||||
# i3bar_command i3bar
|
||||
# status_command i3status
|
||||
# position bottom
|
||||
|
||||
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
|
||||
# tray_output primary
|
||||
# tray_output eDP1
|
||||
|
||||
# bindsym button4 nop
|
||||
# bindsym button5 nop
|
||||
# font xft:URWGothic-Book 11
|
||||
# strip_workspace_numbers yes
|
||||
|
||||
# colors {
|
||||
# background #222D31
|
||||
# statusline #F9FAF9
|
||||
# separator #454947
|
||||
|
||||
# border backgr. text
|
||||
# focused_workspace #F9FAF9 #16a085 #292F34
|
||||
# active_workspace #595B5B #353836 #FDF6E3
|
||||
# inactive_workspace #595B5B #222D31 #EEE8D5
|
||||
# binding_mode #16a085 #2C2C2C #F9FAF9
|
||||
# urgent_workspace #16a085 #FDF6E3 #E5201D
|
||||
# }
|
||||
#}
|
||||
|
||||
# hide/unhide i3status bar
|
||||
bindsym $mod+m bar mode toggle
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused $bg $bg $bg $fg $bg #556064 #556064 #80FFF9 #FDF6E3
|
||||
client.focused_inactive $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||
client.unfocused $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||
client.urgent $bg $bg $bg $fg $bg #CB4B16 #FDF6E3 #1ABC9C #268BD2
|
||||
client.placeholder $bg $bg $bg $fg $bg #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background $bg #2B2C2B
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 14
|
||||
gaps outer -2
|
||||
|
||||
# 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 no_gaps
|
||||
|
||||
# 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"
|
||||
}
|
||||
|
||||
# Custom Scripts
|
||||
|
||||
exec_always --no-startup-id wal -i ~/Pictures/Wallpapers/
|
||||
exec_always sh ~/.config/polybar/launch.sh
|
||||
exec_always sh ~/.scripts/pywal-dunst.sh
|
||||
|
||||
exec pkill picom
|
||||
exec picom -b -f
|
||||
|
||||
exec mpd ~/.config/mpd/mpd.conf
|
||||
exec mpc update
|
||||
|
||||
exec synergyc --no-tray --restart --name Gray 192.168.1.236:24800
|
||||
|
||||
# Extra
|
||||
|
||||
#exec kitty ~/.scripts/monitor-setup.sh
|
||||
@@ -0,0 +1,434 @@
|
||||
# i3 config file (v4)
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
default_border pixel 1
|
||||
default_floating_border 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:URWGothic-Book 11
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec kitty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||
|
||||
# launch categorized menu
|
||||
#bindsym $mod+z exec --no-startup-id morc_menu
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
||||
exec --no-startup-id volumeicon
|
||||
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
|
||||
#exec --no-startup-id pulseaudio
|
||||
#exec --no-startup-id pa-applet
|
||||
#bindsym $mod+Ctrl+m exec pavucontrol
|
||||
|
||||
################################################################################################
|
||||
|
||||
# Screen brightness controls
|
||||
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
||||
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Ctrl+b exec kitty -e 'bmenu'
|
||||
bindsym $mod+F2 exec vivaldi-stable
|
||||
bindsym $mod+F3 exec pcmanfm
|
||||
#bindsym $mod+F3 exec ranger
|
||||
bindsym $mod+Shift+F3 exec pcmanfm_pkexec
|
||||
bindsym $mod+F5 exec kitty -e ncmpcpp
|
||||
bindsym $mod+t exec --no-startup-id pkill picom
|
||||
bindsym $mod+Ctrl+t exec --no-startup-id picom -b
|
||||
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+Shift+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+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+semicolon focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# 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+h 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# Open applications on specific workspaces
|
||||
# assign [class="Thunderbird"] $ws1
|
||||
# assign [class="Pale moon"] $ws2
|
||||
# assign [class="Pcmanfm"] $ws3
|
||||
# assign [class="Skype"] $ws5
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="calamares"] floating enable border normal
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="fpakman"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-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 [title="About Pale Moon"] 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="Skype"] 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="Xfburn"] floating enable
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# Set shut down, restart and locking features
|
||||
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 i3exit lock, mode "default"
|
||||
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||||
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||||
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||
bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||||
|
||||
# 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" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym j resize shrink width 5 px or 5 ppt
|
||||
bindsym k resize grow height 5 px or 5 ppt
|
||||
bindsym l resize shrink height 5 px or 5 ppt
|
||||
bindsym semicolon resize grow width 5 px or 5 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"
|
||||
}
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+9 exec --no-startup-id blurlock
|
||||
|
||||
# Autostart applications
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
#exec --no-startup-id manjaro-hello
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id xfce4-power-manager
|
||||
exec --no-startup-id pamac-tray
|
||||
exec --no-startup-id clipit
|
||||
# exec --no-startup-id blueman-applet
|
||||
# exec_always --no-startup-id sbxkb
|
||||
# exec --no-startup-id start_conky_maia
|
||||
# exec --no-startup-id start_conky_green
|
||||
exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||
exec_always --no-startup-id ff-theme-util
|
||||
exec_always --no-startup-id fix_xcursor
|
||||
|
||||
# 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
|
||||
|
||||
set_from_resource $fg i3wm.color7
|
||||
set_From_resource $bg i3wm.color2
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||
#bar {
|
||||
# i3bar_command i3bar
|
||||
# status_command i3status
|
||||
# position bottom
|
||||
|
||||
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
|
||||
# tray_output primary
|
||||
# tray_output eDP1
|
||||
|
||||
# bindsym button4 nop
|
||||
# bindsym button5 nop
|
||||
# font xft:URWGothic-Book 11
|
||||
# strip_workspace_numbers yes
|
||||
|
||||
# colors {
|
||||
# background #222D31
|
||||
# statusline #F9FAF9
|
||||
# separator #454947
|
||||
|
||||
# border backgr. text
|
||||
# focused_workspace #F9FAF9 #16a085 #292F34
|
||||
# active_workspace #595B5B #353836 #FDF6E3
|
||||
# inactive_workspace #595B5B #222D31 #EEE8D5
|
||||
# binding_mode #16a085 #2C2C2C #F9FAF9
|
||||
# urgent_workspace #16a085 #FDF6E3 #E5201D
|
||||
# }
|
||||
#}
|
||||
|
||||
# hide/unhide i3status bar
|
||||
bindsym $mod+m bar mode toggle
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused $bg $bg $bg $fg $bg #556064 #556064 #80FFF9 #FDF6E3
|
||||
client.focused_inactive $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||
client.unfocused $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||
client.urgent $bg $bg $bg $fg $bg #CB4B16 #FDF6E3 #1ABC9C #268BD2
|
||||
client.placeholder $bg $bg $bg $fg $bg #000000 #0c0c0c #ffffff #000000
|
||||
|
||||
client.background $bg #2B2C2B
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 14
|
||||
gaps outer -2
|
||||
|
||||
# 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 no_gaps
|
||||
|
||||
# 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"
|
||||
}
|
||||
|
||||
# Custom Scripts
|
||||
|
||||
exec_always --no-startup-id wal -i ~/Pictures/Wallpapers/
|
||||
exec_always sh ~/.config/polybar/launch.sh
|
||||
exec_always sh ~/.scripts/pywal-dunst.sh
|
||||
|
||||
exec pkill picom
|
||||
exec picom -b -f
|
||||
|
||||
#exec kitty ~/.scripts/monitor-setup.sh
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,856 @@
|
||||
# See this wiki page for more info:
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||
print_info() {
|
||||
|
||||
prin
|
||||
|
||||
info title
|
||||
#info underline
|
||||
|
||||
prin
|
||||
|
||||
info "OS" distro
|
||||
info "Host" model
|
||||
#info "Kernel" kernel
|
||||
#info "Uptime" uptime
|
||||
info "Packages" packages
|
||||
info "Shell" shell
|
||||
info "Resolution" resolution
|
||||
info "DE" de
|
||||
info "WM" wm
|
||||
info "WM Theme" wm_theme
|
||||
#info "Theme" theme
|
||||
#info "Icons" icons
|
||||
info "Terminal" term
|
||||
info "Terminal Font" term_font
|
||||
info "CPU" cpu
|
||||
#info "GPU" gpu
|
||||
info "Memory" memory
|
||||
|
||||
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||
# info "CPU Usage" cpu_usage
|
||||
# info "Disk" disk
|
||||
# info "Battery" battery
|
||||
# info "Font" font
|
||||
# info "Song" song
|
||||
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||
# info "Local IP" local_ip
|
||||
# info "Public IP" public_ip
|
||||
# info "Users" users
|
||||
# info "Locale" locale # This only works on glibc systems.
|
||||
|
||||
prin
|
||||
|
||||
info cols
|
||||
}
|
||||
|
||||
# Title
|
||||
|
||||
|
||||
# Hide/Show Fully qualified domain name.
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --title_fqdn
|
||||
title_fqdn="off"
|
||||
|
||||
|
||||
# Kernel
|
||||
|
||||
|
||||
# Shorten the output of the kernel function.
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --kernel_shorthand
|
||||
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
|
||||
#
|
||||
# Example:
|
||||
# on: '4.8.9-1-ARCH'
|
||||
# off: 'Linux 4.8.9-1-ARCH'
|
||||
kernel_shorthand="on"
|
||||
|
||||
|
||||
# Distro
|
||||
|
||||
|
||||
# Shorten the output of the distro function
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'tiny', 'off'
|
||||
# Flag: --distro_shorthand
|
||||
# Supports: Everything except Windows and Haiku
|
||||
distro_shorthand="off"
|
||||
|
||||
# Show/Hide OS Architecture.
|
||||
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --os_arch
|
||||
#
|
||||
# Example:
|
||||
# on: 'Arch Linux x86_64'
|
||||
# off: 'Arch Linux'
|
||||
os_arch="on"
|
||||
|
||||
|
||||
# Uptime
|
||||
|
||||
|
||||
# Shorten the output of the uptime function
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'tiny', 'off'
|
||||
# Flag: --uptime_shorthand
|
||||
#
|
||||
# Example:
|
||||
# on: '2 days, 10 hours, 3 mins'
|
||||
# tiny: '2d 10h 3m'
|
||||
# off: '2 days, 10 hours, 3 minutes'
|
||||
uptime_shorthand="on"
|
||||
|
||||
|
||||
# Memory
|
||||
|
||||
|
||||
# Show memory pecentage in output.
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --memory_percent
|
||||
#
|
||||
# Example:
|
||||
# on: '1801MiB / 7881MiB (22%)'
|
||||
# off: '1801MiB / 7881MiB'
|
||||
memory_percent="off"
|
||||
|
||||
|
||||
# Packages
|
||||
|
||||
|
||||
# Show/Hide Package Manager names.
|
||||
#
|
||||
# Default: 'tiny'
|
||||
# Values: 'on', 'tiny' 'off'
|
||||
# Flag: --package_managers
|
||||
#
|
||||
# Example:
|
||||
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
|
||||
# tiny: '908 (pacman, flatpak, snap)'
|
||||
# off: '908'
|
||||
package_managers="on"
|
||||
|
||||
|
||||
# Shell
|
||||
|
||||
|
||||
# Show the path to $SHELL
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --shell_path
|
||||
#
|
||||
# Example:
|
||||
# on: '/bin/bash'
|
||||
# off: 'bash'
|
||||
shell_path="off"
|
||||
|
||||
# Show $SHELL version
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --shell_version
|
||||
#
|
||||
# Example:
|
||||
# on: 'bash 4.4.5'
|
||||
# off: 'bash'
|
||||
shell_version="on"
|
||||
|
||||
|
||||
# CPU
|
||||
|
||||
|
||||
# CPU speed type
|
||||
#
|
||||
# Default: 'bios_limit'
|
||||
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
|
||||
# Flag: --speed_type
|
||||
# Supports: Linux with 'cpufreq'
|
||||
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
|
||||
speed_type="bios_limit"
|
||||
|
||||
# CPU speed shorthand
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'.
|
||||
# Flag: --speed_shorthand
|
||||
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
|
||||
#
|
||||
# Example:
|
||||
# on: 'i7-6500U (4) @ 3.1GHz'
|
||||
# off: 'i7-6500U (4) @ 3.100GHz'
|
||||
speed_shorthand="off"
|
||||
|
||||
# Enable/Disable CPU brand in output.
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --cpu_brand
|
||||
#
|
||||
# Example:
|
||||
# on: 'Intel i7-6500U'
|
||||
# off: 'i7-6500U (4)'
|
||||
cpu_brand="on"
|
||||
|
||||
# CPU Speed
|
||||
# Hide/Show CPU speed.
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --cpu_speed
|
||||
#
|
||||
# Example:
|
||||
# on: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||
# off: 'Intel i7-6500U (4)'
|
||||
cpu_speed="on"
|
||||
|
||||
# CPU Cores
|
||||
# Display CPU cores in output
|
||||
#
|
||||
# Default: 'logical'
|
||||
# Values: 'logical', 'physical', 'off'
|
||||
# Flag: --cpu_cores
|
||||
# Support: 'physical' doesn't work on BSD.
|
||||
#
|
||||
# Example:
|
||||
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
|
||||
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
|
||||
# off: 'Intel i7-6500U @ 3.1GHz'
|
||||
cpu_cores="logical"
|
||||
|
||||
# CPU Temperature
|
||||
# Hide/Show CPU temperature.
|
||||
# Note the temperature is added to the regular CPU function.
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'C', 'F', 'off'
|
||||
# Flag: --cpu_temp
|
||||
# Supports: Linux, BSD
|
||||
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
|
||||
# coretemp kernel module. This only supports newer Intel processors.
|
||||
#
|
||||
# Example:
|
||||
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||
cpu_temp="off"
|
||||
|
||||
|
||||
# GPU
|
||||
|
||||
|
||||
# Enable/Disable GPU Brand
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --gpu_brand
|
||||
#
|
||||
# Example:
|
||||
# on: 'AMD HD 7950'
|
||||
# off: 'HD 7950'
|
||||
gpu_brand="on"
|
||||
|
||||
# Which GPU to display
|
||||
#
|
||||
# Default: 'all'
|
||||
# Values: 'all', 'dedicated', 'integrated'
|
||||
# Flag: --gpu_type
|
||||
# Supports: Linux
|
||||
#
|
||||
# Example:
|
||||
# all:
|
||||
# GPU1: AMD HD 7950
|
||||
# GPU2: Intel Integrated Graphics
|
||||
#
|
||||
# dedicated:
|
||||
# GPU1: AMD HD 7950
|
||||
#
|
||||
# integrated:
|
||||
# GPU1: Intel Integrated Graphics
|
||||
gpu_type="all"
|
||||
|
||||
|
||||
# Resolution
|
||||
|
||||
|
||||
# Display refresh rate next to each monitor
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --refresh_rate
|
||||
# Supports: Doesn't work on Windows.
|
||||
#
|
||||
# Example:
|
||||
# on: '1920x1080 @ 60Hz'
|
||||
# off: '1920x1080'
|
||||
refresh_rate="off"
|
||||
|
||||
|
||||
# Gtk Theme / Icons / Font
|
||||
|
||||
|
||||
# Shorten output of GTK Theme / Icons / Font
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --gtk_shorthand
|
||||
#
|
||||
# Example:
|
||||
# on: 'Numix, Adwaita'
|
||||
# off: 'Numix [GTK2], Adwaita [GTK3]'
|
||||
gtk_shorthand="off"
|
||||
|
||||
|
||||
# Enable/Disable gtk2 Theme / Icons / Font
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --gtk2
|
||||
#
|
||||
# Example:
|
||||
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||
# off: 'Adwaita [GTK3]'
|
||||
gtk2="on"
|
||||
|
||||
# Enable/Disable gtk3 Theme / Icons / Font
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --gtk3
|
||||
#
|
||||
# Example:
|
||||
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||
# off: 'Numix [GTK2]'
|
||||
gtk3="on"
|
||||
|
||||
|
||||
# IP Address
|
||||
|
||||
|
||||
# Website to ping for the public IP
|
||||
#
|
||||
# Default: 'http://ident.me'
|
||||
# Values: 'url'
|
||||
# Flag: --ip_host
|
||||
public_ip_host="http://ident.me"
|
||||
|
||||
# Public IP timeout.
|
||||
#
|
||||
# Default: '2'
|
||||
# Values: 'int'
|
||||
# Flag: --ip_timeout
|
||||
public_ip_timeout=2
|
||||
|
||||
|
||||
# Desktop Environment
|
||||
|
||||
|
||||
# Show Desktop Environment version
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --de_version
|
||||
de_version="off"
|
||||
|
||||
|
||||
# Disk
|
||||
|
||||
|
||||
# Which disks to display.
|
||||
# The values can be any /dev/sdXX, mount point or directory.
|
||||
# NOTE: By default we only show the disk info for '/'.
|
||||
#
|
||||
# Default: '/'
|
||||
# Values: '/', '/dev/sdXX', '/path/to/drive'.
|
||||
# Flag: --disk_show
|
||||
#
|
||||
# Example:
|
||||
# disk_show=('/' '/dev/sdb1'):
|
||||
# 'Disk (/): 74G / 118G (66%)'
|
||||
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
|
||||
#
|
||||
# disk_show=('/'):
|
||||
# 'Disk (/): 74G / 118G (66%)'
|
||||
#
|
||||
disk_show=('/')
|
||||
|
||||
# Disk subtitle.
|
||||
# What to append to the Disk subtitle.
|
||||
#
|
||||
# Default: 'mount'
|
||||
# Values: 'mount', 'name', 'dir', 'none'
|
||||
# Flag: --disk_subtitle
|
||||
#
|
||||
# Example:
|
||||
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
|
||||
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
|
||||
#
|
||||
# mount: 'Disk (/): 74G / 118G (66%)'
|
||||
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
|
||||
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
|
||||
#
|
||||
# dir: 'Disk (/): 74G / 118G (66%)'
|
||||
# 'Disk (Local Disk): 74G / 118G (66%)'
|
||||
# 'Disk (Videos): 74G / 118G (66%)'
|
||||
#
|
||||
# none: 'Disk: 74G / 118G (66%)'
|
||||
# 'Disk: 74G / 118G (66%)'
|
||||
# 'Disk: 74G / 118G (66%)'
|
||||
disk_subtitle="mount"
|
||||
|
||||
# Disk percent.
|
||||
# Show/Hide disk percent.
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --disk_percent
|
||||
#
|
||||
# Example:
|
||||
# on: 'Disk (/): 74G / 118G (66%)'
|
||||
# off: 'Disk (/): 74G / 118G'
|
||||
disk_percent="on"
|
||||
|
||||
|
||||
# Song
|
||||
|
||||
|
||||
# Manually specify a music player.
|
||||
#
|
||||
# Default: 'auto'
|
||||
# Values: 'auto', 'player-name'
|
||||
# Flag: --music_player
|
||||
#
|
||||
# Available values for 'player-name':
|
||||
#
|
||||
# amarok
|
||||
# audacious
|
||||
# banshee
|
||||
# bluemindo
|
||||
# clementine
|
||||
# cmus
|
||||
# deadbeef
|
||||
# deepin-music
|
||||
# dragon
|
||||
# elisa
|
||||
# exaile
|
||||
# gnome-music
|
||||
# gmusicbrowser
|
||||
# gogglesmm
|
||||
# guayadeque
|
||||
# io.elementary.music
|
||||
# iTunes
|
||||
# juk
|
||||
# lollypop
|
||||
# mocp
|
||||
# mopidy
|
||||
# mpd
|
||||
# muine
|
||||
# netease-cloud-music
|
||||
# pogo
|
||||
# pragha
|
||||
# qmmp
|
||||
# quodlibet
|
||||
# rhythmbox
|
||||
# sayonara
|
||||
# smplayer
|
||||
# spotify
|
||||
# strawberry
|
||||
# tomahawk
|
||||
# vlc
|
||||
# xmms2d
|
||||
# xnoise
|
||||
# yarock
|
||||
music_player="auto"
|
||||
|
||||
# Format to display song information.
|
||||
#
|
||||
# Default: '%artist% - %album% - %title%'
|
||||
# Values: '%artist%', '%album%', '%title%'
|
||||
# Flag: --song_format
|
||||
#
|
||||
# Example:
|
||||
# default: 'Song: Jet - Get Born - Sgt Major'
|
||||
song_format="%artist% - %album% - %title%"
|
||||
|
||||
# Print the Artist, Album and Title on separate lines
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --song_shorthand
|
||||
#
|
||||
# Example:
|
||||
# on: 'Artist: The Fratellis'
|
||||
# 'Album: Costello Music'
|
||||
# 'Song: Chelsea Dagger'
|
||||
#
|
||||
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
|
||||
song_shorthand="off"
|
||||
|
||||
# 'mpc' arguments (specify a host, password etc).
|
||||
#
|
||||
# Default: ''
|
||||
# Example: mpc_args=(-h HOST -P PASSWORD)
|
||||
mpc_args=()
|
||||
|
||||
|
||||
# Text Colors
|
||||
|
||||
|
||||
# Text Colors
|
||||
#
|
||||
# Default: 'distro'
|
||||
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||
# Flag: --colors
|
||||
#
|
||||
# Each number represents a different part of the text in
|
||||
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
|
||||
#
|
||||
# Example:
|
||||
# colors=(distro) - Text is colored based on Distro colors.
|
||||
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
|
||||
colors=(distro)
|
||||
|
||||
|
||||
# Text Options
|
||||
|
||||
|
||||
# Toggle bold text
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --bold
|
||||
bold="on"
|
||||
|
||||
# Enable/Disable Underline
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --underline
|
||||
underline_enabled="on"
|
||||
|
||||
# Underline character
|
||||
#
|
||||
# Default: '-'
|
||||
# Values: 'string'
|
||||
# Flag: --underline_char
|
||||
underline_char="-"
|
||||
|
||||
|
||||
# Info Separator
|
||||
# Replace the default separator with the specified string.
|
||||
#
|
||||
# Default: ':'
|
||||
# Flag: --separator
|
||||
#
|
||||
# Example:
|
||||
# separator="->": 'Shell-> bash'
|
||||
# separator=" =": 'WM = dwm'
|
||||
separator=":"
|
||||
|
||||
|
||||
# Color Blocks
|
||||
|
||||
|
||||
# Color block range
|
||||
# The range of colors to print.
|
||||
#
|
||||
# Default: '0', '15'
|
||||
# Values: 'num'
|
||||
# Flag: --block_range
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# Display colors 0-7 in the blocks. (8 colors)
|
||||
# neofetch --block_range 0 7
|
||||
#
|
||||
# Display colors 0-15 in the blocks. (16 colors)
|
||||
# neofetch --block_range 0 15
|
||||
block_range=(0 15)
|
||||
|
||||
# Toggle color blocks
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --color_blocks
|
||||
color_blocks="on"
|
||||
|
||||
# Color block width in spaces
|
||||
#
|
||||
# Default: '3'
|
||||
# Values: 'num'
|
||||
# Flag: --block_width
|
||||
block_width=3
|
||||
|
||||
# Color block height in lines
|
||||
#
|
||||
# Default: '1'
|
||||
# Values: 'num'
|
||||
# Flag: --block_height
|
||||
block_height=1
|
||||
|
||||
# Color Alignment
|
||||
#
|
||||
# Default: 'auto'
|
||||
# Values: 'auto', 'num'
|
||||
# Flag: --col_offset
|
||||
#
|
||||
# Number specifies how far from the left side of the terminal (in spaces) to
|
||||
# begin printing the columns, in case you want to e.g. center them under your
|
||||
# text.
|
||||
# Example:
|
||||
# col_offset="auto" - Default behavior of neofetch
|
||||
# col_offset=7 - Leave 7 spaces then print the colors
|
||||
col_offset="auto"
|
||||
|
||||
# Progress Bars
|
||||
|
||||
|
||||
# Bar characters
|
||||
#
|
||||
# Default: '-', '='
|
||||
# Values: 'string', 'string'
|
||||
# Flag: --bar_char
|
||||
#
|
||||
# Example:
|
||||
# neofetch --bar_char 'elapsed' 'total'
|
||||
# neofetch --bar_char '-' '='
|
||||
bar_char_elapsed="-"
|
||||
bar_char_total="="
|
||||
|
||||
# Toggle Bar border
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --bar_border
|
||||
bar_border="on"
|
||||
|
||||
# Progress bar length in spaces
|
||||
# Number of chars long to make the progress bars.
|
||||
#
|
||||
# Default: '15'
|
||||
# Values: 'num'
|
||||
# Flag: --bar_length
|
||||
bar_length=15
|
||||
|
||||
# Progress bar colors
|
||||
# When set to distro, uses your distro's logo colors.
|
||||
#
|
||||
# Default: 'distro', 'distro'
|
||||
# Values: 'distro', 'num'
|
||||
# Flag: --bar_colors
|
||||
#
|
||||
# Example:
|
||||
# neofetch --bar_colors 3 4
|
||||
# neofetch --bar_colors distro 5
|
||||
bar_color_elapsed="distro"
|
||||
bar_color_total="distro"
|
||||
|
||||
|
||||
# Info display
|
||||
# Display a bar with the info.
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'bar', 'infobar', 'barinfo', 'off'
|
||||
# Flags: --cpu_display
|
||||
# --memory_display
|
||||
# --battery_display
|
||||
# --disk_display
|
||||
#
|
||||
# Example:
|
||||
# bar: '[---=======]'
|
||||
# infobar: 'info [---=======]'
|
||||
# barinfo: '[---=======] info'
|
||||
# off: 'info'
|
||||
cpu_display="off"
|
||||
memory_display="off"
|
||||
battery_display="off"
|
||||
disk_display="off"
|
||||
|
||||
|
||||
# Backend Settings
|
||||
|
||||
|
||||
# Image backend.
|
||||
#
|
||||
# Default: 'ascii'
|
||||
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
|
||||
# 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
|
||||
# Flag: --backend
|
||||
image_backend="ascii"
|
||||
|
||||
# Image Source
|
||||
#
|
||||
# Which image or ascii file to display.
|
||||
#
|
||||
# Default: 'auto'
|
||||
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
|
||||
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
|
||||
# Flag: --source
|
||||
#
|
||||
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
|
||||
# In ascii mode, distro ascii art will be used and in an image mode, your
|
||||
# wallpaper will be used.
|
||||
image_source="auto"
|
||||
|
||||
|
||||
# Ascii Options
|
||||
|
||||
|
||||
# Ascii distro
|
||||
# Which distro's ascii art to display.
|
||||
#
|
||||
# Default: 'auto'
|
||||
# Values: 'auto', 'distro_name'
|
||||
# Flag: --ascii_distro
|
||||
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, AOSC,
|
||||
# Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
|
||||
# XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig,
|
||||
# BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
|
||||
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
|
||||
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
|
||||
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
|
||||
# DesaOS, Devuan, DracOS, DragonFly, Drauger, Elementary,
|
||||
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
|
||||
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo,
|
||||
# gNewSense, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
|
||||
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
|
||||
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
|
||||
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
|
||||
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
|
||||
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
|
||||
# NuTyX, OBRevenge, OpenBSD, OpenIndiana, OpenMandriva,
|
||||
# OpenWrt, osmc, Oracle, PacBSD, Parabola, Pardus, Parrot,
|
||||
# Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
|
||||
# PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian,
|
||||
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata,
|
||||
# Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||
# SharkLinux, Siduction, Slackware, SliTaz, SmartOS, Solus,
|
||||
# Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap,
|
||||
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
||||
# Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, Ubuntu,
|
||||
# Void, Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX
|
||||
# have ascii logos
|
||||
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
|
||||
# Use '{distro name}_old' to use the old logos.
|
||||
# NOTE: Ubuntu has flavor variants.
|
||||
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
|
||||
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
|
||||
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
||||
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
|
||||
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
|
||||
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
|
||||
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
|
||||
# postmarketOS, and Void have a smaller logo variant.
|
||||
# Use '{distro name}_small' to use the small variants.
|
||||
ascii_distro="auto"
|
||||
|
||||
# Ascii Colors
|
||||
#
|
||||
# Default: 'distro'
|
||||
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||
# Flag: --ascii_colors
|
||||
#
|
||||
# Example:
|
||||
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
|
||||
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
|
||||
ascii_colors=(distro)
|
||||
|
||||
# Bold ascii logo
|
||||
# Whether or not to bold the ascii logo.
|
||||
#
|
||||
# Default: 'on'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --ascii_bold
|
||||
ascii_bold="on"
|
||||
|
||||
|
||||
# Image Options
|
||||
|
||||
|
||||
# Image loop
|
||||
# Setting this to on will make neofetch redraw the image constantly until
|
||||
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
|
||||
#
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
# Flag: --loop
|
||||
image_loop="off"
|
||||
|
||||
# Thumbnail directory
|
||||
#
|
||||
# Default: '~/.cache/thumbnails/neofetch'
|
||||
# Values: 'dir'
|
||||
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||
|
||||
# Crop mode
|
||||
#
|
||||
# Default: 'normal'
|
||||
# Values: 'normal', 'fit', 'fill'
|
||||
# Flag: --crop_mode
|
||||
#
|
||||
# See this wiki page to learn about the fit and fill options.
|
||||
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
|
||||
crop_mode="normal"
|
||||
|
||||
# Crop offset
|
||||
# Note: Only affects 'normal' crop mode.
|
||||
#
|
||||
# Default: 'center'
|
||||
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
||||
# 'east', 'southwest', 'south', 'southeast'
|
||||
# Flag: --crop_offset
|
||||
crop_offset="center"
|
||||
|
||||
# Image size
|
||||
# The image is half the terminal width by default.
|
||||
#
|
||||
# Default: 'auto'
|
||||
# Values: 'auto', '00px', '00%', 'none'
|
||||
# Flags: --image_size
|
||||
# --size
|
||||
image_size="auto"
|
||||
|
||||
# Gap between image and text
|
||||
#
|
||||
# Default: '3'
|
||||
# Values: 'num', '-num'
|
||||
# Flag: --gap
|
||||
gap=3
|
||||
|
||||
# Image offsets
|
||||
# Only works with the w3m backend.
|
||||
#
|
||||
# Default: '0'
|
||||
# Values: 'px'
|
||||
# Flags: --xoffset
|
||||
# --yoffset
|
||||
yoffset=0
|
||||
xoffset=0
|
||||
|
||||
# Image background color
|
||||
# Only works with the w3m backend.
|
||||
#
|
||||
# Default: ''
|
||||
# Values: 'color', 'blue'
|
||||
# Flag: --bg_color
|
||||
background_color=
|
||||
|
||||
|
||||
# Misc Options
|
||||
|
||||
# Stdout mode
|
||||
# Turn off all colors and disables image backend (ASCII/Image).
|
||||
# Useful for piping into another command.
|
||||
# Default: 'off'
|
||||
# Values: 'on', 'off'
|
||||
stdout="off"
|
||||
@@ -0,0 +1,98 @@
|
||||
# Shadow
|
||||
shadow = true;
|
||||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
log-level = "warn";
|
||||
# log-file = "/path/to/your/log/file";
|
||||
# shadow-opacity = 0.7;
|
||||
# shadow-red = 0.0;
|
||||
# shadow-green = 0.0;
|
||||
# shadow-blue = 0.0;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
"class_g = 'Conky'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
|
||||
# Opacity
|
||||
inactive-opacity = 0.95;
|
||||
# active-opacity = 0.8;
|
||||
frame-opacity = 0.95;
|
||||
inactive-opacity-override = false;
|
||||
# inactive-dim = 0.2;
|
||||
# inactive-dim-fixed = true;
|
||||
blur-background = true;
|
||||
# blur-background-frame = true;
|
||||
# blur-kern = "3x3gaussian";
|
||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||
# blur-background-fixed = true;
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
blur:
|
||||
{
|
||||
method = "kernel";
|
||||
size = 10;
|
||||
deviation = 5.0;
|
||||
};
|
||||
|
||||
opacity-rule = [
|
||||
"100:class_g = 'vlc'",
|
||||
"100:class_g = 'YACReader'",
|
||||
"100:class_g = 'Zathura'",
|
||||
"100:class_g = 'evince'",
|
||||
"100:class_g = 'Gnome-mpv'"
|
||||
];
|
||||
|
||||
# Fading
|
||||
fading = true;
|
||||
# fade-delta = 30;
|
||||
fade-in-step = 0.10;
|
||||
fade-out-step = 0.10;
|
||||
# no-fading-openclose = true;
|
||||
# no-fading-destroyed-argb = true;
|
||||
fade-exclude = [ ];
|
||||
|
||||
# Other
|
||||
backend = "glx";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
# use-ewmh-active-win = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
vsync = true;
|
||||
# sw-opti = true;
|
||||
# unredir-if-possible = true;
|
||||
# unredir-if-possible-delay = 5000;
|
||||
# unredir-if-possible-exclude = [ ];
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
# resize-damage = 1;
|
||||
|
||||
# GLX backend
|
||||
#glx-no-stencil = true;
|
||||
#glx-no-rebind-pixmap = true;
|
||||
# xrender-sync-fence = true;
|
||||
use-damage = false;
|
||||
|
||||
# Window type settings
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
|
||||
dock = { shadow = false; }
|
||||
dnd = { shadow = false; }
|
||||
popup_menu = { opacity = 0.95; }
|
||||
dropdown_menu = { opacity = 0.95; }
|
||||
};
|
||||
@@ -0,0 +1,283 @@
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;[color]
|
||||
|
||||
;bg = #1F1F1F
|
||||
;fg = #FFFFFF
|
||||
;fg-alt = #A9ABB0
|
||||
|
||||
;acolor = #00897b
|
||||
;curgent = #e53935
|
||||
;coccupied = #1e88e5
|
||||
|
||||
;## 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
|
||||
|
||||
[color]
|
||||
bg = ${xrdb:color0:#222}
|
||||
fg = ${xrdb:color7:#222}
|
||||
fg-alt = ${xrdb:color7:#222}
|
||||
coccupied = ${xrdb:color1:#222}
|
||||
curgent = ${xrdb:color2:#222}
|
||||
acolor = ${xrdb:color3:#222}
|
||||
|
||||
;==========================================================
|
||||
|
||||
[bar/main]
|
||||
monitor =
|
||||
width = 100%
|
||||
height = 2.5%
|
||||
;offset-x = 50%
|
||||
;offset-y = 2%
|
||||
bottom = true
|
||||
fixed-center = true
|
||||
line-size = 0
|
||||
|
||||
dpi = 128
|
||||
|
||||
background = ${color.bg}
|
||||
foreground = ${color.fg}
|
||||
|
||||
border-size = 3
|
||||
border-color = ${color.bg}
|
||||
|
||||
module-margin-left = 1
|
||||
module-margin-right = 1
|
||||
|
||||
;==========================================================
|
||||
|
||||
font-0 = "Fantasque Sans Mono:pixelsize=12;4"
|
||||
font-1 = "Material Icons:size=13;6"
|
||||
|
||||
;==========================================================
|
||||
|
||||
cursor-click = pointer
|
||||
|
||||
;tray-position = right
|
||||
;tray-padding = 0
|
||||
;tray-maxsize = 16
|
||||
enable-ipc = true
|
||||
|
||||
scroll-up = i3wm-wsnext
|
||||
scroll-down = i3wm-wsprev
|
||||
|
||||
;== Module Location ========================================================
|
||||
|
||||
modules-left = menu workspaces
|
||||
;term files browser settings
|
||||
modules-center = mpd
|
||||
modules-right = pkg volume battery network date powermenu
|
||||
|
||||
;== Modules ========================================================
|
||||
|
||||
[module/menu]
|
||||
type = custom/text
|
||||
;content =
|
||||
content =
|
||||
content-padding = 1
|
||||
content-background = ${color.acolor}
|
||||
content-foreground = ${color.fg}
|
||||
|
||||
click-left = rofi
|
||||
click-middle = $HOME/.config/polybar/scripts/menu_full
|
||||
|
||||
;click-left = $HOME/.config/polybar/scripts/menu
|
||||
;click-right = $HOME/.config/polybar/scripts/color-switch.sh
|
||||
|
||||
[module/workspaces]
|
||||
type = internal/xworkspaces
|
||||
pin-workspaces = false
|
||||
enable-click = true
|
||||
enable-scroll = true
|
||||
format-padding = 0
|
||||
|
||||
icon-0 = 1;
|
||||
icon-1 = 2;
|
||||
icon-2 = 3;
|
||||
icon-3 = 4;
|
||||
icon-4 = 5;
|
||||
icon-5 = 6;
|
||||
icon-6 = 7;
|
||||
icon-7 = 8;
|
||||
icon-default =
|
||||
|
||||
format = <label-state>
|
||||
label-active = %icon%
|
||||
label-occupied = %icon%
|
||||
label-urgent = %icon%
|
||||
label-empty = %icon%
|
||||
|
||||
label-occupied-padding = 1
|
||||
label-empty-padding = 1
|
||||
label-urgent-padding = 1
|
||||
label-active-padding = 1
|
||||
|
||||
label-active-foreground = ${color.acolor}
|
||||
label-urgent-foreground = ${color.curgent}
|
||||
label-empty-foreground = ${color.fg}
|
||||
label-occupied-foreground = ${color.coccupied}
|
||||
|
||||
label-active-underline = ${color.acolor}
|
||||
label-urgent-underline = ${color.curgent}
|
||||
label-occupied-underline = ${color.coccupied}
|
||||
|
||||
[module/term]
|
||||
type = custom/text
|
||||
content =
|
||||
content-foreground = ${color.fg-alt}
|
||||
click-left = termite &
|
||||
click-middle = urxvt &
|
||||
click-right = xfce4-terminal &
|
||||
|
||||
[module/files]
|
||||
type = custom/text
|
||||
content =
|
||||
content-padding = 1
|
||||
content-foreground = ${color.fg-alt}
|
||||
click-left = thunar &
|
||||
click-right = ranger &
|
||||
|
||||
[module/browser]
|
||||
type = custom/text
|
||||
content =
|
||||
content-padding = 1
|
||||
content-foreground = ${color.fg-alt}
|
||||
click-left = chromium &
|
||||
click-right = firefox &
|
||||
|
||||
[module/settings]
|
||||
type = custom/text
|
||||
content =
|
||||
content-padding = 1
|
||||
content-foreground = ${color.fg-alt}
|
||||
click-left = xfce4-settings &
|
||||
click-right = lxappearance &
|
||||
|
||||
;==========================================================
|
||||
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
;format-online = <toggle> <label-song>
|
||||
format-online = <label-song>
|
||||
|
||||
icon-play =
|
||||
icon-pause =
|
||||
|
||||
label-song-maxlen = 125
|
||||
label-song-ellipsis = true
|
||||
|
||||
;==========================================================
|
||||
|
||||
[module/pkg]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/updates.sh
|
||||
;exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
|
||||
;label = %{A1:termite -e "aurman -Syyu" & disown:} %{A3:termite -e "aurman -Syyu" & disown:}%output%%{A} %{A}
|
||||
tail = true
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
full-at = 99
|
||||
time-format = %I:%M
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
;label-charging = %percentage%% (%time%)
|
||||
label-charging = %percentage%%
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
;label-discharging = %percentage%% (%time%)
|
||||
label-discharging = %percentage%%
|
||||
format-full = <label-full>
|
||||
|
||||
format-full-prefix = " "
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
ramp-capacity-0-foreground = ${color.red}
|
||||
ramp-capacity-foreground = ${color.fg}
|
||||
bar-capacity-width = 10
|
||||
|
||||
animation-charging-0 = ""
|
||||
animation-charging-1 = ""
|
||||
animation-charging-2 = ""
|
||||
animation-charging-3 = ""
|
||||
animation-charging-4 = ""
|
||||
|
||||
animation-charging-framerate = 750
|
||||
|
||||
[module/volume]
|
||||
type = internal/alsa
|
||||
;speaker-mixer = Speaker
|
||||
;headphone-mixer = Headphone
|
||||
;headphone-id = 16
|
||||
;mapped = true
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
label-volume = %percentage%%
|
||||
format-muted-prefix = " "
|
||||
label-muted = MUTE
|
||||
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
ramp-volume-4 =
|
||||
ramp-volume-5 =
|
||||
ramp-volume-6 =
|
||||
|
||||
[module/network]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/check-network
|
||||
click-left = networkmanager_dmenu &
|
||||
click-right = networkmanager_dmenu &
|
||||
tail = true
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 30
|
||||
label = %time%
|
||||
time = %I:%M %p
|
||||
time-alt = %Y-%m-%d
|
||||
|
||||
[module/powermenu]
|
||||
type = custom/text
|
||||
content =
|
||||
content-padding = 1
|
||||
content-background = ${color.acolor}
|
||||
content-foreground = ${color.fg}
|
||||
click-left = $HOME/.config/polybar/scripts/sysmenu
|
||||
click-right = $HOME/.config/polybar/scripts/sysmenu
|
||||
|
||||
;== EOF ========================================================
|
||||
Binary file not shown.
Binary file not shown.
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# 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 polybar
|
||||
polybar main -c $HOME/.config/polybar/config.ini &
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Executable
+117
@@ -0,0 +1,117 @@
|
||||
#!/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:
|
||||
Executable
+100
@@ -0,0 +1,100 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Github : adi1090x
|
||||
# Custom Rofi Script
|
||||
|
||||
BORDER="#1F1F1F"
|
||||
SEPARATOR="#1F1F1F"
|
||||
FOREGROUND="#FFFFFF"
|
||||
BACKGROUND="#1F1F1F"
|
||||
BACKGROUND_ALT="#252525"
|
||||
HIGHLIGHT_BACKGROUND="#00897b"
|
||||
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||
|
||||
BLACK="#000000"
|
||||
WHITE="#ffffff"
|
||||
RED="#e53935"
|
||||
GREEN="#43a047"
|
||||
YELLOW="#fdd835"
|
||||
BLUE="#1e88e5"
|
||||
MAGENTA="#00897b"
|
||||
CYAN="#00acc1"
|
||||
PINK="#d81b60"
|
||||
PURPLE="#8e24aa"
|
||||
INDIGO="#3949ab"
|
||||
TEAL="#00897b"
|
||||
LIME="#c0ca33"
|
||||
AMBER="#ffb300"
|
||||
ORANGE="#fb8c00"
|
||||
BROWN="#6d4c41"
|
||||
GREY="#757575"
|
||||
BLUE_GREY="#546e7a"
|
||||
DEEP_PURPLE="#5e35b1"
|
||||
DEEP_ORANGE="#f4511e"
|
||||
LIGHT_BLUE="#039be5"
|
||||
LIGHT_GREEN="#7cb342"
|
||||
|
||||
SDIR="$HOME/.config/polybar/scripts"
|
||||
|
||||
# Launch Rofi
|
||||
MENU="$(rofi -no-lazy-grab -sep "|" -dmenu -i -p 'Style :' \
|
||||
-hide-scrollbar true \
|
||||
-bw 0 \
|
||||
-lines 5 \
|
||||
-line-padding 10 \
|
||||
-padding 20 \
|
||||
-width 30 \
|
||||
-xoffset 68 -yoffset -70 \
|
||||
-location 7 \
|
||||
-columns 2 \
|
||||
-show-icons -icon-theme "Papirus" \
|
||||
-font "Fantasque Sans Mono 10" \
|
||||
-color-enabled true \
|
||||
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
<<< "♥ amber|♥ blue|♥ blue-grey|♥ brown|♥ cyan|♥ deep-orange|♥ deep-purple|♥ green|♥ grey|♥ indigo|♥ blue-light|♥ green-light|♥ 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|♥ blue-light-dark|♥ green-light-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 ;;
|
||||
*blue-light) $SDIR/colors-light.sh -light-blue ;;
|
||||
*green-light) $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 ;;
|
||||
*blue-light-dark) $SDIR/colors-dark.sh -light-blue ;;
|
||||
*green-light-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
|
||||
Executable
+263
@@ -0,0 +1,263 @@
|
||||
#!/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 = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #ffb300/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #1e88e5/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #546e7a/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-brown" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #6d4c41/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-cyan" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #00acc1/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #f4511e/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #5e35b1/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #43a047/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #757575/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-indigo" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #3949ab/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #039be5/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #7cb342/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-lime" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #c0ca33/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #fb8c00/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-pink" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #d81b60/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #8e24aa/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-red" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #e53935/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-teal" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #00897b/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/color-switch.sh
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-yellow" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #fdd835/g' $PDIR/config.ini
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/menu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/menu_full
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/sysmenu
|
||||
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/color-switch.sh
|
||||
# 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
|
||||
Executable
+187
@@ -0,0 +1,187 @@
|
||||
#!/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 = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #ffb300/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #1e88e5/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-blue-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #546e7a/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-brown" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #6d4c41/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-cyan" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #00acc1/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #f4511e/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-deep-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #5e35b1/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #43a047/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-grey" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #757575/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-indigo" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #3949ab/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-blue" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #039be5/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-light-green" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #7cb342/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-lime" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #c0ca33/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-orange" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #fb8c00/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-pink" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #d81b60/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-purple" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #8e24aa/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-red" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #e53935/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-teal" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #00897b/g' $PDIR/config.ini
|
||||
# Restarting polybar
|
||||
$LAUNCH &
|
||||
|
||||
elif [[ $1 = "-yellow" ]]; then
|
||||
# Replacing colors
|
||||
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||
sed -i -e 's/acolor = .*/acolor = #fdd835/g' $PDIR/config.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
|
||||
Executable
+63
@@ -0,0 +1,63 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Custom Rofi Script
|
||||
|
||||
BORDER="#1F1F1F"
|
||||
SEPARATOR="#1F1F1F"
|
||||
FOREGROUND="#FFFFFF"
|
||||
BACKGROUND="#1F1F1F"
|
||||
BACKGROUND_ALT="#252525"
|
||||
HIGHLIGHT_BACKGROUND="#00897b"
|
||||
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||
|
||||
BLACK="#000000"
|
||||
WHITE="#ffffff"
|
||||
RED="#e53935"
|
||||
GREEN="#43a047"
|
||||
YELLOW="#fdd835"
|
||||
BLUE="#1e88e5"
|
||||
MAGENTA="#00897b"
|
||||
CYAN="#00acc1"
|
||||
PINK="#d81b60"
|
||||
PURPLE="#8e24aa"
|
||||
INDIGO="#3949ab"
|
||||
TEAL="#00897b"
|
||||
LIME="#c0ca33"
|
||||
AMBER="#ffb300"
|
||||
ORANGE="#fb8c00"
|
||||
BROWN="#6d4c41"
|
||||
GREY="#757575"
|
||||
BLUE_GREY="#546e7a"
|
||||
DEEP_PURPLE="#5e35b1"
|
||||
DEEP_ORANGE="#f4511e"
|
||||
LIGHT_BLUE="#039be5"
|
||||
LIGHT_GREEN="#7cb342"
|
||||
|
||||
# Launch Rofi
|
||||
rofi -no-lazy-grab -show drun \
|
||||
-display-drun "Applications :" -drun-display-format "{name}" \
|
||||
-hide-scrollbar true \
|
||||
-bw 0 \
|
||||
-lines 10 \
|
||||
-line-padding 10 \
|
||||
-padding 20 \
|
||||
-width 30 \
|
||||
-xoffset 68 -yoffset -70 \
|
||||
-location 7 \
|
||||
-columns 2 \
|
||||
-show-icons -icon-theme "Papirus" \
|
||||
-font "Fantasque Sans Mono 10" \
|
||||
-color-enabled true \
|
||||
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND"
|
||||
|
||||
# More Options
|
||||
# -fullscreen \
|
||||
|
||||
# Theming help
|
||||
# color window = background, border, separator
|
||||
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Custom Rofi Script
|
||||
|
||||
BORDER="#1F1F1F"
|
||||
SEPARATOR="#1F1F1F"
|
||||
FOREGROUND="#FFFFFF"
|
||||
BACKGROUND="#1F1F1F"
|
||||
BACKGROUND_ALT="#252525"
|
||||
HIGHLIGHT_BACKGROUND="#00897b"
|
||||
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||
|
||||
BLACK="#000000"
|
||||
WHITE="#ffffff"
|
||||
RED="#e53935"
|
||||
GREEN="#43a047"
|
||||
YELLOW="#fdd835"
|
||||
BLUE="#1e88e5"
|
||||
MAGENTA="#00897b"
|
||||
CYAN="#00acc1"
|
||||
PINK="#d81b60"
|
||||
PURPLE="#8e24aa"
|
||||
INDIGO="#3949ab"
|
||||
TEAL="#00897b"
|
||||
LIME="#c0ca33"
|
||||
AMBER="#ffb300"
|
||||
ORANGE="#fb8c00"
|
||||
BROWN="#6d4c41"
|
||||
GREY="#757575"
|
||||
BLUE_GREY="#546e7a"
|
||||
DEEP_PURPLE="#5e35b1"
|
||||
DEEP_ORANGE="#f4511e"
|
||||
LIGHT_BLUE="#039be5"
|
||||
LIGHT_GREEN="#7cb342"
|
||||
|
||||
# Launch Rofi
|
||||
rofi -no-lazy-grab -show drun \
|
||||
-display-drun "Applications :" -drun-display-format "{name}" \
|
||||
-hide-scrollbar true \
|
||||
-bw 0 \
|
||||
-lines 10 \
|
||||
-line-padding 15 \
|
||||
-padding 60 \
|
||||
-width 30 \
|
||||
-xoffset 10 -yoffset 40 \
|
||||
-location 1 \
|
||||
-fullscreen \
|
||||
-columns 4 \
|
||||
-show-icons -icon-theme "Papirus" \
|
||||
-font "Fantasque Sans Mono 10" \
|
||||
-color-enabled true \
|
||||
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND"
|
||||
|
||||
# More Options
|
||||
# -fullscreen \
|
||||
|
||||
# Theming help
|
||||
# color window = background, border, separator
|
||||
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
Executable
+69
@@ -0,0 +1,69 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Custom Rofi Script
|
||||
|
||||
BORDER="#1F1F1F"
|
||||
SEPARATOR="#1F1F1F"
|
||||
FOREGROUND="#FFFFFF"
|
||||
BACKGROUND="#1F1F1F"
|
||||
BACKGROUND_ALT="#252525"
|
||||
HIGHLIGHT_BACKGROUND="#00897b"
|
||||
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||
|
||||
BLACK="#000000"
|
||||
WHITE="#ffffff"
|
||||
RED="#e53935"
|
||||
GREEN="#43a047"
|
||||
YELLOW="#fdd835"
|
||||
BLUE="#1e88e5"
|
||||
MAGENTA="#00897b"
|
||||
CYAN="#00acc1"
|
||||
PINK="#d81b60"
|
||||
PURPLE="#8e24aa"
|
||||
INDIGO="#3949ab"
|
||||
TEAL="#00897b"
|
||||
LIME="#c0ca33"
|
||||
AMBER="#ffb300"
|
||||
ORANGE="#fb8c00"
|
||||
BROWN="#6d4c41"
|
||||
GREY="#757575"
|
||||
BLUE_GREY="#546e7a"
|
||||
DEEP_PURPLE="#5e35b1"
|
||||
DEEP_ORANGE="#f4511e"
|
||||
LIGHT_BLUE="#039be5"
|
||||
LIGHT_GREEN="#7cb342"
|
||||
|
||||
# Launch Rofi
|
||||
MENU="$(rofi -no-lazy-grab -sep "|" -dmenu -i -p 'System :' \
|
||||
-hide-scrollbar true \
|
||||
-bw 0 \
|
||||
-lines 4 \
|
||||
-line-padding 10 \
|
||||
-padding 20 \
|
||||
-width 15 \
|
||||
-xoffset -68 -yoffset -70 \
|
||||
-location 5 \
|
||||
-columns 1 \
|
||||
-show-icons -icon-theme "Papirus" \
|
||||
-font "Fantasque Sans Mono 10" \
|
||||
-color-enabled true \
|
||||
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||
<<< " Lock| Logout| Reboot| Shutdown")"
|
||||
case "$MENU" in
|
||||
*Lock) i3lock ;;
|
||||
*Logout) openbox --exit;;
|
||||
*Reboot) systemctl reboot ;;
|
||||
*Shutdown) systemctl -i poweroff
|
||||
esac
|
||||
|
||||
# More Options
|
||||
# -fullscreen \
|
||||
|
||||
# Theming help
|
||||
# color window = background, border, separator
|
||||
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||
Executable
+46
@@ -0,0 +1,46 @@
|
||||
#!/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"
|
||||
elif (( UPDATES > 1 )); then
|
||||
echo " $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
|
||||
@@ -0,0 +1,4 @@
|
||||
configuration {
|
||||
theme: "~/.cache/wal/colors-rofi-dark";
|
||||
font: "Fantasque Sans Mono 12";
|
||||
}
|
||||
Reference in new issue
Block a user