diff options
609 files changed, 0 insertions, 88125 deletions
diff --git a/config/i3/config b/config/i3/config deleted file mode 100644 index 36d5a81..0000000 --- a/config/i3/config +++ /dev/null @@ -1,515 +0,0 @@ -font pango: Noto Sans Regular 10 - -# set the mod key to the winkey: -set $mod Mod4 -set $wallpaper = ~/Images/wallpapers/sky-like-ghibli.png - -exec wal -i $wallpaper - -##################### -# workspace layout: # -##################### - -# default i3 tiling mode: -workspace_layout default - -# i3 stacking layout: -# Each window will be fullscreen and tabbed top to bottom. -#workspace_layout stacking - -# i3 tabbed layout: -# Each new window will open fullscreen as a tab (left to right) -#workspace_layout tabbed - -############################## -# extra options for windows: # -############################## - -#border indicator on windows: -new_window pixel 1 - -# thin borders -# hide_edge_borders both - -# Set inner/outer gaps -gaps inner 10 -gaps outer 30 - -# show window title bars (not officially supported with i3gaps) -#default_border normal -default_border pixel 2 - -# window title alignment -#title_align center - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# switch/iterate between workspaces -bindsym $mod+Tab workspace next -bindsym $mod+Shift+Tab workspace prev - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# switch to workspace with numpad keys -bindcode $mod+87 workspace 1 -bindcode $mod+88 workspace 2 -bindcode $mod+89 workspace 3 -bindcode $mod+83 workspace 4 -bindcode $mod+84 workspace 5 -bindcode $mod+85 workspace 6 -bindcode $mod+79 workspace 7 -bindcode $mod+80 workspace 8 -bindcode $mod+81 workspace 9 -bindcode $mod+90 workspace 10 - -# switch to workspace with numlock numpad keys -bindcode $mod+Mod2+87 workspace $ws1 -bindcode $mod+Mod2+88 workspace $ws2 -bindcode $mod+Mod2+89 workspace $ws3 -bindcode $mod+Mod2+83 workspace $ws4 -bindcode $mod+Mod2+84 workspace $ws5 -bindcode $mod+Mod2+85 workspace $ws6 -bindcode $mod+Mod2+79 workspace $ws7 -bindcode $mod+Mod2+80 workspace $ws8 -bindcode $mod+Mod2+81 workspace $ws9 -bindcode $mod+Mod2+90 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# move focused container to workspace with numpad keys -bindcode $mod+Shift+Mod2+87 move container to workspace $ws1 -bindcode $mod+Shift+Mod2+88 move container to workspace $ws2 -bindcode $mod+Shift+Mod2+89 move container to workspace $ws3 -bindcode $mod+Shift+Mod2+83 move container to workspace $ws4 -bindcode $mod+Shift+Mod2+84 move container to workspace $ws5 -bindcode $mod+Shift+Mod2+85 move container to workspace $ws6 -bindcode $mod+Shift+Mod2+79 move container to workspace $ws7 -bindcode $mod+Shift+Mod2+80 move container to workspace $ws8 -bindcode $mod+Shift+Mod2+81 move container to workspace $ws9 -bindcode $mod+Shift+Mod2+90 move container to workspace $ws10 - -# move focused container to workspace with numpad keys -bindcode $mod+Shift+87 move container to workspace $ws1 -bindcode $mod+Shift+88 move container to workspace $ws2 -bindcode $mod+Shift+89 move container to workspace $ws3 -bindcode $mod+Shift+83 move container to workspace $ws4 -bindcode $mod+Shift+84 move container to workspace $ws5 -bindcode $mod+Shift+85 move container to workspace $ws6 -bindcode $mod+Shift+79 move container to workspace $ws7 -bindcode $mod+Shift+80 move container to workspace $ws8 -bindcode $mod+Shift+81 move container to workspace $ws9 -bindcode $mod+Shift+90 move container to workspace $ws10 - -# resize window (you can also use the mouse for that): -mode "resize" { -# These bindings trigger as soon as you enter the resize mode -# Pressing left will shrink the window's width. -# Pressing right will grow the window's width. -# Pressing up will shrink the window's height. -# Pressing down will grow the window's height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym i resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - -# same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - -# back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} - -bindsym $mod+r mode "resize" - -###################################### -# keybindings for different actions: # -###################################### - -# start a terminal -bindsym $mod+Return exec alacritty - -# kill focused window -bindsym $mod+q kill - -# reload the configuration file -bindsym $mod+Shift+c reload - -# restart i3 inplace (preserves your layout/session, can be used to update i3) -bindsym $mod+Shift+r restart - -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+i focus up -bindsym $mod+l focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+i move up -bindsym $mod+Shift+l move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+g layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# open new empty workspace -bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace - -# Multimedia Keys - -# volume -bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks -bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks - -# gradular volume control -bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 i3blocks -bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 i3blocks - -# mute -bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks - -# audio control -bindsym XF86AudioPlay exec playerctl play -bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -## App shortcuts -bindsym $mod+w exec /usr/bin/vivaldi-stable -bindsym $mod+n exec /usr/bin/thunar - -########################################## -# configuration for workspace behaviour: # -########################################## - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws2 "2" -set $ws1 "1" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# use workspaces on different displays: -# where you have to replace VGA-0/HDMI-0 with the names for your displays -# you can get from xrandr command -workspace $ws1 output HDMI-0 -workspace $ws4 output DP-5 -workspace $ws3 output DP-5 -workspace $ws10 output DP-5 -#workspace $ws3 output HDMI-0 -#workspace $ws4 output HDMI-0 -#workspace $ws5 output HDMI-0 - -# bind program to workspace and focus to them on startup: -assign [class="alacritty"] $ws1 -assign [class="(?i)firefox"] $ws3 -assign [class="Vivaldi-stable"] $ws3 -assign [class="discord"] $ws4 -assign [class="Spotify"] $ws10 -assign [class="spotify"] $ws10 -assign [class="Ymuse"] $ws10 -assign [class="jetbrains-phpstorm"] $ws1 -assign [class="jetbrains-goland"] $ws1 -assign [class="jetbrains-idea"] $ws1 - -# automatic set focus new window if it opens on another workspace then the current: -for_window [class=Xfce4-terminal] focus -for_window [class=Vivaldi-stable] focus -for_window [class=Thunar] focus - -############################################# -# autostart applications/services on login: # -############################################# - -#get auth work with polkit-gnome -exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 - -# dex execute .desktop files + apps using /etc/xdg/autostart. -# when second to i3 a DE is installed or mixed usage of i3 + xfce4 or GNOME -# in this cases better disable dex and use manual starting apps using xdg/autostart -# if enabled you should comment welcome app. -# https://github.com/jceb/dex -#exec --no-startup-id dex -a -s /etc/xdg/autostart/:~/.config/autostart/ -exec --no-startup-id dex --autostart --environment i3 - -# start welcome app -#exec --no-startup-id sh /usr/share/endeavouros/scripts/welcome --startdelay=3 - -# num lock activated -#exec --no-startup-id numlockx on - -# configure multiple keyboard layouts and hotkey to switch (Alt+CAPSLOCK in this example) -#exec --no-startup-id setxkbmap -layout 'us,sk' -variant altgr-intl,qwerty -option 'grp:alt_caps_toggle' - -# start conky: -#exec_always --no-startup-id conky - -# start a script to setup displays -# uncomment the next line, use arandr to setup displays and save the file as monitor: -#exec --no-startup-id ~/.screenlayout/monitor.sh - -# set powersavings for display: -exec --no-startup-id xset s 480 dpms 600 600 600 - -# disable power saving (for example if using xscreensaver) -#exec --no-startup-id xset -dpms - -# use xautolock to use autosuspend rules for mobile devices -# https://wiki.archlinux.org/title/Session_lock#xautolock -#exec --no-startup-id xautolock -time 60 -locker "systemctl suspend" - - -# xscreensaver -# https://www.jwz.org/xscreensaver -#exec --no-startup-id xscreensaver --no-splash - -# Desktop notifications -exec --no-startup-id dbus-launch dunst --config ~/.config/dunst/dunstrc -# alternative if you installed aside with XFCE4: -# exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & - -# autotiling script -# https://github.com/nwg-piotr/autotiling -# `yay -S autotiling ;) (it is in AUR) -#exec_always --no-startup-id autotiling - -# Autostart apps as you like -#exec --no-startup-id sleep 2 && xfce4-terminal -#exec --no-startup-id sleep 3 && thunar - -############### -# system tray # -############### -# if you do not use dex: exec --no-startup-id dex --autostart --environment i3 -# you need to have tray apps started manually one by one: - -# start blueberry app for managing bluetooth devices from tray: -#exec --no-startup-id blueberry-tray - -# networkmanager-applet -#exec --no-startup-id nm-applet - -# clipman-applet -#exec --no-startup-id xfce4-clipman - -################## -# floating rules # -################## - -# set size of floating window -#for_window [window_role="(?i)GtkFileChooserDialog"] resize set 640 480 #to set size of file choose dialog -#for_window [class=".*"] resize set 640 480 #to change size of all floating windows - -# set position of floating window -#for_window [class=".*"] move position center - -###################################### -# color settings for bar and windows # -###################################### - -# Define colors variables: -set $darkbluetrans #08052be6 -set $darkblue #08052b -set $lightblue #5294e2 -set $urgentred #e53935 -set $white #ffffff -set $black #000000 -set $purple #e345ff -set $darkgrey #383c4a -set $grey #b0b5bd -set $mediumgrey #8b8b8b -set $yellowbrown #e1b700 - -set_from_resource $fg i3wm.color7 #f0f0f0 -set_from_resource $bg i3wm.color4 #f0f0f0 -set_from_resource $nbg i3wm.color1 #f0f0f0 - -# define colors for windows: -# class border backgr. text indicator child_border -client.focused $bg $bg $fg $bg $bg -client.focused_inactive $bg $bg $fg $bg $bg -client.unfocused $nbg $bg $fg $bg $nbg -client.urgent $bg $bg $fg $bg $bg -client.placeholder $bg $bg $fg $bg $bg - -client.background $bg - -############################################ -# bar settings (input comes from i3blocks) # -############################################ - -# Start i3bar to display a workspace bar -# (plus the system information i3status finds out, if available) -#bar { -# font pango: Noto Sans Regular 10 - #status_command $HOME/.config/polybar/launch.sh -# position top -# i3bar_command $HOME/.config/polybar/launch.sh -# it could be that you have no primary display set: set one (xrandr --output <output> --primary) -# reference: https://i3wm.org/docs/userguide.html#_tray_output -# tray_output primary -# tray_padding 0 - -# When strip_workspace_numbers is set to yes, -# any workspace that has a name of the form -# “[n][:][NAME]” will display only the name. -#strip_workspace_numbers yes -##strip_workspace_name no - -# colors { -# separator $purple -# background $darkgrey -# statusline $white -# border bg txt indicator -# focused_workspace $mediumgrey $grey $darkgrey $purple -# active_workspace $lightblue $mediumgrey $darkgrey $purple -# inactive_workspace $darkgrey $darkgrey $grey $purple -# urgent_workspace $urgentred $urgentred $white $purple -# } -#} - -# you can add different bars for multidisplay setups on each display: -# set output HDMI-0 to the display you want the bar, --transparency can be set. -# Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: -# https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4 -# #08052be6 --> e6=90% - -# bar { -# font pango: Noto Sans Regular 10 -# status_command i3blocks -c ~/.config/i3/i3blocks-2.conf -# i3bar_command i3bar --transparency -# output HDMI-0 -# position bottom -# -# When strip_workspace_numbers is set to yes, -# any workspace that has a name of the form -# “[n][:][NAME]” will display only the name. -#strip_workspace_numbers yes -##strip_workspace_name no -# -# colors { -# separator $purple -# background $darkbluetrans -# statusline $white -# border bg txt indicator -# focused_workspace $lighterblue $lighterblue $darkblue $purple -# active_workspace $lightdblue $lightdblue $darkblue $purple -# inactive_workspace $darkblue $darkblue $lightdblue $purple -# urgent_workspace $urgentred $urgentred $white $purple -# } -#} - -##################################### -# Application menu handled by rofi: # -##################################### - -## rofi bindings fancy application menu ($mod+d /F9 optional disabled) - -# bindsym $mod+d exec rofi -modi drun -show drun \ -# -config ~/.config/rofi/rofidmenu.rasi - -# bindsym F9 exec rofi -modi drun -show drun \ -# -config ~/.config/rofi/rofidmenu.rasi - -## rofi bindings for window menu ($mod+t /F10 optional disabled) - -bindsym $mod+d exec --no-startup-id ~/.config/rofi/launchers/type-1/launcher.sh -bindsym $mod+Shift+e exec --no-startup-id ~/.config/rofi/powermenu/type-1/powermenu.sh - -# bindsym F10 exec rofi -show window \ -# -config ~/.config/rofi/rofidmenu.rasi - -## rofi bindings to manage clipboard (install rofi-greenclip from the AUR) - -#exec --no-startup-id greenclip daemon>/dev/null -# bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ -# -config ~/.config/rofi/rofidmenu.rasi -exec_always --no-startup-id xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 -r 144.00 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --off --output DP-5 -r 74.97 --mode 1920x1080 --pos 1920x0 --rotate normal - -# Polybar -exec_always --no-startup-id killall -q polybar -exec_always --no-startup-id sleep 1 && sh $HOME/.config/polybar/colorblocks/launch-main.sh -exec_always --no-startup-id sleep 1 && sh $HOME/.config/polybar/colorblocks/launch-external.sh - -exec_always --no-startup-id killall -q picom -exec_always --no-startup-id sleep 3 && picom --config ~/.config/picom/picom.conf - -# run applications -exec spotify -exec vivaldi-stable -exec flatpak run com.discordapp.Discord -exec ymuse - -# Commands for screenshot -# Screenshot -bindsym Print exec --no-startup-id maim "/home/$USER/Images/$(date).png" -bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "/home/$USER/Images/$(date).png" -bindsym Shift+Print exec --no-startup-id maim -s -u "/home/$USER/Images/$(date).png" - -## Clipboard Screenshots -bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png -bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png -bindsym Ctrl+Shift+Print exec --no-startup-id maim -s -u | xclip -selection clipboard -t image/png -i diff --git a/config/nvim/UltiSnips/tex.snippets b/config/nvim/UltiSnips/tex.snippets deleted file mode 100644 index 6971a63..0000000 --- a/config/nvim/UltiSnips/tex.snippets +++ /dev/null @@ -1,673 +0,0 @@ -global !p -texMathZones = ['texMathZone'+x for x in ['A', 'AS', 'B', 'BS', 'C', 'CS', 'D', 'DS', 'E', 'ES', 'F', 'FS', 'G', 'GS', 'H', 'HS', 'I', 'IS', 'J', 'JS', 'K', 'KS', 'L', 'LS', 'DS', 'V', 'W', 'X', 'Y', 'Z']] - -texIgnoreMathZones = ['texMathText'] - -texMathZoneIds = vim.eval('map('+str(texMathZones)+", 'hlID(v:val)')") -texIgnoreMathZoneIds = vim.eval('map('+str(texIgnoreMathZones)+", 'hlID(v:val)')") - -ignore = texIgnoreMathZoneIds[0] - -def math(): - synstackids = vim.eval("synstack(line('.'), col('.') - (col('.')>=2 ? 1 : 0))") - try: - first = next(i for i in reversed(synstackids) if i in texIgnoreMathZoneIds or i in texMathZoneIds) - return first != ignore - except StopIteration: - return False -endglobal - -snippet template "Basic template" b -\documentclass[a4paper]{article} - -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{textcomp} -\usepackage[dutch]{babel} -\usepackage{amsmath, amssymb} - - -% figure support -\usepackage{import} -\usepackage{xifthen} -\pdfminorversion=7 -\usepackage{pdfpages} -\usepackage{transparent} -\newcommand{\incfig}[1]{% - \def\svgwidth{\columnwidth} - \import{./figures/}{#1.pdf_tex} -} - -\pdfsuppresswarningpagegroup=1 - -\begin{document} - $0 -\end{document} -endsnippet - -snippet beg "begin{} / end{}" bA -\\begin{$1} - $0 -\\end{$1} -endsnippet - -priority 100 -snippet ... "ldots" iA -\ldots -endsnippet - -snippet table "Table environment" b -\begin{table}[${1:htpb}] - \centering - \caption{${2:caption}} - \label{tab:${3:label}} - \begin{tabular}{${5:c}} - $0${5/((?<=.)c|l|r)|./(?1: & )/g} - \end{tabular} -\end{table} -endsnippet - -snippet fig "Figure environment" b -\begin{figure}[${1:htpb}] - \centering - ${2:\includegraphics[width=0.8\textwidth]{$3}} - \caption{${4:$3}} - \label{fig:${5:${3/\W+/-/g}}} -\end{figure} -endsnippet - -snippet enum "Enumerate" bA -\begin{enumerate} - \item $0 -\end{enumerate} -endsnippet - -snippet item "Itemize" bA -\begin{itemize} - \item $0 -\end{itemize} -endsnippet - -snippet desc "Description" b -\begin{description} - \item[$1] $0 -\end{description} -endsnippet - -snippet pac "Package" b -\usepackage[${1:options}]{${2:package}}$0 -endsnippet - -snippet => "implies" Ai -\implies -endsnippet - -snippet <=> "equivalent" Ai -\iff -endsnippet - -snippet =< "implied by" Ai -\impliedby -endsnippet - -context "math()" -snippet iff "iff" Ai -\iff -endsnippet - -snippet mk "Math" wA -$${1}$`!p -if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']: - snip.rv = ' ' -else: - snip.rv = '' -`$2 -endsnippet - -snippet dm "Math" wA -\[ -${1:${VISUAL}} -\] $0 -endsnippet - -snippet ali "Align" bA -\begin{align*} - ${1:${VISUAL}} -.\end{align*} -endsnippet - - -context "math()" -snippet // "Fraction" iA -\\frac{$1}{$2}$0 -endsnippet - -snippet / "Fraction" i -\\frac{${VISUAL}}{$1}$0 -endsnippet - -context "math()" -snippet '((\d+)|(\d*)(\\)?([A-Za-z]+)((\^|_)(\{\d+\}|\d))*)/' "symbol frac" wrA -\\frac{`!p snip.rv = match.group(1)`}{$1}$0 -endsnippet - -priority 1000 -context "math()" -snippet '^.*\)/' "() frac" wrA -`!p -stripped = match.string[:-1] -depth = 0 -i = len(stripped) - 1 -while True: - if stripped[i] == ')': depth += 1 - if stripped[i] == '(': depth -= 1 - if depth == 0: break; - i-=1 -snip.rv = stripped[0:i] + "\\frac{" + stripped[i+1:-1] + "}" -`{$1}$0 -endsnippet - -context "math()" -snippet '([A-Za-z])(\d)' "auto subscript" wrA -`!p snip.rv = match.group(1)`_`!p snip.rv = match.group(2)` -endsnippet - -context "math()" -snippet '([A-Za-z])_(\d|[a-z]|\\)' "auto subscript2" wrA -`!p snip.rv = match.group(1)`_{`!p snip.rv = match.group(2)`$0} -endsnippet - - -snippet sympy "sympyblock " w -sympy $1 sympy$0 -endsnippet - -priority 10000 -snippet 'sympy(.*)sympy' "sympy" wr -`!p -from sympy import * -x, y, z, t = symbols('x y z t') -k, m, n = symbols('k m n', integer=True) -f, g, h = symbols('f g h', cls=Function) -init_printing() -snip.rv = eval('latex(' + match.group(1).replace('\\', '').replace('^', '**').replace('{', '(').replace('}', ')') + ')') -` -endsnippet - -priority 1000 -snippet math "mathematicablock" w -math $1 math$0 -endsnippet - -priority 10000 -snippet 'math(.*)math' "math" wr -`!p -import subprocess -code = match.group(1) -code = 'ToString[' + code + ', TeXForm]' -snip.rv = subprocess.check_output(['wolframscript', '-code', code]) -` -endsnippet - -snippet == "equals" iA -&= $1 \\\\ -endsnippet - -snippet != "equals" iA -\neq -endsnippet - -context "math()" -snippet ceil "ceil" iA -\left\lceil $1 \right\rceil $0 -endsnippet - -context "math()" -snippet floor "floor" iA -\left\lfloor $1 \right\rfloor$0 -endsnippet - -snippet pmat "pmat" iA -\begin{pmatrix} $1 \end{pmatrix} $0 -endsnippet - -snippet bmat "bmat" iA -\begin{bmatrix} $1 \end{bmatrix} $0 -endsnippet - -snippet ( "parens ()" iA -($0) -endsnippet - -snippet lr "left( right)" i -\left( ${1:${VISUAL}} \right) $0 -endsnippet - -snippet lr( "left( right)" i -\left( ${1:${VISUAL}} \right) $0 -endsnippet - -snippet lr| "left| right|" i -\left| ${1:${VISUAL}} \right| $0 -endsnippet - -snippet lr{ "left\{ right\}" i -\left\\{ ${1:${VISUAL}} \right\\} $0 -endsnippet - -snippet lrb "left\{ right\}" i -\left\\{ ${1:${VISUAL}} \right\\} $0 -endsnippet - -snippet lr[ "left[ right]" i -\left[ ${1:${VISUAL}} \right] $0 -endsnippet - -snippet lra "leftangle rightangle" iA -\left<${1:${VISUAL}} \right>$0 -endsnippet - -context "math()" -snippet conj "conjugate" iA -\overline{$1}$0 -endsnippet - -snippet sum "sum" w -\sum_{${1:i=1}}^{${2:\infty}} ${3:a_n z^n} -endsnippet - -snippet taylor "taylor" w -\sum_{${1:k}=${2:0}}^{${3:\infty}} ${4:c_$1} (x-a)^$1 $0 -endsnippet - -snippet lim "limit" w -\lim_{${1:n} \to ${2:\infty}} -endsnippet - -snippet limsup "limsup" w -\limsup_{${1:n} \to ${2:\infty}} -endsnippet - -snippet prod "product" w -\prod_{${1:n=${2:1}}}^{${3:\infty}} ${4:${VISUAL}} $0 -endsnippet - -snippet part "d/dx" w -\frac{\partial ${1:V}}{\partial ${2:x}} $0 -endsnippet - -context "math()" -snippet sq "\sqrt{}" iA -\sqrt{${1:${VISUAL}}} $0 -endsnippet - -context "math()" -snippet sr "^2" iA -^2 -endsnippet - -context "math()" -snippet cb "^3" iA -^3 -endsnippet - -context "math()" -snippet td "to the ... power" iA -^{$1}$0 -endsnippet - -context "math()" -snippet rd "to the ... power" iA -^{($1)}$0 -endsnippet - -snippet __ "subscript" iA -_{$1}$0 -endsnippet - -snippet ooo "\infty" iA -\infty -endsnippet - -snippet rij "mrij" i -(${1:x}_${2:n})_{${3:$2}\\in${4:\\N}}$0 -endsnippet - -snippet <= "leq" iA -\le -endsnippet - -snippet >= "geq" iA -\ge -endsnippet - -context "math()" -snippet EE "geq" iA -\exists -endsnippet - -context "math()" -snippet AA "forall" iA -\forall -endsnippet - -context "math()" -snippet xnn "xn" iA -x_{n} -endsnippet - -context "math()" -snippet ynn "yn" iA -y_{n} -endsnippet - - -context "math()" -snippet xii "xi" iA -x_{i} -endsnippet - -context "math()" -snippet yii "yi" iA -y_{i} -endsnippet - -context "math()" -snippet xjj "xj" iA -x_{j} -endsnippet - -context "math()" -snippet yjj "yj" iA -y_{j} -endsnippet - -context "math()" -snippet xp1 "x" iA -x_{n+1} -endsnippet - -context "math()" -snippet xmm "x" iA -x_{m} -endsnippet - -snippet R0+ "R0+" iA -\\R_0^+ -endsnippet - -snippet plot "Plot" w -\begin{figure}[$1] - \centering - \begin{tikzpicture} - \begin{axis}[ - xmin= ${2:-10}, xmax= ${3:10}, - ymin= ${4:-10}, ymax = ${5:10}, - axis lines = middle, - ] - \addplot[domain=$2:$3, samples=${6:100}]{$7}; - \end{axis} - \end{tikzpicture} - \caption{$8} - \label{${9:$8}} -\end{figure} -endsnippet - -snippet nn "Tikz node" w -\node[$5] (${1/[^0-9a-zA-Z]//g}${2}) ${3:at (${4:0,0}) }{$${1}$}; -$0 -endsnippet - -context "math()" -snippet mcal "mathcal" iA -\mathcal{$1}$0 -endsnippet - -snippet lll "l" iA -\ell -endsnippet - -context "math()" -snippet nabl "nabla" iA -\nabla -endsnippet - -context "math()" -snippet xx "cross" iA -\times -endsnippet - -priority 100 -snippet ** "cdot" iA -\cdot -endsnippet - -context "math()" -snippet norm "norm" iA -\|$1\|$0 -endsnippet - -priority 100 -context "math()" -snippet '(?<!\\)(sin|cos|arccot|cot|csc|ln|log|exp|star|perp)' "ln" rwA -\\`!p snip.rv = match.group(1)` -endsnippet - -priority 300 -context "math()" -snippet dint "integral" wA -\int_{${1:-\infty}}^{${2:\infty}} ${3:${VISUAL}} $0 -endsnippet - -priority 200 -context "math()" -snippet '(?<!\\)(arcsin|arccos|arctan|arccot|arccsc|arcsec|pi|zeta|int)' "ln" rwA -\\`!p snip.rv = match.group(1)` -endsnippet - - -priority 100 -context "math()" -snippet -> "to" iA -\to -endsnippet - -priority 200 -context "math()" -snippet <-> "leftrightarrow" iA -\leftrightarrow -endsnippet - -context "math()" -snippet !> "mapsto" iA -\mapsto -endsnippet - -context "math()" -snippet invs "inverse" iA -^{-1} -endsnippet - -context "math()" -snippet compl "complement" iA -^{c} -endsnippet - -context "math()" -snippet \\\ "setminus" iA -\setminus -endsnippet - -snippet >> ">>" iA -\gg -endsnippet - -snippet << "<<" iA -\ll -endsnippet - - -snippet ~~ "~" iA -\sim -endsnippet - -context "math()" -snippet set "set" wA -\\{$1\\} $0 -endsnippet - -snippet || "mid" iA - \mid -endsnippet - - -context "math()" -snippet cc "subset" Ai -\subset -endsnippet - -snippet notin "not in " iA -\not\in -endsnippet - -context "math()" -snippet inn "in " iA -\in -endsnippet - -snippet NN "n" iA -\N -endsnippet - -snippet Nn "cap" iA -\cap -endsnippet - -snippet UU "cup" iA -\cup -endsnippet - -snippet uuu "bigcup" iA -\bigcup_{${1:i \in ${2: I}}} $0 -endsnippet - -snippet nnn "bigcap" iA -\bigcap_{${1:i \in ${2: I}}} $0 -endsnippet - -snippet OO "emptyset" iA -\O -endsnippet - -snippet RR "real" iA -\R -endsnippet - -snippet QQ "Q" iA -\Q -endsnippet - -snippet ZZ "Z" iA -\Z -endsnippet - -snippet <! "normal" iA -\triangleleft -endsnippet - -snippet <> "hokje" iA -\diamond -endsnippet - - -context "math()" -snippet '(?<!i)sts' "text subscript" irA -_\text{$1} $0 -endsnippet - -context "math()" -snippet tt "text" iA -\text{$1}$0 -endsnippet - -context "math()" -snippet case "cases" wA -\begin{cases} - $1 -\end{cases} -endsnippet - -snippet SI "SI" iA -\SI{$1}{$2} -endsnippet - -snippet bigfun "Big function" iA -\begin{align*} - $1: $2 &\longrightarrow $3 \\\\ - $4 &\longmapsto $1($4) = $0 -.\end{align*} -endsnippet - -snippet cvec "column vector" iA -\begin{pmatrix} ${1:x}_${2:1}\\\\ \vdots\\\\ $1_${2:n} \end{pmatrix} -endsnippet - -priority 10 -context "math()" -snippet "bar" "bar" riA -\overline{$1}$0 -endsnippet - -priority 100 -context "math()" -snippet "([a-zA-Z])bar" "bar" riA -\overline{`!p snip.rv=match.group(1)`} -endsnippet - -priority 10 -context "math()" -snippet "hat" "hat" riA -\hat{$1}$0 -endsnippet - -priority 100 -context "math()" -snippet "([a-zA-Z])hat" "hat" riA -\hat{`!p snip.rv=match.group(1)`} -endsnippet - -context "math()" -snippet "dot" "dot" riA -\dot{$1}$0 -endsnippet - -context "math()" -snippet "arw" "arw" riA -\overrightarrow{$1}$0 -endsnippet - -snippet letw "let omega" iA -Let $\Omega \subset \C$ be open. -endsnippet - - -snippet HH "H" iA -\mathbb{H} -endsnippet - -snippet DD "D" iA -\mathbb{D} -endsnippet - -snippet box "Box" -`!p snip.rv = '┌' + '─' * (len(t[1]) + 2) + '┐'` -│ $1 │ -`!p snip.rv = '└' + '─' * (len(t[1]) + 2) + '┘'` -$0 -endsnippet - -snippet today "Date" -`date +%F` -endsnippet - -# vim:ft=snippets diff --git a/config/nvim/init.vim b/config/nvim/init.vim deleted file mode 100644 index 9361140..0000000 --- a/config/nvim/init.vim +++ /dev/null @@ -1,113 +0,0 @@ -set nocompatible " be iMproved, required -filetype off " required - -syntax on - -" set the runtime path to include Vundle and initialize -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() - -" let Vundle manage Vundle, required -Plugin 'VundleVim/Vundle.vim' - -" Plugins -Plugin 'godlygeek/tabular' -" Plugin 'preservim/vim-markdown' -Plugin 'vim-pandoc/vim-pandoc' -Plugin 'vim-pandoc/vim-pandoc-syntax' -Plugin 'WolfgangMehner/latex-support' -Plugin 'http://github.com/tpope/vim-surround' " Surrounding ysw) -Plugin 'https://github.com/preservim/nerdtree' " NerdTree -Plugin 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc -Plugin 'https://github.com/vim-airline/vim-airline' " Status bar -Plugin 'https://github.com/ap/vim-css-color' " CSS Color Preview -Plugin 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme -Plugin 'https://github.com/ryanoasis/vim-devicons' " Developer Icons -Plugin 'https://github.com/tc50cal/vim-terminal' " Vim Terminal -Plugin 'https://github.com/preservim/tagbar' " Tagbar for code navigation -Plugin 'https://github.com/neoclide/coc.nvim' " Autocompletions -" Plugin 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors -Plugin 'https://github.com/mattn/emmet-vim' " Emmet support -Plugin 'rubixninja314/vim-mcfunction' " mcfunction -Plugin 'sirver/ultisnips' - let g:UltiSnipsExpandTrigger = '<tab>' - let g:UltiSnipsJumpForwardTrigger = '<tab>' - let g:UltiSnipsJumpBackwardTrigger = '<s-tab>' -Plugin 'lervag/vimtex' - let g:tex_flavor='latex' - let g:vimtex_view_method='zathura' - let g:vimtex_quickfix_mode=0 - set conceallevel=1 - let g:tex_conceal='abdmg' - -call vundle#end() " required -filetype plugin indent on " required - -:colorscheme purify - -:set number relativenumber -:set autoindent -:set tabstop=4 -:set shiftwidth=4 -:set smarttab -:set softtabstop=4 -:set mouse=a - -nnoremap <C-Left> :tabprevious<CR> -nnoremap <C-Right> :tabnext<CR> -nnoremap <C-j> :tabprevious<CR> -nnoremap <C-k> :tabnext<CR> -nnoremap <C-q> :tabclose<CR> - -nnoremap <C-f> :NERDTreeFocus<CR> -nnoremap <C-n> :NERDTree<CR> -nnoremap <C-t> :NERDTreeToggle<CR> - -nmap <F8> :TagbarToggle<CR> - -:set completeopt-=preview " For No Previews - -let g:NERDTreeDirArrowExpandable="+" -let g:NERDTreeDirArrowCollapsible="~" - -let g:airline_powerline_fonts = 1 - -if !exists('g:airline_symbols') - let g:airline_symbols = {} -endif - -" airline symbols -let g:airline_left_sep = '' -let g:airline_left_alt_sep = '' -let g:airline_right_sep = '' -let g:airline_right_alt_sep = '' -let g:airline_symbols.branch = '' -let g:airline_symbols.readonly = '' -let g:airline_symbols.linenr = '' - -" Custom Commands -"" LateX -:command Ttp !pdflatex %:t - -"" JS/TS/Node -:command NpmInstall !npm install -:command TscWatch !npm run ts-watch -:command NodemonStart !npm run start - -"" Git -:command -nargs=1 -bar GitignoreCreate !curl https://www.toptal.com/developers/gitignore/api/<args> | tee -a .gitignore -:command -nargs=* GitCommit !git commit -m "<args>" -:command -nargs=* GitCommitAll !git commit -am "<args>" -:command GitAddAll !git add * && git add .* -:command GitStatus !git status -:command GitPush !git push - -inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>" - -set shell=/bin/bash - -" Highlight -augroup twig_ft - au! - autocmd BufNewFile,BufRead *.mcfunction set syntax=mcfunction -augroup END diff --git a/config/picom/picom.conf b/config/picom/picom.conf deleted file mode 100644 index 1c6b333..0000000 --- a/config/picom/picom.conf +++ /dev/null @@ -1,58 +0,0 @@ -## Shadow -shadow = true; -no-dnd-shadow = true; -no-dock-shadow = false; -clear-shadow = true; -shadow-radius = 12; -shadow-offset-x = -17; -shadow-offset-y = -7; -shadow-opacity = 0.5; - -## fading -fading = true; -fade-delta = 0.25; -fade-in-step = 0.02; -fade-out-step = 0.02; -fade-exclude = [ -]; - -## opacity -active-opacity = 0.85; -inactive-opacity = 0.6; -frame-opacity = 0.7; -opacity-rule = [ - "100:name *= 'Minecraft'", - "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'" -]; - -## other -backend = "glx"; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -detect-rounded-corners = true; -detect-client-opacity = true; -vsync = false; -dbe = false; -paint-on-overlay = true; -detect-transient = true; -detect-client-leader = true; -invert-color-include = [ ]; -glx-copy-from-front = false; -wintypes: -{ - tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; -}; -corner-radius = 5.0; - -## blur -blur-background = true; -blur-background-frame = false; -blur-background-fixed = false; -blur-kern = "3x3gaussian"; -blur-method = "dual_kawase"; -blur-strength = 10; -blur-background-exclude = [ "class_g = 'slop'", "class_g = 'Peek'", "class_g = 'kdeconnect.daemon'", "window_type = 'desktop'" ]; diff --git a/config/polybar/blocks/bars.ini b/config/polybar/blocks/bars.ini deleted file mode 100644 index c245f34..0000000 --- a/config/polybar/blocks/bars.ini +++ /dev/null @@ -1,600 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = ⏽ -empty = ⏽ -indicator = ⏽ -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <bar-volume> -format-volume-prefix = -format-volume-prefix-padding = 1 -format-volume-prefix-background = ${color.blue} -format-volume-prefix-foreground = ${color.foreground} -format-volume-background = ${color.background-alt} -format-volume-foreground = ${color.foreground} -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-padding = 1 -format-muted-prefix-background = ${color.red} -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% -label-volume-background = ${color.background-alt} -label-volume-padding = 1 - -; Available tokens: -; %percentage% (default -label-muted = "Muted" -label-muted-foreground = ${color.foreground} -label-muted-background = ${color.background-alt} -label-muted-padding = 1 - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-background = ${color.blue} -ramp-volume-padding = 1 - -; Only applies if <bar-volume> is used -bar-volume-format = " %fill%%indicator%%empty% " -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.gray} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = -ramp-headphones-background = ${color.blue} -ramp-headphones-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <bar> -format-prefix = -format-prefix-padding = 1 -format-prefix-background = ${color.lime} -format-prefix-foreground = ${color.foreground} -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-format = " %fill%%indicator%%empty% " -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.gray} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = "" -format-charging-prefix-padding = 1 -format-charging-prefix-background = ${color.green} -format-charging-prefix-foreground = ${color.foreground} -format-charging-background = ${color.background-alt} -format-charging-foreground = ${color.foreground} -format-charging-overline = ${color.background} -format-charging-underline = ${color.background} - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = "" -format-discharging-prefix-padding = 1 -format-discharging-prefix-background = ${color.pink} -format-discharging-prefix-foreground = ${color.foreground} -format-discharging-background = ${color.background-alt} -format-discharging-foreground = ${color.foreground} -format-discharging-overline = ${color.background} -format-discharging-underline = ${color.background} - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = "" -format-full-prefix-padding = 1 -format-full-prefix-background = ${color.red} -format-full-prefix-foreground = ${color.foreground} -format-full-background = ${color.background-alt} -format-full-foreground = ${color.foreground} -format-full-overline = ${color.background} -format-full-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% -label-charging-background = ${color.background-alt} -label-charging-padding = 1 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% -label-discharging-background = ${color.background-alt} -label-discharging-padding = 1 - -; Available tokens: -; %percentage% (default) -label-full = Full -label-full-background = ${color.background-alt} -label-full-padding = 1 - -; Only applies if <bar-capacity> is used -bar-capacity-format = " %fill%%indicator%%empty% " -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.gray} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load><label> -format-prefix = -format-prefix-padding = 1 -format-prefix-background = ${color.teal} -format-prefix-foreground = ${color.foreground} -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%% " - -; Only applies if <bar-load> is used -bar-load-format = " %fill%%indicator%%empty% " -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.gray} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used><label-mounted> -format-mounted-prefix = -format-mounted-prefix-padding = 1 -format-mounted-prefix-background = ${color.purple} -format-mounted-prefix-foreground = ${color.foreground} -format-mounted-background = ${color.background-alt} -format-mounted-foreground = ${color.foreground} -format-mounted-overline = ${color.background} -format-mounted-underline = ${color.background} - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-prefix-padding = 1 -format-unmounted-prefix-background = ${color.red} -format-unmounted-prefix-foreground = ${color.foreground} -format-unmounted-background = ${color.background-alt} -format-unmounted-foreground = ${color.foreground} -format-unmounted-overline = ${color.background} -format-unmounted-underline = ${color.background} - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = "%used%/%total% " - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted " - -; Only applies if <bar-used> is used -bar-used-format = " %fill%%indicator%%empty% " -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.gray} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used><label> -format-prefix = -format-prefix-padding = 1 -format-prefix-background = ${color.indigo} -format-prefix-foreground = ${color.foreground} -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used% " - -; Only applies if <bar-used> is used -bar-used-format = " %fill%%indicator%%empty% " -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.gray} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song><bar-progress><label-time> -format-online-prefix = -format-online-prefix-padding = 1 -format-online-prefix-background = ${color.green} -format-online-prefix-foreground = ${color.foreground} -format-online-background = ${color.background-alt} -format-online-foreground = ${color.foreground} -format-online-overline = ${color.background} -format-online-underline = ${color.background} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-prefix-padding = 1 -format-offline-prefix-background = ${color.red} -format-offline-prefix-foreground = ${color.foreground} -format-offline-background = ${color.background-alt} -format-offline-foreground = ${color.foreground} -format-offline-overline = ${color.background} -format-offline-underline = ${color.background} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = "%elapsed% / %total% " - -; Available tokens: -; None -label-offline = " Offline " - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -bar-progress-format = " %fill%%indicator%%empty% " -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.gray} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/blocks/colors.ini b/config/polybar/blocks/colors.ini deleted file mode 100644 index 097b2ee..0000000 --- a/config/polybar/blocks/colors.ini +++ /dev/null @@ -1,39 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #2f343f -background-alt = #C4C7C5 -foreground = #1C1E20 -foreground-alt = #C4C7C5 -primary = #B4BC67 - -white = #FFFFFF -black = #000000 -red = #EC7875 -pink = #EC6798 -purple = #BE78D1 -blue = #75A4CD -cyan = #00C7DF -teal = #00B19F -green = #61C766 -lime = #B9C244 -yellow = #EBD369 -amber = #EDB83F -orange = #E57C46 -brown = #AC8476 -gray = #9E9E9E -indigo = #6C77BB -blue-gray = #6D8895 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/blocks/config.ini b/config/polybar/blocks/config.ini deleted file mode 100644 index 4edd5fe..0000000 --- a/config/polybar/blocks/config.ini +++ /dev/null @@ -1,293 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/blocks/bars.ini -include-file = ~/.config/polybar/blocks/colors.ini -include-file = ~/.config/polybar/blocks/modules.ini -include-file = ~/.config/polybar/blocks/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 34 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 5 -line-color = ${color.background} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-bottom-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;4" -font-1 = "feather:size=10;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = sep launcher sep workspaces sep mpd -modules-center = title -modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/blocks/launch.sh b/config/polybar/blocks/launch.sh deleted file mode 100755 index 6d384ae..0000000 --- a/config/polybar/blocks/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/blocks" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/blocks/modules.ini b/config/polybar/blocks/modules.ini deleted file mode 100644 index 3097682..0000000 --- a/config/polybar/blocks/modules.ini +++ /dev/null @@ -1,1197 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume><label-volume> -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-background = ${color.red} -format-muted-prefix-padding = 1 -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% -label-volume-background = ${color.background-alt} -label-volume-padding = 1 - -; Available tokens: -; %percentage% (default -label-muted = "Muted" -label-muted-foreground = ${color.foreground} -label-muted-background = ${color.background-alt} -label-muted-padding = 1 - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-background = ${color.blue} -ramp-volume-padding = 1 - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = -ramp-headphones-background = ${color.blue} -ramp-headphones-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp><label> -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -label = %percentage%% -label-background = ${color.background-alt} -label-padding = 1 - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-background = ${color.lime} -ramp-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <label-charging> -format-charging-prefix = "" -format-charging-prefix-background = ${color.green} -format-charging-prefix-padding = 1 -format-charging-overline = ${color.background} -format-charging-underline = ${color.background} - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <label-discharging> -format-discharging-prefix = "" -format-discharging-prefix-background = ${color.pink} -format-discharging-prefix-padding = 1 -format-discharging-overline = ${color.background} -format-discharging-underline = ${color.background} - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = "" -format-full-prefix-background = ${color.red} -format-full-prefix-padding = 1 -format-full-overline = ${color.background} -format-full-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% -label-charging-background = ${color.background-alt} -label-charging-padding = 1 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% -label-discharging-background = ${color.background-alt} -label-discharging-padding = 1 - -; Available tokens: -; %percentage% (default) -label-full = Full -label-full-background = ${color.background-alt} -label-full-padding = 1 - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-prefix-background = ${color.teal} -format-prefix-padding = 1 -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" -label-background = ${color.background-alt} -label-padding = 1 - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = "%I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = "%a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> -format-prefix = -format-prefix-background = ${color.amber} -format-prefix-padding = 1 -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% -label-background = ${color.background-alt} -label-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-prefix-background = ${color.green} -format-mounted-prefix-padding = 1 -format-mounted-overline = ${color.background} -format-mounted-underline = ${color.background} - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-prefix-background = ${color.red} -format-unmounted-prefix-padding = 1 -format-unmounted-overline = ${color.background} -format-unmounted-underline = ${color.background} - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = "%free%" -label-mounted-background = ${color.background-alt} -label-mounted-padding = 1 - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: NA" -label-unmounted-background = ${color.background-alt} -label-unmounted-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-prefix-background = ${color.brown} -format-prefix-padding = 1 -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" -label-background = ${color.background-alt} -label-padding = 1 - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <toggle><label-song><icon-next> -;format-online-prefix = -format-online-overline = ${color.background} -format-online-underline = ${color.background} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-prefix-background = ${color.red} -format-offline-prefix-padding = 1 -format-offline-overline = ${color.background} -format-offline-underline = ${color.background} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = "%artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true -label-song-background = ${color.background-alt} -label-song-padding = 1 - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% -label-time-background = ${color.background-alt} -label-time-padding = 1 - -; Available tokens: -; None -label-offline = "Offline" -label-offline-background = ${color.background-alt} -label-offline-padding = 1 - -; Only applies if <icon-X> is used -icon-play = -icon-play-background = ${color.red} -icon-play-padding = 1 -icon-pause = -icon-pause-padding = 1 -icon-pause-background = ${color.green} -icon-stop = " " -icon-stop-background = ${color.background-alt} -icon-next = " " -icon-next-background = ${color.background-alt} -icon-prev = " " -icon-prev-background = ${color.background-alt} -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = -format-connected-prefix-background = ${color.purple} -format-connected-prefix-padding = 1 -format-connected-overline = ${color.background} -format-connected-underline = ${color.background} - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = -format-disconnected-prefix-background = ${color.orange} -format-disconnected-prefix-padding = 1 -format-disconnected-overline = ${color.background} -format-disconnected-underline = ${color.background} - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%essid%%{A}" -label-connected-background = ${color.background-alt} -label-connected-padding = 1 - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}Offline%{A}" -label-disconnected-background = ${color.background-alt} -label-disconnected-padding = 1 - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume><label-volume> -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-background = ${color.red} -format-muted-prefix-padding = 1 -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% -label-volume-background = ${color.background-alt} -label-volume-padding = 1 - -; Available tokens: -; %percentage% (default -label-muted = "Muted" -label-muted-foreground = ${color.foreground} -label-muted-background = ${color.background-alt} -label-muted-padding = 1 - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-background = ${color.blue} -ramp-volume-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp><label> -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp><label-warn> -format-warn-overline = ${color.background} -format-warn-underline = ${color.background} - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% -label-background = ${color.background-alt} -label-padding = 1 - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-background = ${color.background-alt} -label-warn-padding = 1 - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-background = ${color.cyan} -ramp-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout><label-indicator> -format-prefix = -format-prefix-background = ${color.blue-gray} -format-prefix-padding = 1 -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = "%layout%" -label-layout-background = ${color.background-alt} -label-layout-padding = 1 - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = "%name% " -label-indicator-on-background = ${color.background-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-prefix = -format-padding = 1 -format-foreground = ${color.foreground-alt} - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -label-empty = " Desktop" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.foreground} -label-active-background = ${color.primary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.foreground} -label-occupied-background = ${color.gray} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.foreground} -label-urgent-background = ${color.red} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% -label-empty-foreground = ${color.foreground} -label-empty-background = ${color.background-alt} - -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 -label-empty-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/blocks/preview.ini b/config/polybar/blocks/preview.ini deleted file mode 100644 index 2408b85..0000000 --- a/config/polybar/blocks/preview.ini +++ /dev/null @@ -1,309 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/blocks/bars.ini -include-file = ~/.config/polybar/blocks/colors.ini -include-file = ~/.config/polybar/blocks/modules.ini -include-file = ~/.config/polybar/blocks/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 34 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 5 -line-color = ${color.background} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-bottom-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;4" -font-1 = "feather:size=10;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -offset-y = 10 -modules-center = sep launcher sep workspaces sep cpu sep memory sep mpd sep alsa sep battery sep network sep date sep sysmenu sep -enable-ipc = true - -[bar/mid] -inherit = bar/main -offset-y = 54 -modules-center = volume sep brightness sep battery_bar sep cpu_bar sep filesystem_bar sep memory_bar sep mpd_bar -enable-ipc = true - -[bar/bottom] -inherit = bar/main -offset-y = 98 -modules-center = title sep menu sep term files browser settings sep filesystem sep temperature sep color-switch sep keyboard sep pulseaudio sep backlight sep updates sep powermenu sep -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/blocks/preview.sh b/config/polybar/blocks/preview.sh deleted file mode 100755 index f6be480..0000000 --- a/config/polybar/blocks/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/blocks" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/blocks/scripts/checkupdates b/config/polybar/blocks/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/blocks/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/blocks/scripts/launcher.sh b/config/polybar/blocks/scripts/launcher.sh deleted file mode 100755 index e673cf1..0000000 --- a/config/polybar/blocks/scripts/launcher.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -FILE="$HOME/.config/polybar/blocks/scripts/rofi/colors.rasi" - -# random accent color -COLORS=('#EC7875' '#EC6798' '#BE78D1' '#75A4CD' '#00C7DF' '#00B19F' '#61C766' \ - '#B9C244' '#EBD369' '#EDB83F' '#E57C46' '#AC8476' '#6C77BB' '#6D8895') -AC="${COLORS[$(( $RANDOM % 14 ))]}" -sed -i -e "s/ac: .*/ac: ${AC}FF;/g" $FILE -sed -i -e "s/se: .*/se: ${AC}40;/g" $FILE - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/blocks/scripts/rofi/launcher.rasi diff --git a/config/polybar/blocks/scripts/powermenu.sh b/config/polybar/blocks/scripts/powermenu.sh deleted file mode 100755 index f02486d..0000000 --- a/config/polybar/blocks/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/blocks/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/blocks/scripts/rofi/colors.rasi b/config/polybar/blocks/scripts/rofi/colors.rasi deleted file mode 100644 index 7166b16..0000000 --- a/config/polybar/blocks/scripts/rofi/colors.rasi +++ /dev/null @@ -1,11 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #2f343fFF; - bga: #C4C7C5FF; - fga: #C4C7C5FF; - fg: #1C1E20FF; - ac: #00C7DFFF; - se: #00C7DF40; -} diff --git a/config/polybar/blocks/scripts/rofi/confirm.rasi b/config/polybar/blocks/scripts/rofi/confirm.rasi deleted file mode 100644 index dbe4fa8..0000000 --- a/config/polybar/blocks/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fga; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 210px; - padding: 25px; - border: 0px 0px 4px 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/blocks/scripts/rofi/launcher.rasi b/config/polybar/blocks/scripts/rofi/launcher.rasi deleted file mode 100644 index f4d37e2..0000000 --- a/config/polybar/blocks/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 550px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 6px 7px 4px 7px; - background-color: @ac; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 6px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 8; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 3px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fga; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/blocks/scripts/rofi/message.rasi b/config/polybar/blocks/scripts/rofi/message.rasi deleted file mode 100644 index 84ec88c..0000000 --- a/config/polybar/blocks/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fga; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px 0px 4px 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/blocks/scripts/rofi/networkmenu.rasi b/config/polybar/blocks/scripts/rofi/networkmenu.rasi deleted file mode 100644 index c68d539..0000000 --- a/config/polybar/blocks/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 6px 7px 4px 7px; - background-color: @bga; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 6px 7px 4px 7px; - background-color: @ac; - text-color: @fg; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 6px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 3px 3px 3px -12px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fga; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/blocks/scripts/rofi/powermenu.rasi b/config/polybar/blocks/scripts/rofi/powermenu.rasi deleted file mode 100644 index 6b5572d..0000000 --- a/config/polybar/blocks/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 6px 7px 4px 7px; - background-color: @bga; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 6px 7px 4px 7px; - background-color: @ac; - text-color: @fg; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 6px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 3px 3px 3px -23px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fga; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/blocks/scripts/rofi/styles.rasi b/config/polybar/blocks/scripts/rofi/styles.rasi deleted file mode 100644 index a5e61ab..0000000 --- a/config/polybar/blocks/scripts/rofi/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 6px 7px 4px 7px; - background-color: @bga; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 6px 7px 4px 7px; - background-color: @ac; - text-color: @fg; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 6px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 3px 3px 3px -23px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fga; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/blocks/scripts/style-switch.sh b/config/polybar/blocks/scripts/style-switch.sh deleted file mode 100755 index 4731479..0000000 --- a/config/polybar/blocks/scripts/style-switch.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/blocks/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " Default| Nord| Gruvbox| Adapta| Cherry|")" - case "$MENU" in - *Default) "$SDIR"/styles.sh --default ;; - *Nord) "$SDIR"/styles.sh --nord ;; - *Gruvbox) "$SDIR"/styles.sh --gruvbox ;; - *Adapta) "$SDIR"/styles.sh --adapta ;; - *Cherry) "$SDIR"/styles.sh --cherry ;; - esac diff --git a/config/polybar/blocks/scripts/styles.sh b/config/polybar/blocks/scripts/styles.sh deleted file mode 100755 index 507f069..0000000 --- a/config/polybar/blocks/scripts/styles.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/blocks/colors.ini" -RFILE="$HOME/.config/polybar/blocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = $BGA/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${BGA}FF; - fga: ${FGA}FF; - fg: ${FG}FF; - ac: ${AC}FF; - se: ${AC}40; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--default" ]]; then - BG="#2f343f" - BGA="#C4C7C5" - FGA="#C4C7C5" - FG="#1C1E20" - AC="#B4BC67" - change_color -elif [[ $1 = "--nord" ]]; then - BG="#3B4252" - BGA="#4C566A" - FGA="#E5E9F0" - FG="#ECEFF4" - AC="#A3BE8C" - change_color -elif [[ $1 = "--gruvbox" ]]; then - BG="#282828" - BGA="#EBDBB2" - FGA="#EBDBB2" - FG="#282828" - AC="#CC241D" - change_color -elif [[ $1 = "--adapta" ]]; then - BG="#243035" - BGA="#38444A" - FGA="#FDF6E3" - FG="#FFFFFF" - AC="#4DD0E1" - change_color -elif [[ $1 = "--cherry" ]]; then - BG="#1F1626" - BGA="#423949" - FGA="#FFFFFF" - FG="#FFFFFF" - AC="#D94085" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --default --nord --gruvbox --adapta --cherry - _EOF_ -fi diff --git a/config/polybar/blocks/scripts/updates.sh b/config/polybar/blocks/scripts/updates.sh deleted file mode 100755 index 924313a..0000000 --- a/config/polybar/blocks/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/blocks/scripts/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 "None" - 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 "None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/blocks/user_modules.ini b/config/polybar/blocks/user_modules.ini deleted file mode 100644 index f626975..0000000 --- a/config/polybar/blocks/user_modules.ini +++ /dev/null @@ -1,292 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/blocks/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-prefix-background = ${color.yellow} -format-prefix-padding = 1 -format-overline = ${color.background} -format-underline = ${color.background} - -; Available tokens: -; %output% -; Default: %output% -label = %output% -label-background = ${color.background-alt} -label-padding = 1 - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text - -content-prefix = -content-prefix-background = ${color.teal} -content-prefix-padding = 1 - -content = " Menu " -content-background = ${color.background-alt} -content-foreground = ${color.foreground} -content-overline = ${color.background} -content-underline = ${color.background} - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/blocks/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/blocks/scripts/launcher-full -click-right = ~/.config/polybar/blocks/scripts/style-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/blocks/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/blocks/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content-prefix = -content-prefix-background = ${color.cyan} -content-prefix-padding = 1 - -content = " System " -content-background = ${color.background-alt} -content-foreground = ${color.foreground} -content-overline = ${color.background} -content-underline = ${color.background} - -click-left = ~/.config/polybar/blocks/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text - -content-prefix = -content-prefix-background = ${color.orange} -content-prefix-padding = 1 - -content = " Style " -content-background = ${color.background-alt} -content-foreground = ${color.foreground} -content-overline = ${color.background} -content-underline = ${color.background} - -click-left = ~/.config/polybar/blocks/scripts/style-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = | - -content-background = ${color.background} -content-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/apps] -type = custom/text -content-overline = ${color.background} -content-underline = ${color.background} -content-padding = 1 - -[module/term] -inherit = module/apps -content = -content-background = ${color.blue-gray} -content-foreground = ${color.foreground} -click-left = termite & -click-middle = urxvt & -click-right = xfce4-terminal & - -[module/files] -inherit = module/apps -content = -content-background = ${color.blue} -content-foreground = ${color.foreground} -click-left = thunar & -click-right = pcmanfm & - -[module/browser] -inherit = module/apps -content = -content-background = ${color.orange} -content-foreground = ${color.foreground} -click-left = firefox & -click-right = chromium & - -[module/settings] -inherit = module/apps -content = -content-background = ${color.teal} -content-foreground = ${color.foreground} -click-left = xfce4-settings-manager & -click-right = lxappearance & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = " Reboot |" -menu-0-0-background = ${color.background-alt} -menu-0-0-exec = menu-open-1 -menu-0-1 = " Shutdown " -menu-0-1-background = ${color.background-alt} -menu-0-1-exec = menu-open-2 - -menu-1-0 = " Back |" -menu-1-0-background = ${color.background-alt} -menu-1-0-exec = menu-open-0 -menu-1-1 = " Reboot " -menu-1-1-background = ${color.background-alt} -menu-1-1-exec = systemctl reboot - -menu-2-0 = " Shutdown |" -menu-2-0-background = ${color.background-alt} -menu-2-0-exec = systemctl poweroff -menu-2-1 = " Back " -menu-2-1-background = ${color.background-alt} -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle><menu> -format-overline = ${color.background} -format-underline = ${color.background} - -label-open = -label-open-background = ${color.cyan} -label-open-padding = 1 -label-close = -label-close-background = ${color.red} -label-close-padding = 1 - -; Optional item separator -; Default: none -;label-separator = " | " -;label-separator-foreground = ${color.foreground} -;label-separator-background = ${color.background-alt} - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 =" Menu | " -menu-0-0-background = ${color.background-alt} -menu-0-0-exec = ~/.config/polybar/blocks/scripts/launcher.sh & - -menu-0-1 =" Files | " -menu-0-1-background = ${color.background-alt} -menu-0-1-exec = thunar & - -menu-0-2 =" Terminal | " -menu-0-2-background = ${color.background-alt} -menu-0-2-exec = termite & - -menu-0-3 =" Browser " -menu-0-3-background = ${color.background-alt} -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle><menu> -format-overline = ${color.background} -format-underline = ${color.background} - -label-open = -label-open-background = ${color.yellow} -label-open-padding = 1 -label-close = -label-close-background = ${color.red} -label-close-padding = 1 - -; Optional item separator -; Default: none -;label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/colorblocks/bars.ini b/config/polybar/colorblocks/bars.ini deleted file mode 100644 index 703e8b8..0000000 --- a/config/polybar/colorblocks/bars.ini +++ /dev/null @@ -1,534 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = -empty = -indicator = ⏽ -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> -format-volume-background = ${color.shade6} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-font = 2 -format-muted-background = ${color.shade6} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-font = 2 - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> -format-background = ${color.shade7} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-font = 2 - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " -format-charging-prefix-font = 2 -format-charging-background = ${color.shade5} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " -format-discharging-prefix-font = 2 -format-discharging-background = ${color.shade5} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-prefix-font = 2 -format-full-background = ${color.shade5} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = "Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " -format-prefix-font = 2 -format-background = ${color.shade7} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " -format-mounted-prefix-font = 2 -format-mounted-background = ${color.shade5} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " -format-unmounted-prefix-font = 2 -format-unmounted-background = ${color.shade5} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " -format-prefix-font = 2 -format-background = ${color.shade6} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = ﱘ -format-online-prefix-font = 2 -format-online-background = ${color.shade4} -format-online-padding = 2 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = ﱘ -format-offline-prefix-font = 2 -format-offline-background = ${color.shade4} -format-offline-padding = 2 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = 喇 -icon-pause = -icon-stop = -icon-prev = -icon-next = -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.foreground} -toggle-off-foreground = ${color.background} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/colorblocks/colors.ini b/config/polybar/colorblocks/colors.ini deleted file mode 100644 index f0e28df..0000000 --- a/config/polybar/colorblocks/colors.ini +++ /dev/null @@ -1,30 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #141C21 -foreground = #141C21 -foreground-alt = #FFFFFF -alpha = #00000000 - -;; shades -shade1 = #006064 -shade2 = #00838F -shade3 = #0097A7 -shade4 = #00ACC1 -shade5 = #00BCD4 -shade6 = #26C6DA -shade7 = #4DD0E1 -shade8 = #80DEEA - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/colorblocks/config.ini b/config/polybar/colorblocks/config.ini deleted file mode 100644 index 0e7038f..0000000 --- a/config/polybar/colorblocks/config.ini +++ /dev/null @@ -1,509 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/colorblocks/bars.ini -include-file = ~/.config/polybar/colorblocks/colors.ini -include-file = ~/.config/polybar/colorblocks/modules.ini -include-file = ~/.config/polybar/colorblocks/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = HDMI-0 - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0.5% -offset-y = 1% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.alpha} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;4" -font-1 = "Iosevka Nerd Font:pixelsize=13;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = workspaces -modules-center = mpd -modules-right = cpu memory alsa eth date - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/external] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = DP-5 - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0.5% -offset-y = 1% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.alpha} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;4" -font-1 = "Iosevka Nerd Font:pixelsize=13;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = workspaces -modules-center = -modules-right = cpu memory alsa date - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/colorblocks/launch-external.sh b/config/polybar/colorblocks/launch-external.sh deleted file mode 100755 index f2ad840..0000000 --- a/config/polybar/colorblocks/launch-external.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/colorblocks" - -# Launch the bar -polybar -q external -c "$DIR"/config.ini & - diff --git a/config/polybar/colorblocks/launch-main.sh b/config/polybar/colorblocks/launch-main.sh deleted file mode 100755 index 76fee43..0000000 --- a/config/polybar/colorblocks/launch-main.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/colorblocks" - -# Launch the bar -polybar -q main -c "$DIR"/config.ini & - diff --git a/config/polybar/colorblocks/launch.sh b/config/polybar/colorblocks/launch.sh deleted file mode 100755 index 501712a..0000000 --- a/config/polybar/colorblocks/launch.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/colorblocks" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & - diff --git a/config/polybar/colorblocks/modules.ini b/config/polybar/colorblocks/modules.ini deleted file mode 100644 index f6b1382..0000000 --- a/config/polybar/colorblocks/modules.ini +++ /dev/null @@ -1,1169 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.shade6} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-font = 2 -format-muted-background = ${color.shade6} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-font = 2 - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> -format-background = ${color.shade3} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> <label-charging> -format-charging-background = ${color.shade5} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> -format-discharging-background = ${color.shade5} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = -format-full-prefix-font = 2 -format-full-background = ${color.shade5} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-font = 2 - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-font = 2 - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-prefix-font = 2 -format-background = ${color.shade8} -format-foreground = ${color.foreground} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %H:%M" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> -format-prefix = -format-prefix-font = 2 -format-background = ${color.shade3} -format-foreground = ${color.foreground} -format-padding = 2 - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-prefix-font = 2 -format-mounted-background = ${color.shade6} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-prefix-font = 2 -format-unmounted-background = ${color.shade6} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-prefix-font = 2 -format-background = ${color.shade7} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -host = 127.0.0.1 -port = 6600 -password = - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <icon-prev><toggle><icon-next><label-song> - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-prefix-font = 2 -format-offline-prefix-background = ${color.shade7} -format-offline-prefix-foreground = ${color.foreground} -format-offline-prefix-padding = 2 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = "%artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true -label-song-background = ${color.background} -label-song-foreground = ${color.foreground-alt} -label-song-padding = 2 - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = "Offline" -label-offline-background = ${color.background} -label-offline-foreground = ${color.foreground-alt} -label-offline-padding = 2 - -; Only applies if <icon-X> is used -icon-play = 契 -icon-play-foreground = #0a0a0a -icon-play-background = ${color.shade7} -icon-play-padding = 1 -icon-play-font = 2 -icon-pause = -icon-pause-foreground = #0a0a0a -icon-pause-background = ${color.shade7} -icon-pause-padding = 1 -icon-pause-font = 2 -icon-stop = -icon-prev = " 玲" -icon-prev-foreground = #0a0a0a -icon-prev-background = ${color.shade7} -icon-prev-padding = 1 -icon-prev-font = 2 -icon-next = "怜 " -icon-next-foreground = #0a0a0a -icon-next-background = ${color.shade7} -icon-next-padding = 1 -icon-next-font = 2 -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.foreground} -toggle-off-foreground = ${color.background} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[network-base] -type = internal/network -interval = 5 -format-connected = <label-connected> -format-disconnected = <label-disconnected> -label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected - -[module/wlan] -inherit = network-base -interface-type = wireless -label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% - -[module/eth] -inherit = network-base -interface-type = wired - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix-font = 2 -format-connected-background = ${color.shade4} -format-connected-padding = 2 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix-font = 2 -format-disconnected-background = ${color.shade4} -format-disconnected-padding = 2 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%downspeed% - %upspeed% | %local_ip%" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.shade4} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-font = 2 -format-muted-background = ${color.shade4} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> -format-background = ${color.shade7} -format-padding = 2 - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> -format-warn-background = ${color.shade7} -format-warn-foreground = ${color.background} -format-warn-padding = 2 - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = -format-prefix-font = 2 -format-background = ${color.shade5} -format-padding = 2 - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-prefix = -format-prefix-font = 2 -format-prefix-background = ${color.shade8} -format-prefix-foreground = #0a0a0a -format-prefix-padding = 2 - -; Available tokens: -; %title% -; Default: %title% -label = "%title%" -label-maxlen = 30 -label-background = ${color.background} -label-foreground = ${color.foreground-alt} -label-padding = 2 - -; Used instead of label when there is no window title -label-empty = "Desktop" -label-empty-background = ${color.background} -label-empty-foreground = ${color.foreground-alt} -label-empty-padding = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1;1 -icon-1 = 2;2 -icon-2 = 3;3 -icon-3 = 4;4 -icon-4 = 5;5 -icon-5 = 6;6 -icon-6 = 7;7 -icon-7 = 8;8 -icon-8 = 9;9 -icon-9 = 10;0 - -icon-default = 0 - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-background = ${color.background} -format-foreground = ${color.foreground} - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-background = ${color.shade8} -label-active-foreground = #0a0a0a - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-background = ${color.background} -label-occupied-foreground = ${color.shade4} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-background = ${color.background} -label-urgent-foreground = #CC6666 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% -label-empty-background = ${color.background} -label-empty-foreground = ${color.foreground-alt} - -label-active-padding = 2 -label-urgent-padding = 2 -label-occupied-padding = 2 -label-empty-padding = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/colorblocks/preview.ini b/config/polybar/colorblocks/preview.ini deleted file mode 100644 index dc1df94..0000000 --- a/config/polybar/colorblocks/preview.ini +++ /dev/null @@ -1,311 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/colorblocks/bars.ini -include-file = ~/.config/polybar/colorblocks/colors.ini -include-file = ~/.config/polybar/colorblocks/modules.ini -include-file = ~/.config/polybar/colorblocks/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 99% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0.5% -offset-y = 1% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.alpha} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;4" -font-1 = "Iosevka Nerd Font:pixelsize=13;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -modules-left = menu sep title sep google github reddit gmail twitter -modules-right = updates temperature filesystem keyboard pulseaudio backlight sep powermenu -enable-ipc = true - -[bar/mid] -offset-y = 62 -inherit = bar/main -modules-center = cpu_bar sep memory_bar sep filesystem_bar sep mpd_bar sep battery_bar sep volume sep brightness -enable-ipc = true - -[bar/bottom] -inherit = bar/main -offset-y = 114 -modules-left = launcher sep workspaces sep mpd -modules-center = -modules-right = color-switch sep cpu memory alsa battery network date sep sysmenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/colorblocks/preview.sh b/config/polybar/colorblocks/preview.sh deleted file mode 100755 index bbd3eaa..0000000 --- a/config/polybar/colorblocks/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/colorblocks" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/colorblocks/scripts/checkupdates b/config/polybar/colorblocks/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/colorblocks/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/colorblocks/scripts/color-switch.sh b/config/polybar/colorblocks/scripts/color-switch.sh deleted file mode 100755 index 72b4768..0000000 --- a/config/polybar/colorblocks/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/colorblocks/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< "♥ amber|♥ blue|♥ blue-gray|♥ brown|♥ cyan|♥ deep-orange|\ -♥ deep-purple|♥ green|♥ gray|♥ indigo|♥ blue-light|♥ green-light|\ -♥ lime|♥ orange|♥ pink|♥ purple|♥ red|♥ teal|♥ yellow|♥ amber-dark|\ -♥ blue-dark|♥ blue-gray-dark|♥ brown-dark|♥ cyan-dark|♥ deep-orange-dark|\ -♥ deep-purple-dark|♥ green-dark|♥ gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/colorblocks/scripts/colors-dark.sh b/config/polybar/colorblocks/scripts/colors-dark.sh deleted file mode 100755 index 983ec29..0000000 --- a/config/polybar/colorblocks/scripts/colors-dark.sh +++ /dev/null @@ -1,143 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/colorblocks/colors.ini" -RFILE="$HOME/.config/polybar/colorblocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #141C21/g' $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #FFFFFF/g' $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #141C21FF; - bg1: ${SH8}FF; - bg2: ${SH7}FF; - bg3: ${SH6}FF; - fg: #FFFFFFFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - FG="#141C21" - SH1="#FF6F00" SH2="#FF8F00" SH3="#FFA000" SH4="#FFB300" - SH5="#FFC107" SH6="#FFCA28" SH7="#FFD54F" SH8="#FFE082" - change_color -elif [[ $1 = "--blue" ]]; then - FG="#F5F5F5" - SH1="#0D47A1" SH2="#1565C0" SH3="#1976D2" SH4="#1E88E5" - SH5="#2196F3" SH6="#42A5F5" SH7="#64B5F6" SH8="#90CAF9" - change_color -elif [[ $1 = "--blue-gray" ]]; then - FG="#F5F5F5" - SH1="#263238" SH2="#37474F" SH3="#455A64" SH4="#546E7A" - SH5="#607D8B" SH6="#78909C" SH7="#90A4AE" SH8="#B0BEC5" - change_color -elif [[ $1 = "--brown" ]]; then - FG="#F5F5F5" - SH1="#3E2723" SH2="#4E342E" SH3="#5D4037" SH4="#6D4C41" - SH5="#795548" SH6="#8D6E63" SH7="#A1887F" SH8="#BCAAA4" - change_color -elif [[ $1 = "--cyan" ]]; then - FG="#141C21" - SH1="#006064" SH2="#00838F" SH3="#0097A7" SH4="#00ACC1" - SH5="#00BCD4" SH6="#26C6DA" SH7="#4DD0E1" SH8="#80DEEA" - change_color -elif [[ $1 = "--deep-orange" ]]; then - FG="#F5F5F5" - SH1="#BF360C" SH2="#D84315" SH3="#E64A19" SH4="#F4511E" - SH5="#FF5722" SH6="#FF7043" SH7="#FF8A65" SH8="#FFAB91" - change_color -elif [[ $1 = "--deep-purple" ]]; then - FG="#F5F5F5" - SH1="#311B92" SH2="#4527A0" SH3="#512DA8" SH4="#5E35B1" - SH5="#673AB7" SH6="#7E57C2" SH7="#9575CD" SH8="#B39DDB" - change_color -elif [[ $1 = "--green" ]]; then - FG="#F5F5F5" - SH1="#1B5E20" SH2="#2E7D32" SH3="#388E3C" SH4="#43A047" - SH5="#4CAF50" SH6="#66BB6A" SH7="#81C784" SH8="#A5D6A7" - change_color -elif [[ $1 = "--gray" ]]; then - FG="#141C21" - SH1="#212121" SH2="#424242" SH3="#616161" SH4="#757575" - SH5="#9E9E9E" SH6="#BDBDBD" SH7="#D4D4D4" SH8="#EEEEEE" - change_color -elif [[ $1 = "--indigo" ]]; then - FG="#F5F5F5" - SH1="#1A237E" SH2="#283593" SH3="#303F9F" SH4="#3949AB" - SH5="#3F51B5" SH6="#5C6BC0" SH7="#7986CB" SH8="#9FA8DA" - change_color -elif [[ $1 = "--light-blue" ]]; then - FG="#141C21" - SH1="#01579B" SH2="#0277BD" SH3="#0288D1" SH4="#039BE5" - SH5="#03A9F4" SH6="#29B6F6" SH7="#4FC3F7" SH8="#81D4FA" - change_color -elif [[ $1 = "--light-green" ]]; then - FG="#141C21" - SH1="#33691E" SH2="#558B2F" SH3="#689F38" SH4="#7CB342" - SH5="#8BC34A" SH6="#9CCC65" SH7="#AED581" SH8="#C5E1A5" - change_color -elif [[ $1 = "--lime" ]]; then - FG="#141C21" - SH1="#827717" SH2="#9E9D24" SH3="#AFB42B" SH4="#C0CA33" - SH5="#CDDC39" SH6="#D4E157" SH7="#DCE775" SH8="#E6EE9C" - change_color -elif [[ $1 = "--orange" ]]; then - FG="#141C21" - SH1="#E65100" SH2="#EF6C00" SH3="#F57C00" SH4="#FB8C00" - SH5="#FF9800" SH6="#FFA726" SH7="#FFB74D" SH8="#FFCC80" - change_color -elif [[ $1 = "--pink" ]]; then - FG="#F5F5F5" - SH1="#880E4F" SH2="#AD1457" SH3="#C2185B" SH4="#D81B60" - SH5="#E91E63" SH6="#EC407A" SH7="#F06292" SH8="#F48FB1" - change_color -elif [[ $1 = "--purple" ]]; then - FG="#F5F5F5" - SH1="#4A148C" SH2="#6A1B9A" SH3="#7B1FA2" SH4="#8E24AA" - SH5="#9C27B0" SH6="#AB47BC" SH7="#BA68C8" SH8="#CE93D8" - change_color -elif [[ $1 = "--red" ]]; then - FG="#F5F5F5" - SH1="#B71C1C" SH2="#C62828" SH3="#D32F2F" SH4="#E53935" - SH5="#EE413D" SH6="#EF5350" SH7="#E57373" SH8="#EF9A9A" - change_color -elif [[ $1 = "--teal" ]]; then - FG="#F5F5F5" - SH1="#004D40" SH2="#00695C" SH3="#00796B" SH4="#00897B" - SH5="#009688" SH6="#26A69A" SH7="#4DB6AC" SH8="#80CBC4" - change_color -elif [[ $1 = "--yellow" ]]; then - FG="#141C21" - SH1="#F57F17" SH2="#F9A825" SH3="#FBC02D" SH4="#FDD835" - SH5="#FFEB3B" SH6="#FFEE58" SH7="#FFF176" SH8="#FFF59D" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/colorblocks/scripts/colors-light.sh b/config/polybar/colorblocks/scripts/colors-light.sh deleted file mode 100755 index d9639ee..0000000 --- a/config/polybar/colorblocks/scripts/colors-light.sh +++ /dev/null @@ -1,143 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/colorblocks/colors.ini" -RFILE="$HOME/.config/polybar/colorblocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #141C21/g' $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - bg1: ${SH5}FF; - bg2: ${SH4}FF; - bg3: ${SH3}FF; - fg: #141C21FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - FG="#141C21" - SH1="#FF6F00" SH2="#FF8F00" SH3="#FFA000" SH4="#FFB300" - SH5="#FFC107" SH6="#FFCA28" SH7="#FFD54F" SH8="#FFE082" - change_color -elif [[ $1 = "--blue" ]]; then - FG="#F5F5F5" - SH1="#0D47A1" SH2="#1565C0" SH3="#1976D2" SH4="#1E88E5" - SH5="#2196F3" SH6="#42A5F5" SH7="#64B5F6" SH8="#90CAF9" - change_color -elif [[ $1 = "--blue-gray" ]]; then - FG="#F5F5F5" - SH1="#263238" SH2="#37474F" SH3="#455A64" SH4="#546E7A" - SH5="#607D8B" SH6="#78909C" SH7="#90A4AE" SH8="#B0BEC5" - change_color -elif [[ $1 = "--brown" ]]; then - FG="#F5F5F5" - SH1="#3E2723" SH2="#4E342E" SH3="#5D4037" SH4="#6D4C41" - SH5="#795548" SH6="#8D6E63" SH7="#A1887F" SH8="#BCAAA4" - change_color -elif [[ $1 = "--cyan" ]]; then - FG="#141C21" - SH1="#006064" SH2="#00838F" SH3="#0097A7" SH4="#00ACC1" - SH5="#00BCD4" SH6="#26C6DA" SH7="#4DD0E1" SH8="#80DEEA" - change_color -elif [[ $1 = "--deep-orange" ]]; then - FG="#F5F5F5" - SH1="#BF360C" SH2="#D84315" SH3="#E64A19" SH4="#F4511E" - SH5="#FF5722" SH6="#FF7043" SH7="#FF8A65" SH8="#FFAB91" - change_color -elif [[ $1 = "--deep-purple" ]]; then - FG="#F5F5F5" - SH1="#311B92" SH2="#4527A0" SH3="#512DA8" SH4="#5E35B1" - SH5="#673AB7" SH6="#7E57C2" SH7="#9575CD" SH8="#B39DDB" - change_color -elif [[ $1 = "--green" ]]; then - FG="#F5F5F5" - SH1="#1B5E20" SH2="#2E7D32" SH3="#388E3C" SH4="#43A047" - SH5="#4CAF50" SH6="#66BB6A" SH7="#81C784" SH8="#A5D6A7" - change_color -elif [[ $1 = "--gray" ]]; then - FG="#141C21" - SH1="#212121" SH2="#424242" SH3="#616161" SH4="#757575" - SH5="#9E9E9E" SH6="#BDBDBD" SH7="#D4D4D4" SH8="#EEEEEE" - change_color -elif [[ $1 = "--indigo" ]]; then - FG="#F5F5F5" - SH1="#1A237E" SH2="#283593" SH3="#303F9F" SH4="#3949AB" - SH5="#3F51B5" SH6="#5C6BC0" SH7="#7986CB" SH8="#9FA8DA" - change_color -elif [[ $1 = "--light-blue" ]]; then - FG="#141C21" - SH1="#01579B" SH2="#0277BD" SH3="#0288D1" SH4="#039BE5" - SH5="#03A9F4" SH6="#29B6F6" SH7="#4FC3F7" SH8="#81D4FA" - change_color -elif [[ $1 = "--light-green" ]]; then - FG="#141C21" - SH1="#33691E" SH2="#558B2F" SH3="#689F38" SH4="#7CB342" - SH5="#8BC34A" SH6="#9CCC65" SH7="#AED581" SH8="#C5E1A5" - change_color -elif [[ $1 = "--lime" ]]; then - FG="#141C21" - SH1="#827717" SH2="#9E9D24" SH3="#AFB42B" SH4="#C0CA33" - SH5="#CDDC39" SH6="#D4E157" SH7="#DCE775" SH8="#E6EE9C" - change_color -elif [[ $1 = "--orange" ]]; then - FG="#141C21" - SH1="#E65100" SH2="#EF6C00" SH3="#F57C00" SH4="#FB8C00" - SH5="#FF9800" SH6="#FFA726" SH7="#FFB74D" SH8="#FFCC80" - change_color -elif [[ $1 = "--pink" ]]; then - FG="#F5F5F5" - SH1="#880E4F" SH2="#AD1457" SH3="#C2185B" SH4="#D81B60" - SH5="#E91E63" SH6="#EC407A" SH7="#F06292" SH8="#F48FB1" - change_color -elif [[ $1 = "--purple" ]]; then - FG="#F5F5F5" - SH1="#4A148C" SH2="#6A1B9A" SH3="#7B1FA2" SH4="#8E24AA" - SH5="#9C27B0" SH6="#AB47BC" SH7="#BA68C8" SH8="#CE93D8" - change_color -elif [[ $1 = "--red" ]]; then - FG="#F5F5F5" - SH1="#B71C1C" SH2="#C62828" SH3="#D32F2F" SH4="#E53935" - SH5="#EE413D" SH6="#EF5350" SH7="#E57373" SH8="#EF9A9A" - change_color -elif [[ $1 = "--teal" ]]; then - FG="#F5F5F5" - SH1="#004D40" SH2="#00695C" SH3="#00796B" SH4="#00897B" - SH5="#009688" SH6="#26A69A" SH7="#4DB6AC" SH8="#80CBC4" - change_color -elif [[ $1 = "--yellow" ]]; then - FG="#141C21" - SH1="#F57F17" SH2="#F9A825" SH3="#FBC02D" SH4="#FDD835" - SH5="#FFEB3B" SH6="#FFEE58" SH7="#FFF176" SH8="#FFF59D" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/colorblocks/scripts/launcher.sh b/config/polybar/colorblocks/scripts/launcher.sh deleted file mode 100755 index 4fa093e..0000000 --- a/config/polybar/colorblocks/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/colorblocks/scripts/rofi/launcher.rasi diff --git a/config/polybar/colorblocks/scripts/powermenu.sh b/config/polybar/colorblocks/scripts/powermenu.sh deleted file mode 100755 index b4bb784..0000000 --- a/config/polybar/colorblocks/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/colorblocks/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/colorblocks/scripts/pywal.sh b/config/polybar/colorblocks/scripts/pywal.sh deleted file mode 100755 index 4419197..0000000 --- a/config/polybar/colorblocks/scripts/pywal.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/colorblocks/colors.ini" -RFILE="$HOME/.config/polybar/colorblocks/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bg1: ${SH8}FF; - bg2: ${SH7}FF; - bg3: ${SH6}FF; - fg: ${FGA}FF; - } - EOF - - polybar-msg cmd restart -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$color0"` - FGA=`printf "%s\n" "$color7"` - SH1=`printf "%s\n" "$color1"` - SH2=`printf "%s\n" "$color2"` - SH3=`printf "%s\n" "$color1"` - SH4=`printf "%s\n" "$color2"` - SH5=`printf "%s\n" "$color1"` - SH6=`printf "%s\n" "$color2"` - SH7=`printf "%s\n" "$color1"` - SH8=`printf "%s\n" "$color2"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/colorblocks/scripts/random.sh b/config/polybar/colorblocks/scripts/random.sh deleted file mode 100755 index ff7d99b..0000000 --- a/config/polybar/colorblocks/scripts/random.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/colorblocks/colors.ini" -RFILE="$HOME/.config/polybar/colorblocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #141C21FF; - bg1: ${SH8}FF; - bg2: ${SH7}FF; - bg3: ${SH6}FF; - fg: #FFFFFFFF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -# Main -BG='#141C21' # change to light bg -FG='#141C21' # change to dark fg -FGA='#FFFFFF' # change to gray fg -SH1=`get_random_color` -SH2=`get_random_color` -SH3=`get_random_color` -SH4=`get_random_color` -SH5=`get_random_color` -SH6=`get_random_color` -SH7=`get_random_color` -SH8=`get_random_color` - -change_color diff --git a/config/polybar/colorblocks/scripts/rofi/colors.rasi b/config/polybar/colorblocks/scripts/rofi/colors.rasi deleted file mode 100644 index a0b120c..0000000 --- a/config/polybar/colorblocks/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #141C21FF; - bg1: #80DEEAFF; - bg2: #4DD0E1FF; - bg3: #26C6DAFF; - fg: #FFFFFFFF; -} diff --git a/config/polybar/colorblocks/scripts/rofi/confirm.rasi b/config/polybar/colorblocks/scripts/rofi/confirm.rasi deleted file mode 100644 index 97e4a61..0000000 --- a/config/polybar/colorblocks/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 225px; - padding: 25px; - border: 0px 0px 0px 4px; - border-radius: 0px; - border-color: @bg3; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @bg2; -} diff --git a/config/polybar/colorblocks/scripts/rofi/launcher.rasi b/config/polybar/colorblocks/scripts/rofi/launcher.rasi deleted file mode 100644 index 1c48fcd..0000000 --- a/config/polybar/colorblocks/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,120 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @bg1; - border-radius: 0px; - width: 700px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 12px 15px 12px 15px; - background-color: @bg1; - text-color: @fga; - font: "Iosevka Nerd Font 12"; -} - -entry { - background-color: @bg2; - text-color: @fga; - placeholder-color: @fga; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 15px 0px 0px 15px; - margin: 0px 250px 0px 0px; - border-radius: 0px 50px 50px 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg3; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 3; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @bg3; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/colorblocks/scripts/rofi/message.rasi b/config/polybar/colorblocks/scripts/rofi/message.rasi deleted file mode 100644 index 8e4470d..0000000 --- a/config/polybar/colorblocks/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px 0px 0px 4px; - border-radius: 0px; - border-color: @bg3; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @bg2; -} diff --git a/config/polybar/colorblocks/scripts/rofi/networkmenu.rasi b/config/polybar/colorblocks/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 2d7c04b..0000000 --- a/config/polybar/colorblocks/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @bg1; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 12px 15px 12px 15px; - background-color: @bg2; - text-color: @fga; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 12"; - background-color: @bg1; - text-color: @fga; - expand: false; - str: "直"; -} - -entry { - background-color: @bg2; - text-color: @fga; - placeholder-color: @fga; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 15px 0px 0px 15px; - margin: 0px 250px 0px 0px; - border-radius: 0px 50px 50px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg2; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -4px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @bg3; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/colorblocks/scripts/rofi/powermenu.rasi b/config/polybar/colorblocks/scripts/rofi/powermenu.rasi deleted file mode 100644 index 17e0ceb..0000000 --- a/config/polybar/colorblocks/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @bg1; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 12px 15px 12px 15px; - background-color: @bg2; - text-color: @fga; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 12"; - background-color: @bg1; - text-color: @fga; - expand: false; - str: ""; -} - -entry { - background-color: @bg2; - text-color: @fga; - placeholder-color: @fga; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 15px 0px 0px 15px; - margin: 0px 250px 0px 0px; - border-radius: 0px 50px 50px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg2; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -25px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @bg3; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/colorblocks/scripts/rofi/styles.rasi b/config/polybar/colorblocks/scripts/rofi/styles.rasi deleted file mode 100644 index 75290f1..0000000 --- a/config/polybar/colorblocks/scripts/rofi/styles.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @bg1; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 12px 15px 12px 15px; - background-color: @bg2; - text-color: @fga; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 12"; - background-color: @bg1; - text-color: @fga; - expand: false; - str: ""; -} - -entry { - background-color: @bg2; - text-color: @fga; - placeholder-color: @fga; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 15px 10px 15px; - margin: 0px 250px 0px 0px; - border-radius: 0px 50px 50px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bg2; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -25px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @bg3; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/colorblocks/scripts/updates.sh b/config/polybar/colorblocks/scripts/updates.sh deleted file mode 100755 index 48b5bab..0000000 --- a/config/polybar/colorblocks/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/colorblocks/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/colorblocks/user_modules.ini b/config/polybar/colorblocks/user_modules.ini deleted file mode 100644 index 7e3c3f7..0000000 --- a/config/polybar/colorblocks/user_modules.ini +++ /dev/null @@ -1,288 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/colorblocks/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-prefix-font = 2 -format-background = ${color.shade8} -format-foreground = ${color.foreground} -format-padding = 2 - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-background = ${color.background} -content-foreground = ${color.shade4} -content-padding = 2 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/colorblocks/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/colorblocks/scripts/launcher-full -click-right = ~/.config/polybar/colorblocks/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/colorblocks/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/colorblocks/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.shade4} -content-padding = 2 - -click-left = ~/.config/polybar/colorblocks/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-background = #FFFFFF -content-foreground = #CC6666 -content-padding = 2 - -click-left = ~/.config/polybar/colorblocks/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " " - -content-background = ${color.alpha} -content-foreground = ${color.alpha} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/links] -type = custom/text -content-background = ${color.background} -content-padding = 2 -content-font = 2 - -[module/google] -inherit = module/links -content = -content-foreground = ${color.shade7} -click-left = exo-open https://www.google.com/ & - -[module/github] -inherit = module/links -content = -content-foreground = ${color.shade6} -click-left = exo-open https://www.github.com/ & - -[module/reddit] -inherit = module/links -content = -content-foreground = ${color.shade5} -click-left = exo-open https://www.reddit.com/ & - -[module/gmail] -inherit = module/links -content = -content-foreground = ${color.shade4} -click-left = exo-open https://mail.google.com/ & - -[module/twitter] -inherit = module/links -content = -content-foreground = ${color.shade3} -click-left = exo-open https://www.twitter.com/ & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = " Reboot " -menu-0-0-background = ${color.background} -menu-0-0-foreground = ${color.foreground-alt} -menu-0-0-exec = menu-open-1 -menu-0-1 = " Shutdown " -menu-0-1-background = ${color.background} -menu-0-1-foreground = ${color.foreground-alt} -menu-0-1-exec = menu-open-2 - -menu-1-0 = " Back " -menu-1-0-background = ${color.background} -menu-1-0-foreground = ${color.foreground-alt} -menu-1-0-exec = menu-open-0 -menu-1-1 = " Reboot " -menu-1-1-background = ${color.background} -menu-1-1-foreground = ${color.foreground-alt} -menu-1-1-exec = systemctl reboot - -menu-2-0 = " Shutdown " -menu-2-0-background = ${color.background} -menu-2-0-foreground = ${color.foreground-alt} -menu-2-0-exec = systemctl poweroff -menu-2-1 = " Back " -menu-2-1-background = ${color.background} -menu-2-1-foreground = ${color.foreground-alt} -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle><menu> -format-background = ${color.background} -format-foreground = ${color.foreground} - -label-open = -label-open-background = ${color.background} -label-open-foreground = ${color.shade4} -label-open-padding = 2 -label-open-font = 1 - -label-close = -label-close-background = ${color.background} -label-close-foreground = ${color.shade4} -label-close-padding = 2 -label-close-font = 2 - -; Optional item separator -; Default: none -label-separator = " | " -label-separator-background = ${color.background} -label-separator-foreground = ${color.shade4} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-background = ${color.background} -menu-0-0-foreground = ${color.foreground-alt} -menu-0-0-exec = ~/.config/polybar/colorblocks/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-background = ${color.background} -menu-0-1-foreground = ${color.foreground-alt} -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-background = ${color.background} -menu-0-2-foreground = ${color.foreground-alt} -menu-0-2-exec = termite & -menu-0-3 =" Browser " -menu-0-3-background = ${color.background} -menu-0-3-foreground = ${color.foreground-alt} -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle><menu> -format-background = ${color.background} - -label-open = -label-open-background = ${color.background} -label-open-foreground = ${color.shade4} -label-open-padding = 2 -label-open-font = 2 - -label-close = -label-close-background = ${color.background} -label-close-foreground = ${color.shade4} -label-close-padding = 2 -label-close-font = 2 - -; Optional item separator -; Default: none -label-separator = " | " -label-separator-background = ${color.background} -label-separator-foreground = ${color.shade4} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/cuts/bars.ini b/config/polybar/cuts/bars.ini deleted file mode 100644 index 43edc3a..0000000 --- a/config/polybar/cuts/bars.ini +++ /dev/null @@ -1,542 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = ﭳ -empty = ﭳ -indicator = -width = 6 -format = %{T4}%fill%%indicator%%empty%%{F-}%{T-} - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> -format-volume-background = ${color.background} -format-volume-padding = 1 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-background = ${color.background} -format-muted-padding = 1 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; Only applies if <bar-volume> is used -bar-volume-format = ${bar.format} -bar-volume-width = ${bar.width} -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.green} -bar-volume-foreground-1 = ${color.green} -bar-volume-foreground-2 = ${color.yellow} -bar-volume-foreground-3 = ${color.yellow} -bar-volume-foreground-4 = ${color.red} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground-alt} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-format = ${bar.format} -bar-width = ${bar.width} -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.green} -bar-foreground-1 = ${color.green} -bar-foreground-2 = ${color.yellow} -bar-foreground-3 = ${color.yellow} -bar-foreground-4 = ${color.red} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " -format-charging-background = ${color.background} -format-charging-padding = 1 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " -format-discharging-background = ${color.background} -format-discharging-padding = 1 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-background = ${color.background} -format-full-padding = 1 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <bar-capacity> is used -bar-capacity-format = ${bar.format} -bar-capacity-width = ${bar.width} -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.green} -bar-capacity-foreground-1 = ${color.green} -bar-capacity-foreground-2 = ${color.yellow} -bar-capacity-foreground-3 = ${color.yellow} -bar-capacity-foreground-4 = ${color.red} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-format = ${bar.format} -bar-load-width = ${bar.width} -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.green} -bar-load-foreground-1 = ${color.green} -bar-load-foreground-2 = ${color.yellow} -bar-load-foreground-3 = ${color.yellow} -bar-load-foreground-4 = ${color.red} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " -format-mounted-background = ${color.background} -format-mounted-padding = 1 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " -format-unmounted-background = ${color.background} -format-unmounted-padding = 1 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-format = ${bar.format} -bar-used-width = ${bar.width} -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.yellow} -bar-used-foreground-3 = ${color.yellow} -bar-used-foreground-4 = ${color.red} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-format = ${bar.format} -bar-used-width = ${bar.width} -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.yellow} -bar-used-foreground-3 = ${color.yellow} -bar-used-foreground-4 = ${color.red} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = -format-online-background = ${color.background} -format-online-padding = 1 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-background = ${color.background} -format-offline-padding = 1 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.green} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -bar-progress-format = ${bar.format} -bar-progress-width = ${bar.width} -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.green} -bar-progress-foreground-1 = ${color.green} -bar-progress-foreground-2 = ${color.yellow} -bar-progress-foreground-3 = ${color.yellow} -bar-progress-foreground-4 = ${color.red} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/cuts/colors.ini b/config/polybar/cuts/colors.ini deleted file mode 100644 index 49c39b4..0000000 --- a/config/polybar/cuts/colors.ini +++ /dev/null @@ -1,24 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #0a0a0a -background-alt = #8C0a0a0a -foreground = #f5f5f5 -foreground-alt = #33f5f5f5 -primary = #fdd835 -red = #FF5250 -green = #43a047 -yellow = #fdd835 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/cuts/config.ini b/config/polybar/cuts/config.ini deleted file mode 100644 index f721007..0000000 --- a/config/polybar/cuts/config.ini +++ /dev/null @@ -1,312 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/cuts/bars.ini -include-file = ~/.config/polybar/cuts/colors.ini -include-file = ~/.config/polybar/cuts/modules.ini -include-file = ~/.config/polybar/cuts/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 28 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background-alt} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.primary} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -; Text Fonts -font-0 = Iosevka Nerd Font:style=Medium:size=10;4 -; Icons Fonts -font-1 = feather:style=Medium:size=12;3 -; Powerline Glyphs -font-2 = Iosevka Nerd Font:style=Medium:size=19;3 -; Larger font size for bar fill icons -font-3 = Iosevka Nerd Font:style=Medium:size=12;4 -; Smaller font size for shorter spaces -font-4 = Iosevka Nerd Font:style=Medium:size=7;4 - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -modules-left = launcher title decor1 decor2 workspaces decor1 decor2 color-switch decor1 -modules-right = decor4 updates decor3 decor4 temperature battery keyboard decor3 decor4 date sysmenu -enable-ipc = true - -[bar/bottom] -inherit = bar/main -bottom = true -modules-left = mpd decor3 decor4 cpu memory filesystem decor3 -modules-right = decor2 network decor1 decor2 volume brightness -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background-alt} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/cuts/launch.sh b/config/polybar/cuts/launch.sh deleted file mode 100755 index 52b4f9d..0000000 --- a/config/polybar/cuts/launch.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/cuts" - -# 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 the bar -polybar -q top -c "$DIR"/config.ini & -polybar -q bottom -c "$DIR"/config.ini & diff --git a/config/polybar/cuts/modules.ini b/config/polybar/cuts/modules.ini deleted file mode 100644 index e9a0cab..0000000 --- a/config/polybar/cuts/modules.ini +++ /dev/null @@ -1,1108 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.background} -format-volume-padding = 1 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-background = ${color.background} -format-muted-padding = 1 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <label-charging> -format-charging-prefix = " " -format-charging-background = ${color.background} -format-charging-padding = 1 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <label-discharging> -format-discharging-prefix = " " -format-discharging-background = ${color.background} -format-discharging-padding = 1 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-background = ${color.background} -format-full-padding = 1 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = Full - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-background = ${color.background} -format-mounted-padding = 1 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-background = ${color.background} -format-unmounted-padding = 1 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = -format-online-background = ${color.background} -format-online-padding = 1 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-background = ${color.background} -format-offline-padding = 1 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.green} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = -format-connected-background = ${color.background} -format-connected-padding = 1 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = -format-disconnected-background = ${color.background} -format-disconnected-padding = 1 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:} %essid% %downspeed% %upspeed%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.background} -format-volume-padding = 1 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-background = ${color.background} -format-muted-padding = 1 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> -format-background = ${color.background} -format-padding = 1 - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> -format-warn-background = ${color.background} -format-warn-padding = 1 - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-foreground = ${color.red} - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-background = ${color.background} -format-padding = 1 -format-prefix = - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.primary} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-background = ${color.background} -format-padding = 0 -;format-prefix = - -; Available tokens: -; %title% -; Default: %title% -label = "%title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -;;label-empty = Arch Linux - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-background = ${color.background} -format-padding = 0 - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.red} -label-active-overline = ${color.red} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.yellow} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.green} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% - -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 -label-empty-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/cuts/preview.ini b/config/polybar/cuts/preview.ini deleted file mode 100644 index 3377f74..0000000 --- a/config/polybar/cuts/preview.ini +++ /dev/null @@ -1,323 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/cuts/bars.ini -include-file = ~/.config/polybar/cuts/colors.ini -include-file = ~/.config/polybar/cuts/modules.ini -include-file = ~/.config/polybar/cuts/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 28 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background-alt} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.primary} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -; Text Fonts -font-0 = Iosevka Nerd Font:style=Medium:size=10;4 -; Icons Fonts -font-1 = feather:style=Medium:size=12;3 -; Powerline Glyphs -font-2 = Iosevka Nerd Font:style=Medium:size=19;3 -; Larger font size for bar fill icons -font-3 = Iosevka Nerd Font:style=Medium:size=12;4 -; Smaller font size for shorter spaces -font-4 = Iosevka Nerd Font:style=Medium:size=7;4 - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -bottom = true -offset-y = 71 -modules-left = launcher title decor1 decor2 workspaces decor1 decor2 color-switch decor1 -modules-right = decor4 updates decor3 decor4 temperature battery keyboard decor3 decor4 date sysmenu -enable-ipc = true - -[bar/mid] -inherit = bar/main -bottom = true -offset-y = 38 -modules-left = menu decor1 decor2 mpd_bar decor1 decor2 term files browser settings decor1 decor2 cpu_bar decor1 -modules-right = decor4 memory_bar decor3 decor4 alsa backlight decor3 decor4 filesystem_bar decor3 decor4 battery_bar pulseaudio decor3 decor4 powermenu -enable-ipc = true - -[bar/bottom] -inherit = bar/main -bottom = true -offset-y = 5 -modules-left = mpd decor3 decor4 cpu memory filesystem decor3 -modules-right = decor2 network decor1 decor2 volume brightness -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background-alt} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/cuts/preview.sh b/config/polybar/cuts/preview.sh deleted file mode 100755 index 9bb0ae6..0000000 --- a/config/polybar/cuts/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/cuts" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/cuts/scripts/checkupdates b/config/polybar/cuts/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/cuts/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/cuts/scripts/color-switch.sh b/config/polybar/cuts/scripts/color-switch.sh deleted file mode 100755 index 83941b6..0000000 --- a/config/polybar/cuts/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/cuts/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " amber| blue| blue-gray| brown| cyan| deep-orange|\ - deep-purple| green| gray| indigo| blue-light| green-light|\ - lime| orange| pink| purple| red| teal| yellow| amber-dark|\ - blue-dark| blue-gray-dark| brown-dark| cyan-dark| deep-orange-dark|\ - deep-purple-dark| green-dark| gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/cuts/scripts/colors-dark.sh b/config/polybar/cuts/scripts/colors-dark.sh deleted file mode 100755 index 22f1ca8..0000000 --- a/config/polybar/cuts/scripts/colors-dark.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/cuts/colors.ini" -RFILE="$HOME/.config/polybar/cuts/scripts/rofi/colors.rasi" - -BG="0a0a0a" -FG="f5f5f5" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = #${BG}/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = #8C${BG}/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = #${FG}/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = #33${FG}/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}BF; - bga: #${BG}FF; - fg: #${FG}FF; - ac: ${AC}FF; - se: ${AC}1A; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/cuts/scripts/colors-light.sh b/config/polybar/cuts/scripts/colors-light.sh deleted file mode 100755 index d7151e9..0000000 --- a/config/polybar/cuts/scripts/colors-light.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/cuts/colors.ini" -RFILE="$HOME/.config/polybar/cuts/scripts/rofi/colors.rasi" - -BG="FFFFFF" -FG="0A0A0A" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = #${BG}/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = #8C${BG}/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = #${FG}/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = #33${FG}/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}BF; - bga: #${BG}FF; - fg: #${FG}FF; - ac: ${AC}FF; - se: ${AC}1A; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/cuts/scripts/launcher.sh b/config/polybar/cuts/scripts/launcher.sh deleted file mode 100755 index 0386394..0000000 --- a/config/polybar/cuts/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/cuts/scripts/rofi/launcher.rasi diff --git a/config/polybar/cuts/scripts/powermenu.sh b/config/polybar/cuts/scripts/powermenu.sh deleted file mode 100755 index 44c6c57..0000000 --- a/config/polybar/cuts/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/cuts/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/cuts/scripts/pywal.sh b/config/polybar/cuts/scripts/pywal.sh deleted file mode 100755 index f154233..0000000 --- a/config/polybar/cuts/scripts/pywal.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/cuts/colors.ini" -RFILE="$HOME/.config/polybar/cuts/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = #${BG}/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = #8C${BG}/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = #${FG}/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = #33${FG}/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}BF; - bga: #${BG}FF; - fg: #${FG}FF; - ac: ${AC}FF; - se: ${AC}1A; - } - EOF - - polybar-msg cmd restart -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BGC=`printf "%s\n" "$background"` - BG=${BGC:1} - FGC=`printf "%s\n" "$foreground"` - FG=${FGC:1} - AC=`printf "%s\n" "$color1"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/cuts/scripts/random.sh b/config/polybar/cuts/scripts/random.sh deleted file mode 100755 index 6addb58..0000000 --- a/config/polybar/cuts/scripts/random.sh +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/cuts/colors.ini" -RFILE="$HOME/.config/polybar/cuts/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = #${BG}/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = #8C${BG}/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = #${FG}/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = #33${FG}/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}BF; - bga: #${BG}FF; - fg: #${FG}FF; - ac: ${AC}FF; - se: ${AC}1A; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -hex_to_rgb() { - # Convert a hex value WITHOUT the hashtag (#) - R=$(printf "%d" 0x${1:0:2}) - G=$(printf "%d" 0x${1:2:2}) - B=$(printf "%d" 0x${1:4:2}) -} - -get_fg_color(){ - INTENSITY=$(calc "$R*0.299 + $G*0.587 + $B*0.114") - - if [ $(echo "$INTENSITY>186" | bc) -eq 1 ]; then - FG="0a0a0a" - AC="#0a0a0a" - else - FG="F5F5F5" - AC="#F5F5F5" - fi -} - -# Main -BGC=`get_random_color` -BG=${BGC:1} -HEX=$BG - -hex_to_rgb $HEX -get_fg_color -change_color diff --git a/config/polybar/cuts/scripts/rofi/colors.rasi b/config/polybar/cuts/scripts/rofi/colors.rasi deleted file mode 100644 index ed69969..0000000 --- a/config/polybar/cuts/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #0a0a0aBF; - bga: #0a0a0aFF; - fg: #f5f5f5FF; - ac: #fdd835FF; - se: #fdd8351A; -} diff --git a/config/polybar/cuts/scripts/rofi/confirm.rasi b/config/polybar/cuts/scripts/rofi/confirm.rasi deleted file mode 100644 index bd82b52..0000000 --- a/config/polybar/cuts/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bga; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 225px; - padding: 25px; - border: 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} - diff --git a/config/polybar/cuts/scripts/rofi/launcher.rasi b/config/polybar/cuts/scripts/rofi/launcher.rasi deleted file mode 100644 index dbd7e79..0000000 --- a/config/polybar/cuts/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 500px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @ac; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 8px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 6; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/cuts/scripts/rofi/message.rasi b/config/polybar/cuts/scripts/rofi/message.rasi deleted file mode 100644 index 434f16b..0000000 --- a/config/polybar/cuts/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bga; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/cuts/scripts/rofi/networkmenu.rasi b/config/polybar/cuts/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 4ecf0a1..0000000 --- a/config/polybar/cuts/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/cuts/scripts/rofi/powermenu.rasi b/config/polybar/cuts/scripts/rofi/powermenu.rasi deleted file mode 100644 index ef15fd7..0000000 --- a/config/polybar/cuts/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/cuts/scripts/rofi/styles.rasi b/config/polybar/cuts/scripts/rofi/styles.rasi deleted file mode 100644 index 69bfef4..0000000 --- a/config/polybar/cuts/scripts/rofi/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/cuts/scripts/style-switch.sh b/config/polybar/cuts/scripts/style-switch.sh deleted file mode 100755 index e693e53..0000000 --- a/config/polybar/cuts/scripts/style-switch.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/cuts/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " Black| Adapta| Dark| Red| Green| Teal| Gruvbox| Nord| Solarized| Cherry|")" - case "$MENU" in - *Black) "$SDIR"/styles.sh --mode1 ;; - *Adapta) "$SDIR"/styles.sh --mode2 ;; - *Dark) "$SDIR"/styles.sh --mode3 ;; - *Red) "$SDIR"/styles.sh --mode4 ;; - *Green) "$SDIR"/styles.sh --mode5 ;; - *Teal) "$SDIR"/styles.sh --mode6 ;; - *Gruvbox) "$SDIR"/styles.sh --mode7 ;; - *Nord) "$SDIR"/styles.sh --mode8 ;; - *Solarized) "$SDIR"/styles.sh --mode9 ;; - *Cherry) "$SDIR"/styles.sh --mode10 ;; - esac diff --git a/config/polybar/cuts/scripts/styles.sh b/config/polybar/cuts/scripts/styles.sh deleted file mode 100755 index 94b6739..0000000 --- a/config/polybar/cuts/scripts/styles.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/cuts/colors.ini" -RFILE="$HOME/.config/polybar/cuts/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = #${BG}/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = #8C${BG}/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = #${FG}/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = #33${FG}/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}BF; - bga: #${BG}FF; - fg: #${FG}FF; - ac: ${AC}FF; - se: ${AC}1A; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--mode1" ]]; then - BG="0a0a0a" - FG="f5f5f5" - AC="#fdd835" - change_color -elif [[ $1 = "--mode2" ]]; then - BG="263238" - FG="DFDFDF" - AC="#00BCD4" - change_color -elif [[ $1 = "--mode3" ]]; then - BG="112526" - FG="C4AAA5" - AC="#EE7313" - change_color -elif [[ $1 = "--mode4" ]]; then - BG="461320" - FG="f5f5f5" - AC="#fdd835" - change_color -elif [[ $1 = "--mode5" ]]; then - BG="092F1C" - FG="f5f5f5" - AC="#fdd835" - change_color -elif [[ $1 = "--mode6" ]]; then - BG="003C3C" - FG="CFCFCF" - AC="#00acc1" - change_color -elif [[ $1 = "--mode7" ]]; then - BG="3C3836" - FG="EBDBB2" - AC="#FB4934" - change_color -elif [[ $1 = "--mode8" ]]; then - BG="2E3440" - FG="D8DEE9" - AC="#BF616A" - change_color -elif [[ $1 = "--mode9" ]]; then - BG="002b36" - FG="839496" - AC="#b58900" - change_color -elif [[ $1 = "--mode10" ]]; then - BG="1F1626" - FG="FFFFFF" - AC="#FFD16F" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --mode1 --mode2 --mode3 --mode4 --mode5 - --mode6 --mode7 --mode8 --mode9 --mode10 - _EOF_ -fi diff --git a/config/polybar/cuts/scripts/updates.sh b/config/polybar/cuts/scripts/updates.sh deleted file mode 100755 index 49eb66d..0000000 --- a/config/polybar/cuts/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/cuts/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/cuts/user_modules.ini b/config/polybar/cuts/user_modules.ini deleted file mode 100644 index 9b44d15..0000000 --- a/config/polybar/cuts/user_modules.ini +++ /dev/null @@ -1,267 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/cuts/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-background = ${color.background} -format-padding = 1 - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-background = ${color.background} -content-foreground = ${color.primary} -content-padding = 1 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/cuts/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/cuts/scripts/launcher-full -click-right = ~/.config/polybar/cuts/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/cuts/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/cuts/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.primary} -content-padding = 1 - -click-left = ~/.config/polybar/cuts/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.foreground} -content-padding = 1 - -click-left = ~/.config/polybar/cuts/scripts/style-switch.sh & -click-right = ~/.config/polybar/cuts/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/apps] -type = custom/text -content-background = ${color.background} -content-padding = 1 - -[module/term] -inherit = module/apps -content = -content-foreground = #fdd835 -click-left = termite & -click-middle = urxvt & -click-right = xfce4-terminal & - -[module/files] -inherit = module/apps -content-foreground = #1e88e5 -content = -click-left = thunar & -click-right = pcmanfm & - -[module/browser] -inherit = module/apps -content-foreground = #fb8c00 -content = -click-left = firefox & -click-right = chromium & - -[module/settings] -inherit = module/apps -content-foreground = #00897b -content = -click-left = xfce4-settings-manager & -click-right = lxappearance & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.background} -format-padding = 1 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -label-open-foreground = ${color.primary} -label-close-foreground = ${color.primary} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/cuts/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.background} -format-padding = 1 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -label-open-foreground = ${color.primary} -label-close-foreground = ${color.primary} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/decor-glyph] -type = custom/text -content-background = ${color.background-alt} -content-foreground = ${color.background} - -[module/decor1] -inherit = module/decor-glyph -content = "%{T3}%{T-}" - -[module/decor2] -inherit = module/decor-glyph -content = "%{T3}%{T-}" - -[module/decor3] -inherit = module/decor-glyph -content = "%{T3}%{T-}" - -[module/decor4] -inherit = module/decor-glyph -content = "%{T3}%{T-}" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - diff --git a/config/polybar/docky/bars.ini b/config/polybar/docky/bars.ini deleted file mode 100644 index 2cd1a7a..0000000 --- a/config/polybar/docky/bars.ini +++ /dev/null @@ -1,498 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = -empty = -indicator = ⏽ -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground-alt} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/docky/colors.ini b/config/polybar/docky/colors.ini deleted file mode 100644 index 5a7b4fc..0000000 --- a/config/polybar/docky/colors.ini +++ /dev/null @@ -1,23 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #1F1F1F -foreground = #FFFFFF -foreground-alt = #8F8F8F -module-fg = #FFFFFF -primary = #e53935 -secondary = #E53935 -alternate = #7cb342 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/docky/config.ini b/config/polybar/docky/config.ini deleted file mode 100644 index ffdb22a..0000000 --- a/config/polybar/docky/config.ini +++ /dev/null @@ -1,293 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/docky/bars.ini -include-file = ~/.config/polybar/docky/colors.ini -include-file = ~/.config/polybar/docky/modules.ini -include-file = ~/.config/polybar/docky/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 98% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 1% -offset-y = 2%:-2 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.primary} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 2 -border-bottom-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;3" -font-1 = "feather:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = launcher workspaces -modules-center = mpd -modules-right = updates color-switch alsa backlight battery network date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/docky/launch.sh b/config/polybar/docky/launch.sh deleted file mode 100755 index 11ebaca..0000000 --- a/config/polybar/docky/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/docky" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/docky/modules.ini b/config/polybar/docky/modules.ini deleted file mode 100644 index b545f19..0000000 --- a/config/polybar/docky/modules.ini +++ /dev/null @@ -1,1065 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground-alt} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <label-charging> -format-charging-prefix = " " - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <label-discharging> -format-discharging-prefix = " " - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = Full - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:} %essid%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground-alt} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-foreground = ${color.secondary} - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.primary} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-prefix = - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -;;label-empty = Arch Linux - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-padding = 0 - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.primary} -label-active-overline = ${color.primary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.alternate} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.secondary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% - -label-active-padding = 2 -label-urgent-padding = 2 -label-occupied-padding = 2 -label-empty-padding = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/docky/preview.ini b/config/polybar/docky/preview.ini deleted file mode 100644 index bb5136d..0000000 --- a/config/polybar/docky/preview.ini +++ /dev/null @@ -1,319 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/docky/bars.ini -include-file = ~/.config/polybar/docky/colors.ini -include-file = ~/.config/polybar/docky/modules.ini -include-file = ~/.config/polybar/docky/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 98% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 1% -offset-y = 2%:-2 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.primary} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;border-bottom-size = 2 -;border-bottom-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;3" -font-1 = "feather:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -bottom = true -border-top-size = 2 -border-top-color = ${color.primary} -offset-y = 139 -modules-left = menu term files browser settings filesystem temperature -modules-center = title -modules-right = color-switch keyboard pulseaudio backlight updates powermenu -enable-ipc = true - -[bar/mid] -inherit = bar/main -bottom = true -offset-y = 80 -modules-center = volume brightness battery_bar cpu_bar filesystem_bar memory_bar mpd_bar -enable-ipc = true - -[bar/bottom] -inherit = bar/main -bottom = true -border-bottom-size = 2 -border-bottom-color = ${color.primary} -modules-left = launcher workspaces cpu memory -modules-center = mpd -modules-right = alsa battery network date sysmenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/docky/preview.sh b/config/polybar/docky/preview.sh deleted file mode 100755 index af05cb7..0000000 --- a/config/polybar/docky/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/docky" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/docky/scripts/checkupdates b/config/polybar/docky/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/docky/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/docky/scripts/color-switch.sh b/config/polybar/docky/scripts/color-switch.sh deleted file mode 100755 index 8e4f150..0000000 --- a/config/polybar/docky/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/docky/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " amber| blue| blue-gray| brown| cyan| deep-orange|\ - deep-purple| green| gray| indigo| blue-light| green-light|\ - lime| orange| pink| purple| red| teal| yellow| amber-dark|\ - blue-dark| blue-gray-dark| brown-dark| cyan-dark| deep-orange-dark|\ - deep-purple-dark| green-dark| gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/docky/scripts/colors-dark.sh b/config/polybar/docky/scripts/colors-dark.sh deleted file mode 100755 index 7a5a6a2..0000000 --- a/config/polybar/docky/scripts/colors-dark.sh +++ /dev/null @@ -1,120 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/docky/colors.ini" -RFILE="$HOME/.config/polybar/docky/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #1F1F1F/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #8F8F8F/g' $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/secondary = #.*/secondary = #E53935/g' $PFILE - sed -i -e 's/alternate = #.*/alternate = #7cb342/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #1F1F1FFF; - bga: ${AC}33; - bar: ${MF}FF; - fg: #FFFFFFFF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - MF="#1F1F1F" - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - MF="#FFFFFF" - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - MF="#FFFFFF" - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - MF="#FFFFFF" - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - MF="#1F1F1F" - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - MF="#FFFFFF" - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - MF="#FFFFFF" - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - MF="#FFFFFF" - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - MF="#FFFFFF" - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - MF="#FFFFFF" - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - MF="#1F1F1F" - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - MF="#1F1F1F" - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - MF="#1F1F1F" - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - MF="#1F1F1F" - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - MF="#FFFFFF" - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - MF="#FFFFFF" - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - MF="#FFFFFF" - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - MF="#FFFFFF" - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - MF="#1F1F1F" - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/docky/scripts/colors-light.sh b/config/polybar/docky/scripts/colors-light.sh deleted file mode 100755 index 5193e24..0000000 --- a/config/polybar/docky/scripts/colors-light.sh +++ /dev/null @@ -1,120 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/docky/colors.ini" -RFILE="$HOME/.config/polybar/docky/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #2E2E2E/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #656565/g' $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/secondary = #.*/secondary = #E53935/g' $PFILE - sed -i -e 's/alternate = #.*/alternate = #7cb342/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - bga: ${AC}33; - bar: ${MF}FF; - fg: #2E2E2EFF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - MF="#2E2E2E" - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - MF="#FFFFFF" - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - MF="#FFFFFF" - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - MF="#FFFFFF" - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - MF="#2E2E2E" - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - MF="#FFFFFF" - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - MF="#FFFFFF" - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - MF="#FFFFFF" - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - MF="#FFFFFF" - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - MF="#FFFFFF" - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - MF="#2E2E2E" - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - MF="#2E2E2E" - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - MF="#2E2E2E" - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - MF="#2E2E2E" - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - MF="#FFFFFF" - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - MF="#FFFFFF" - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - MF="#FFFFFF" - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - MF="#FFFFFF" - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - MF="#2E2E2E" - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/docky/scripts/launcher.sh b/config/polybar/docky/scripts/launcher.sh deleted file mode 100755 index 4efe826..0000000 --- a/config/polybar/docky/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/docky/scripts/rofi/launcher.rasi diff --git a/config/polybar/docky/scripts/powermenu.sh b/config/polybar/docky/scripts/powermenu.sh deleted file mode 100755 index a2231dd..0000000 --- a/config/polybar/docky/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/docky/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/docky/scripts/pywal.sh b/config/polybar/docky/scripts/pywal.sh deleted file mode 100755 index 36b7962..0000000 --- a/config/polybar/docky/scripts/pywal.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/docky/colors.ini" -RFILE="$HOME/.config/polybar/docky/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e "s/secondary = #.*/secondary = $SC/g" $PFILE - sed -i -e "s/alternate = #.*/alternate = $AL/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${AC}33; - bar: ${MF}FF; - fg: ${FG}FF; - ac: ${AC}FF; - } - EOF -} - -hex_to_rgb() { - # Convert a hex value WITHOUT the hashtag (#) - R=$(printf "%d" 0x${1:0:2}) - G=$(printf "%d" 0x${1:2:2}) - B=$(printf "%d" 0x${1:4:2}) -} - -get_fg_color(){ - INTENSITY=$(calc "$R*0.299 + $G*0.587 + $B*0.114") - - if [ $(echo "$INTENSITY>186" | bc) -eq 1 ]; then - MF="#202020" - else - MF="#F5F5F5" - fi -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$foreground"` - FGA=`printf "%s\n" "$color8"` - AC=`printf "%s\n" "$color1"` - SC=`printf "%s\n" "$color2"` - AL=`printf "%s\n" "$color3"` - - HEX=${AC:1} - - hex_to_rgb $HEX - get_fg_color - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/docky/scripts/random.sh b/config/polybar/docky/scripts/random.sh deleted file mode 100755 index 2f8df54..0000000 --- a/config/polybar/docky/scripts/random.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/docky/colors.ini" -RFILE="$HOME/.config/polybar/docky/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e "s/secondary = #.*/secondary = $SC/g" $PFILE - sed -i -e "s/alternate = #.*/alternate = $AL/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${AC}33; - bar: ${MF}FF; - fg: ${FG}FF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -hex_to_rgb() { - # Convert a hex value WITHOUT the hashtag (#) - R=$(printf "%d" 0x${1:0:2}) - G=$(printf "%d" 0x${1:2:2}) - B=$(printf "%d" 0x${1:4:2}) -} - -get_fg_color(){ - INTENSITY=$(calc "$R*0.299 + $G*0.587 + $B*0.114") - - if [ $(echo "$INTENSITY>186" | bc) -eq 1 ]; then - MF="#0a0a0a" - else - MF="#F5F5F5" - fi -} - -# Main -BG='#1F1F1F' # change to light bg -FG='#FFFFFF' # change to dark fg -FGA=`get_random_color` -AC=`get_random_color` -SC=`get_random_color` -AL=`get_random_color` - -HEX=${AC:1} - -hex_to_rgb $HEX -get_fg_color -change_color diff --git a/config/polybar/docky/scripts/rofi/colors.rasi b/config/polybar/docky/scripts/rofi/colors.rasi deleted file mode 100644 index 8f1b78a..0000000 --- a/config/polybar/docky/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #1F1F1FFF; - bga: #e5393533; - bar: #FFFFFFFF; - fg: #FFFFFFFF; - ac: #e53935FF; -} diff --git a/config/polybar/docky/scripts/rofi/confirm.rasi b/config/polybar/docky/scripts/rofi/confirm.rasi deleted file mode 100644 index 0a43fbc..0000000 --- a/config/polybar/docky/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 225px; - padding: 25px; - border: 0px 0px 2px 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/docky/scripts/rofi/launcher.rasi b/config/polybar/docky/scripts/rofi/launcher.rasi deleted file mode 100644 index e392fbf..0000000 --- a/config/polybar/docky/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 2px 0px; - border-color: @ac; - border-radius: 0px; - width: 350px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @bar; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/docky/scripts/rofi/message.rasi b/config/polybar/docky/scripts/rofi/message.rasi deleted file mode 100644 index a848ee6..0000000 --- a/config/polybar/docky/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px 0px 2px 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/docky/scripts/rofi/networkmenu.rasi b/config/polybar/docky/scripts/rofi/networkmenu.rasi deleted file mode 100644 index aac6541..0000000 --- a/config/polybar/docky/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 2px 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @bar; -} - -textbox-prompt-colon { - background-color: @al; - text-color: @bar; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -17px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/docky/scripts/rofi/powermenu.rasi b/config/polybar/docky/scripts/rofi/powermenu.rasi deleted file mode 100644 index 9ed3801..0000000 --- a/config/polybar/docky/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 2px 0px; - border-color: @ac; - border-radius: 0px; - width: 350px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @bar; -} - -textbox-prompt-colon { - background-color: @al; - text-color: @bar; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -17px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/docky/scripts/rofi/styles.rasi b/config/polybar/docky/scripts/rofi/styles.rasi deleted file mode 100644 index cd6647a..0000000 --- a/config/polybar/docky/scripts/rofi/styles.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 2px 0px; - border-color: @ac; - border-radius: 0px; - width: 350px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @bar; -} - -textbox-prompt-colon { - background-color: @al; - text-color: @bar; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 12px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -17px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/docky/scripts/updates.sh b/config/polybar/docky/scripts/updates.sh deleted file mode 100755 index c3de7c5..0000000 --- a/config/polybar/docky/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/docky/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/docky/user_modules.ini b/config/polybar/docky/user_modules.ini deleted file mode 100644 index 68973c7..0000000 --- a/config/polybar/docky/user_modules.ini +++ /dev/null @@ -1,233 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/docky/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-background = ${color.primary} -content-foreground = ${color.module-fg} -content-padding = 2 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/docky/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/docky/scripts/launcher-full -click-right = ~/.config/polybar/docky/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/docky/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/docky/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = - -content-background = ${color.primary} -content-foreground = ${color.module-fg} -content-padding = 2 - -click-left = ~/.config/polybar/docky/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.foreground} - -click-left = ~/.config/polybar/docky/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/apps] -type = custom/text -content-foreground = ${color.foreground-alt} -content-padding = 1 - -[module/term] -inherit = module/apps -content = -click-left = termite & -click-middle = urxvt & -click-right = xfce4-terminal & - -[module/files] -inherit = module/apps -content = -click-left = thunar & -click-right = pcmanfm & - -[module/browser] -inherit = module/apps -content = -click-left = firefox & -click-right = chromium & - -[module/settings] -inherit = module/apps -content = -click-left = xfce4-settings-manager & -click-right = lxappearance & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.primary} -format-foreground = ${color.module-fg} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/docky/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.primary} -format-foreground = ${color.module-fg} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/forest/bars.ini b/config/polybar/forest/bars.ini deleted file mode 100644 index 06b6eda..0000000 --- a/config/polybar/forest/bars.ini +++ /dev/null @@ -1,551 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = ⏽ -empty = ⏽ -indicator = -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-foreground = ${color.red} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.sep} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-foreground = ${color.blue} - -; Only applies if <bar-volume> is used -bar-volume-format = "%fill%%indicator%%empty%" -bar-volume-width = 11 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} -bar-volume-indicator-font = 2 - -bar-volume-fill = ${bar.fill} -bar-volume-fill-font = 2 -bar-volume-foreground-0 = ${color.green} -bar-volume-foreground-1 = ${color.green} -bar-volume-foreground-2 = ${color.yellow} -bar-volume-foreground-3 = ${color.yellow} -bar-volume-foreground-4 = ${color.red} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-font = 2 -bar-volume-empty-foreground = ${color.sep} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-foreground = ${color.lime} - -; Only applies if <bar> is used -bar-format = "%fill%%indicator%%empty%" -bar-width = 11 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} -bar-indicator-font = 2 - -bar-fill = ${bar.fill} -bar-fill-font = 2 -bar-foreground-0 = ${color.green} -bar-foreground-1 = ${color.green} -bar-foreground-2 = ${color.yellow} -bar-foreground-3 = ${color.yellow} -bar-foreground-4 = ${color.red} - -bar-empty = ${bar.empty} -bar-empty-font = 2 -bar-empty-foreground = ${color.sep} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = "" -format-charging-prefix-foreground = ${color.green} - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = "" -format-discharging-prefix-foreground = ${color.pink} - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = "" -format-full-prefix-foreground = ${color.red} - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = Full - -; Only applies if <bar-capacity> is used -bar-capacity-format = " %fill%%indicator%%empty%" -bar-capacity-width = 11 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-font = 2 -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-fill-font = 2 -bar-capacity-foreground-0 = ${color.green} -bar-capacity-foreground-1 = ${color.green} -bar-capacity-foreground-2 = ${color.yellow} -bar-capacity-foreground-3 = ${color.yellow} -bar-capacity-foreground-4 = ${color.red} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-font = 2 -bar-capacity-empty-foreground = ${color.sep} -bar-fill-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load><label> -format-prefix = -format-prefix-foreground = ${color.teal} - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Only applies if <bar-load> is used -bar-load-format = " %fill%%indicator%%empty%" -bar-load-width = 11 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-font = 2 -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-fill-font = 2 -bar-load-foreground-0 = ${color.green} -bar-load-foreground-1 = ${color.green} -bar-load-foreground-2 = ${color.yellow} -bar-load-foreground-3 = ${color.yellow} -bar-load-foreground-4 = ${color.red} - -bar-load-empty = ${bar.empty} -bar-load-empty-font = 2 -bar-load-empty-foreground = ${color.sep} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used><label-mounted> -format-mounted-prefix = -format-mounted-prefix-foreground = ${color.purple} - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-prefix-foreground = ${color.red} - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %used%/%total%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-format = " %fill%%indicator%%empty%" -bar-used-width = 11 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-font = 2 -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-fill-font = 2 -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.yellow} -bar-used-foreground-3 = ${color.yellow} -bar-used-foreground-4 = ${color.red} - -bar-used-empty = ${bar.empty} -bar-used-empty-font = 2 -bar-used-empty-foreground = ${color.sep} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used><label> -format-prefix = -format-prefix-foreground = ${color.indigo} - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <bar-used> is used -bar-used-format = " %fill%%indicator%%empty%" -bar-used-width = 11 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-font = 2 -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-fill-font = 2 -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.yellow} -bar-used-foreground-3 = ${color.yellow} -bar-used-foreground-4 = ${color.red} - -bar-used-empty = ${bar.empty} -bar-used-empty-font = 2 -bar-used-empty-foreground = ${color.sep} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song><bar-progress><label-time> -format-online-prefix = -format-online-prefix-foreground = ${color.green} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-prefix-foreground = ${color.red} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = " %elapsed% / %total%" - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -bar-progress-format = " %fill%%indicator%%empty%" -bar-progress-width = 11 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-font = 2 -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-fill-font = 2 -bar-progress-foreground-0 = ${color.green} -bar-progress-foreground-1 = ${color.green} -bar-progress-foreground-2 = ${color.yellow} -bar-progress-foreground-3 = ${color.yellow} -bar-progress-foreground-4 = ${color.red} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-font = 2 -bar-progress-empty-foreground = ${color.sep} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/forest/colors.ini b/config/polybar/forest/colors.ini deleted file mode 100644 index e81c44d..0000000 --- a/config/polybar/forest/colors.ini +++ /dev/null @@ -1,37 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #212B30 -foreground = #C4C7C5 -sep = #3F5360 - -white = #FFFFFF -black = #000000 -red = #EC7875 -pink = #EC407A -purple = #BA68C8 -blue = #42A5F5 -cyan = #4DD0E1 -teal = #00B19F -green = #61C766 -lime = #B9C244 -yellow = #FDD835 -amber = #FBC02D -orange = #E57C46 -brown = #AC8476 -indigo = #6C77BB -gray = #9E9E9E -blue-gray = #6D8895 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/forest/config.ini b/config/polybar/forest/config.ini deleted file mode 100644 index 5a2fa32..0000000 --- a/config/polybar/forest/config.ini +++ /dev/null @@ -1,294 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/forest/bars.ini -include-file = ~/.config/polybar/forest/colors.ini -include-file = ~/.config/polybar/forest/modules.ini -include-file = ~/.config/polybar/forest/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 34 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 0 -line-color = ${color.background} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-bottom-color = ${color.foreground} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;4" -font-1 = "Iosevka Nerd Font:size=10;3" -font-2 = "feather:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = launcher sep workspaces sep cpu memory filesystem -modules-center = mpd sep date -modules-right = battery network sep volume brightness sep sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/forest/launch.sh b/config/polybar/forest/launch.sh deleted file mode 100755 index 2c31c90..0000000 --- a/config/polybar/forest/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/forest" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/forest/modules.ini b/config/polybar/forest/modules.ini deleted file mode 100644 index 2fbe8de..0000000 --- a/config/polybar/forest/modules.ini +++ /dev/null @@ -1,1091 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-foreground = ${color.red} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.sep} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-foreground = ${color.blue} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = -ramp-headphones-background = ${color.blue} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-foreground = ${color.lime} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <label-charging> -format-charging-prefix = "" -format-charging-prefix-foreground = ${color.green} - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <label-discharging> -format-discharging-prefix = "" -format-discharging-prefix-foreground = ${color.pink} - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = -format-full-prefix-foreground = ${color.red} - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = " %percentage%%" - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = " %percentage%%" - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-prefix-foreground = ${color.yellow} - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -date = %A, %d %B - -; Optional time format -time = at %I:%M %p - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -date-alt = It's %A, %d %B %Y -time-alt = at %k:%M:%S - -; Available tags: -; <label> (default) -format = <label> -format-prefix = " " -format-prefix-foreground = ${color.red} - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %date% %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-prefix-foreground = ${color.orange} - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-prefix-foreground = ${color.red} - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: NA" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-prefix-foreground = ${color.blue} - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = -format-online-prefix-foreground = ${color.green} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-prefix-foreground = ${color.red} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% -label-time-background = ${color.background-alt} -label-time-padding = 1 - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-play-foreground = ${color.cyan} -icon-pause = -icon-pause-foreground = ${color.cyan} -icon-stop = -icon-stop-foreground = ${color.red} -icon-next = -icon-next-foreground = ${color.cyan} -icon-prev = -icon-prev-foreground = ${color.cyan} -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = -format-connected-prefix-foreground = ${color.purple} - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = -format-disconnected-prefix-foreground = ${color.orange} - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:} %essid% %{F#6C77BB}%{F-} %downspeed%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-prefix-foreground = ${color.red} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.sep} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-foreground = ${color.blue} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-foreground = ${color.red} - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-foreground = ${color.cyan} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = -format-prefix-foreground = ${color.blue-gray} - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = "%name%" -label-indicator-on-foreground = ${color.cyan} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-prefix = -format-foreground = ${color.foreground} - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -label-empty = " Desktop" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.pink} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.cyan} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.red} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% -label-empty-foreground = ${color.foreground} - -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 -label-empty-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/forest/preview.ini b/config/polybar/forest/preview.ini deleted file mode 100644 index bcd553f..0000000 --- a/config/polybar/forest/preview.ini +++ /dev/null @@ -1,310 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/forest/bars.ini -include-file = ~/.config/polybar/forest/colors.ini -include-file = ~/.config/polybar/forest/modules.ini -include-file = ~/.config/polybar/forest/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 34 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 5 -line-color = ${color.background} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-bottom-color = ${color.foreground} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;4" -font-1 = "Iosevka Nerd Font:size=10;3" -font-2 = "feather:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -offset-y = 10 -modules-center = title sep menu sep term files browser settings sep filesystem sep temperature sep color-switch sep keyboard sep pulseaudio sep backlight sep updates sep powermenu -enable-ipc = true - -[bar/mid] -inherit = bar/main -offset-y = 54 -modules-center = volume sep brightness sep battery_bar sep cpu_bar sep filesystem_bar sep memory_bar sep mpd_bar -enable-ipc = true - -[bar/bottom] -inherit = bar/main -offset-y = 98 -modules-center = launcher sep workspaces sep cpu sep memory sep mpd sep alsa sep battery sep network sep date sep sysmenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/forest/preview.sh b/config/polybar/forest/preview.sh deleted file mode 100755 index 695d051..0000000 --- a/config/polybar/forest/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/forest" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/forest/scripts/checkupdates b/config/polybar/forest/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/forest/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/forest/scripts/launcher.sh b/config/polybar/forest/scripts/launcher.sh deleted file mode 100755 index b853625..0000000 --- a/config/polybar/forest/scripts/launcher.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -FILE="$HOME/.config/polybar/forest/scripts/rofi/colors.rasi" - -## random accent color -#COLORS=('#EC7875' '#EC6798' '#BE78D1' '#75A4CD' '#00C7DF' '#00B19F' '#61C766' \ -# '#B9C244' '#EBD369' '#EDB83F' '#E57C46' '#AC8476' '#6C77BB' '#6D8895') -#AC="${COLORS[$(( $RANDOM % 14 ))]}" -#SE="${COLORS[$(( $RANDOM % 14 ))]}" -#sed -i -e "s/ac: .*/ac: ${AC}FF;/g" $FILE -#sed -i -e "s/se: .*/se: ${SE}FF;/g" $FILE - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/forest/scripts/rofi/launcher.rasi diff --git a/config/polybar/forest/scripts/powermenu.sh b/config/polybar/forest/scripts/powermenu.sh deleted file mode 100755 index 17db0cf..0000000 --- a/config/polybar/forest/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/forest/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/forest/scripts/rofi/colors.rasi b/config/polybar/forest/scripts/rofi/colors.rasi deleted file mode 100644 index cd1f090..0000000 --- a/config/polybar/forest/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #212B30FF; - bga: #263035FF; - fg: #C4C7C5FF; - ac: #EC407AFF; - se: #4DD0E1FF; -} diff --git a/config/polybar/forest/scripts/rofi/confirm.rasi b/config/polybar/forest/scripts/rofi/confirm.rasi deleted file mode 100644 index 0db4b79..0000000 --- a/config/polybar/forest/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 210px; - padding: 25px; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @se; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/forest/scripts/rofi/launcher.rasi b/config/polybar/forest/scripts/rofi/launcher.rasi deleted file mode 100644 index 91163e8..0000000 --- a/config/polybar/forest/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 500px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @bga; - text-color: @ac; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @se; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 6; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 5px; - padding: 5px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/forest/scripts/rofi/message.rasi b/config/polybar/forest/scripts/rofi/message.rasi deleted file mode 100644 index 4c7ef7f..0000000 --- a/config/polybar/forest/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @se; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/forest/scripts/rofi/networkmenu.rasi b/config/polybar/forest/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 898aead..0000000 --- a/config/polybar/forest/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @bga; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 0px; - background-color: @bga; - text-color: @ac; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @se; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 5px; - padding: 5px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/forest/scripts/rofi/powermenu.rasi b/config/polybar/forest/scripts/rofi/powermenu.rasi deleted file mode 100644 index 37900e8..0000000 --- a/config/polybar/forest/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 350px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @bga; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 0px; - background-color: @bga; - text-color: @ac; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @se; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 5px; - padding: 5px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -20px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/forest/scripts/rofi/styles.rasi b/config/polybar/forest/scripts/rofi/styles.rasi deleted file mode 100644 index 1c3f182..0000000 --- a/config/polybar/forest/scripts/rofi/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @ac; - border-radius: 0px; - width: 350px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @bga; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 0px; - background-color: @bga; - text-color: @ac; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @se; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 5px; - padding: 5px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -20px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/forest/scripts/style-switch.sh b/config/polybar/forest/scripts/style-switch.sh deleted file mode 100755 index e0188f3..0000000 --- a/config/polybar/forest/scripts/style-switch.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/forest/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " Default| Nord| Gruvbox| Dark| Cherry|")" - case "$MENU" in - *Default) "$SDIR"/styles.sh --default ;; - *Nord) "$SDIR"/styles.sh --nord ;; - *Gruvbox) "$SDIR"/styles.sh --gruvbox ;; - *Dark) "$SDIR"/styles.sh --dark ;; - *Cherry) "$SDIR"/styles.sh --cherry ;; - esac diff --git a/config/polybar/forest/scripts/styles.sh b/config/polybar/forest/scripts/styles.sh deleted file mode 100755 index 35899a9..0000000 --- a/config/polybar/forest/scripts/styles.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/forest/colors.ini" -RFILE="$HOME/.config/polybar/forest/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/sep = #.*/sep = $SEP/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${BGA}FF; - fg: ${FG}FF; - ac: ${AC}FF; - se: ${SE}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--default" ]]; then - BG="#212B30" - FG="#C4C7C5" - BGA="#263035" - SEP="#3F5360" - AC="#EC407A" - SE="#4DD0E1" - change_color -elif [[ $1 = "--nord" ]]; then - BG="#3B4252" - FG="#E5E9F0" - BGA="#454C5C" - SEP="#5B6579" - AC="#BF616A" - SE="#88C0D0" - change_color -elif [[ $1 = "--gruvbox" ]]; then - BG="#282828" - FG="#EBDBB2" - BGA="#313131" - SEP="#505050" - AC="#FB4934" - SE="#8EC07C" - change_color -elif [[ $1 = "--dark" ]]; then - BG="#141C21" - FG="#93A1A1" - BGA="#1E262B" - SEP="#3C4449" - AC="#D12F2C" - SE="#33C5BA" - change_color -elif [[ $1 = "--cherry" ]]; then - BG="#1F1626" - FG="#FFFFFF" - BGA="#292030" - SEP="#473F4E" - AC="#D94084" - SE="#4F5D95" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --default --nord --gruvbox --dark --cherry - _EOF_ -fi diff --git a/config/polybar/forest/scripts/updates.sh b/config/polybar/forest/scripts/updates.sh deleted file mode 100755 index 84fdad2..0000000 --- a/config/polybar/forest/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/forest/scripts/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 "None" - 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 "None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/forest/user_modules.ini b/config/polybar/forest/user_modules.ini deleted file mode 100644 index 507db1f..0000000 --- a/config/polybar/forest/user_modules.ini +++ /dev/null @@ -1,244 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/forest/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-prefix-foreground = ${color.yellow} - -; Available tokens: -; %output% -; Default: %output% -label = " %output%" - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text - -content = -content-foreground = ${color.purple} - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/forest/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/forest/scripts/launcher-full -click-right = ~/.config/polybar/forest/scripts/style-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/forest/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/forest/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = -content-foreground = ${color.cyan} - -click-left = ~/.config/polybar/forest/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text - -content = -content-foreground = ${color.red} - -click-left = ~/.config/polybar/forest/scripts/style-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = | - -content-foreground = ${color.sep} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/apps] -type = custom/text - -[module/term] -inherit = module/apps -content = -content-foreground = ${color.blue-gray} -click-left = termite & -click-middle = urxvt & -click-right = xfce4-terminal & - -[module/files] -inherit = module/apps -content = -content-foreground = ${color.blue} -click-left = thunar & -click-right = pcmanfm & - -[module/browser] -inherit = module/apps -content = -content-foreground = ${color.orange} -click-left = firefox & -click-right = chromium & - -[module/settings] -inherit = module/apps -content = -content-foreground = ${color.teal} -click-left = xfce4-settings-manager & -click-right = lxappearance & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = " Reboot |" -menu-0-0-exec = menu-open-1 -menu-0-1 = " Shutdown " -menu-0-1-exec = menu-open-2 - -menu-1-0 = " Back |" -menu-1-0-exec = menu-open-0 -menu-1-1 = " Reboot " -menu-1-1-exec = systemctl reboot - -menu-2-0 = " Shutdown |" -menu-2-0-exec = systemctl poweroff -menu-2-1 = " Back " -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle><menu> - -label-open = -label-open-foreground = ${color.cyan} -label-open-padding = 1 -label-close = -label-close-foreground = ${color.red} -label-close-padding = 1 - -; Optional item separator -; Default: none -;label-separator = " | " -;label-separator-foreground = ${color.foreground} -;label-separator-background = ${color.background-alt} - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 =" Menu | " -menu-0-0-exec = ~/.config/polybar/forest/scripts/launcher.sh & - -menu-0-1 =" Files | " -menu-0-1-exec = thunar & - -menu-0-2 =" Terminal | " -menu-0-2-exec = termite & - -menu-0-3 =" Browser " -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle><menu> - -label-open = -label-open-foreground = ${color.yellow} -label-open-padding = 1 -label-close = -label-close-foreground = ${color.red} -label-close-padding = 1 - -; Optional item separator -; Default: none -;label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/grayblocks/bars.ini b/config/polybar/grayblocks/bars.ini deleted file mode 100644 index 4c30e67..0000000 --- a/config/polybar/grayblocks/bars.ini +++ /dev/null @@ -1,556 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = -empty = -indicator = ⏽ -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> -format-volume-background = ${color.background-alt} -format-volume-foreground = ${color.foreground} -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-background = ${color.background-alt} -format-muted-foreground = ${color.foreground} -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.red} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " -format-charging-background = ${color.background-alt} -format-charging-foreground = ${color.foreground} -format-charging-overline = ${color.background} -format-charging-underline = ${color.background} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " -format-discharging-background = ${color.background-alt} -format-discharging-foreground = ${color.foreground} -format-discharging-overline = ${color.background} -format-discharging-underline = ${color.background} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-background = ${color.background-alt} -format-full-foreground = ${color.foreground} -format-full-overline = ${color.background} -format-full-underline = ${color.background} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " -format-mounted-background = ${color.background-alt} -format-mounted-foreground = ${color.foreground} -format-mounted-overline = ${color.background} -format-mounted-underline = ${color.background} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " -format-unmounted-background = ${color.background-alt} -format-unmounted-foreground = ${color.foreground} -format-unmounted-overline = ${color.background} -format-unmounted-underline = ${color.background} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = -format-online-background = ${color.background-alt} -format-online-foreground = ${color.foreground} -format-online-overline = ${color.background} -format-online-underline = ${color.background} -format-online-padding = 2 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-background = ${color.background-alt} -format-offline-foreground = ${color.foreground} -format-offline-overline = ${color.background} -format-offline-underline = ${color.background} -format-offline-padding = 2 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/grayblocks/colors.ini b/config/polybar/grayblocks/colors.ini deleted file mode 100644 index be76252..0000000 --- a/config/polybar/grayblocks/colors.ini +++ /dev/null @@ -1,23 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #272727 -background-alt = #383838 -foreground = #CACACA -foreground-alt = #CACACA -primary = #e53935 -red = #EF5350 -yellow = #FFEE58 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/grayblocks/config.ini b/config/polybar/grayblocks/config.ini deleted file mode 100644 index e814640..0000000 --- a/config/polybar/grayblocks/config.ini +++ /dev/null @@ -1,293 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/grayblocks/bars.ini -include-file = ~/.config/polybar/grayblocks/colors.ini -include-file = ~/.config/polybar/grayblocks/modules.ini -include-file = ~/.config/polybar/grayblocks/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 6 -line-color = ${color.background} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-top-size = 4 -border-top-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;4" -font-1 = "feather:size=10;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = launcher workspaces sep cpu sep memory -modules-center = updates sep alsa mpd battery sep backlight -modules-right = color-switch sep network sep date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/grayblocks/launch.sh b/config/polybar/grayblocks/launch.sh deleted file mode 100755 index 7939c20..0000000 --- a/config/polybar/grayblocks/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/grayblocks" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/grayblocks/modules.ini b/config/polybar/grayblocks/modules.ini deleted file mode 100644 index 6fb455e..0000000 --- a/config/polybar/grayblocks/modules.ini +++ /dev/null @@ -1,1163 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.background-alt} -format-volume-foreground = ${color.foreground} -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-background = ${color.background-alt} -format-muted-foreground = ${color.foreground} -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.red} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <label-charging> -format-charging-prefix = " " -format-charging-background = ${color.background-alt} -format-charging-foreground = ${color.foreground} -format-charging-overline = ${color.background} -format-charging-underline = ${color.background} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <label-discharging> -format-discharging-prefix = " " -format-discharging-background = ${color.background-alt} -format-discharging-foreground = ${color.foreground} -format-discharging-overline = ${color.background} -format-discharging-underline = ${color.background} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-background = ${color.background-alt} -format-full-foreground = ${color.foreground} -format-full-overline = ${color.background} -format-full-underline = ${color.background} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = Full - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-background = ${color.background-alt} -format-mounted-foreground = ${color.foreground} -format-mounted-overline = ${color.background} -format-mounted-underline = ${color.background} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-background = ${color.background-alt} -format-unmounted-foreground = ${color.foreground} -format-unmounted-overline = ${color.background} -format-unmounted-underline = ${color.background} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = -format-online-padding = 2 -format-online-foreground = ${color.foreground-alt} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-padding = 2 -format-offline-foreground = ${color.foreground-alt} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = -format-connected-background = ${color.background-alt} -format-connected-foreground = ${color.foreground} -format-connected-overline = ${color.background} -format-connected-underline = ${color.background} -format-connected-padding = 2 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = -format-disconnected-background = ${color.background-alt} -format-disconnected-foreground = ${color.foreground} -format-disconnected-overline = ${color.background} -format-disconnected-underline = ${color.background} -format-disconnected-padding = 2 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:} %essid%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.background-alt} -format-volume-foreground = ${color.foreground} -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = -format-muted-background = ${color.background-alt} -format-muted-foreground = ${color.foreground} -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.red} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> -format-warn-background = ${color.background-alt} -format-warn-foreground = ${color.foreground} -format-warn-overline = ${color.background} -format-warn-underline = ${color.background} -format-warn-padding = 2 - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-foreground = ${color.red} - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.primary} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-padding = 2 -format-foreground = ${color.foreground-alt} - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -label-empty = Desktop - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 1 - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.primary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.yellow} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.red} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% - -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 -label-empty-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/grayblocks/preview.ini b/config/polybar/grayblocks/preview.ini deleted file mode 100644 index 94bf1be..0000000 --- a/config/polybar/grayblocks/preview.ini +++ /dev/null @@ -1,316 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/grayblocks/bars.ini -include-file = ~/.config/polybar/grayblocks/colors.ini -include-file = ~/.config/polybar/grayblocks/modules.ini -include-file = ~/.config/polybar/grayblocks/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 6 -line-color = ${color.background} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-top-size = 4 -border-top-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=10;4" -font-1 = "feather:size=10;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -bottom = true -offset-y = 118 -modules-left = launcher workspaces sep cpu sep memory -modules-center = mpd -modules-right = alsa sep battery sep network sep date sep sysmenu -enable-ipc = true - -[bar/mid] -inherit = bar/main -bottom = true -offset-y = 64 -modules-center = volume sep brightness sep battery_bar sep cpu_bar sep filesystem_bar sep memory_bar sep mpd_bar -enable-ipc = true - -[bar/bottom] -inherit = bar/main -bottom = true -offset-y = 10 -modules-left = sep menu sep term files browser settings sep filesystem sep temperature -modules-center = title -modules-right = color-switch sep keyboard sep pulseaudio sep backlight sep updates sep powermenu sep -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/grayblocks/preview.sh b/config/polybar/grayblocks/preview.sh deleted file mode 100755 index 1775333..0000000 --- a/config/polybar/grayblocks/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/grayblocks" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/grayblocks/scripts/checkupdates b/config/polybar/grayblocks/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/grayblocks/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/grayblocks/scripts/color-switch.sh b/config/polybar/grayblocks/scripts/color-switch.sh deleted file mode 100755 index c6f8a20..0000000 --- a/config/polybar/grayblocks/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/grayblocks/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " amber| blue| blue-gray| brown| cyan| deep-orange|\ - deep-purple| green| gray| indigo| blue-light| green-light|\ - lime| orange| pink| purple| red| teal| yellow| amber-dark|\ - blue-dark| blue-gray-dark| brown-dark| cyan-dark| deep-orange-dark|\ - deep-purple-dark| green-dark| gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/grayblocks/scripts/colors-dark.sh b/config/polybar/grayblocks/scripts/colors-dark.sh deleted file mode 100755 index 7f3b26d..0000000 --- a/config/polybar/grayblocks/scripts/colors-dark.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/grayblocks/colors.ini" -RFILE="$HOME/.config/polybar/grayblocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #272727/g' $PFILE - sed -i -e 's/background-alt = #.*/background-alt = #383838/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #CACACA/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #CACACA/g' $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/red = #.*/red = #EF5350/g' $PFILE - sed -i -e 's/yellow = #.*/yellow = #FFEE58/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #272727FF; - bga: #383838FF; - fga: #CACACAFF; - fg: #CACACAFF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/grayblocks/scripts/colors-light.sh b/config/polybar/grayblocks/scripts/colors-light.sh deleted file mode 100755 index be5fbea..0000000 --- a/config/polybar/grayblocks/scripts/colors-light.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/grayblocks/colors.ini" -RFILE="$HOME/.config/polybar/grayblocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e 's/background-alt = #.*/background-alt = #E7E7E7/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #0a0a0a/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #0a0a0a/g' $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/red = #.*/red = #B71C1C/g' $PFILE - sed -i -e 's/yellow = #.*/yellow = #F57F17/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - bga: #E7E7E7FF; - fga: #0a0a0aFF; - fg: #0a0a0aFF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/grayblocks/scripts/launcher.sh b/config/polybar/grayblocks/scripts/launcher.sh deleted file mode 100755 index 4f49dfa..0000000 --- a/config/polybar/grayblocks/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/grayblocks/scripts/rofi/launcher.rasi diff --git a/config/polybar/grayblocks/scripts/powermenu.sh b/config/polybar/grayblocks/scripts/powermenu.sh deleted file mode 100755 index b17bbca..0000000 --- a/config/polybar/grayblocks/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/grayblocks/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/grayblocks/scripts/pywal.sh b/config/polybar/grayblocks/scripts/pywal.sh deleted file mode 100755 index a915c67..0000000 --- a/config/polybar/grayblocks/scripts/pywal.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/grayblocks/colors.ini" -RFILE="$HOME/.config/polybar/grayblocks/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = $BGA/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/red = #.*/red = #B71C1C/g' $PFILE - sed -i -e 's/yellow = #.*/yellow = #F57F17/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${BGA}FF; - fga: ${FGA}FF; - fg: ${FG}FF; - ac: ${AC}FF; - } - EOF -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$background"` - BGA=`printf "%s\n" "$color7"` - FGA=`printf "%s\n" "$color7"` - AC=`printf "%s\n" "$color1"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/grayblocks/scripts/random.sh b/config/polybar/grayblocks/scripts/random.sh deleted file mode 100755 index 5c84871..0000000 --- a/config/polybar/grayblocks/scripts/random.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/grayblocks/colors.ini" -RFILE="$HOME/.config/polybar/grayblocks/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/background-alt = #.*/background-alt = $BGA/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FG/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/red = #.*/red = #EF5350/g' $PFILE - sed -i -e 's/yellow = #.*/yellow = #FFEE58/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${BGA}FF; - fga: ${FG}FF; - fg: ${FG}FF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -# Main -BG='#272727' # change to light bg -FG='#CACACA' # change to dark fg -BGA='#383838' -AC=`get_random_color` - -change_color diff --git a/config/polybar/grayblocks/scripts/rofi/colors.rasi b/config/polybar/grayblocks/scripts/rofi/colors.rasi deleted file mode 100644 index 4ea927c..0000000 --- a/config/polybar/grayblocks/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #272727FF; - bga: #383838FF; - fga: #CACACAFF; - fg: #CACACAFF; - ac: #e53935FF; -} diff --git a/config/polybar/grayblocks/scripts/rofi/confirm.rasi b/config/polybar/grayblocks/scripts/rofi/confirm.rasi deleted file mode 100644 index dbe4fa8..0000000 --- a/config/polybar/grayblocks/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fga; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 210px; - padding: 25px; - border: 0px 0px 4px 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/grayblocks/scripts/rofi/launcher.rasi b/config/polybar/grayblocks/scripts/rofi/launcher.rasi deleted file mode 100644 index aaf0f05..0000000 --- a/config/polybar/grayblocks/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 4px 0px; - border-color: @ac; - border-radius: 0px; - width: 600px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 2px 0px 0px 4px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 2px 0px 0px 6px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 7; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/grayblocks/scripts/rofi/message.rasi b/config/polybar/grayblocks/scripts/rofi/message.rasi deleted file mode 100644 index 84ec88c..0000000 --- a/config/polybar/grayblocks/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fga; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px 0px 4px 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/grayblocks/scripts/rofi/networkmenu.rasi b/config/polybar/grayblocks/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 67f577e..0000000 --- a/config/polybar/grayblocks/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 4px 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 2px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 2px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 2px 0px 0px 6px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -10px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/grayblocks/scripts/rofi/powermenu.rasi b/config/polybar/grayblocks/scripts/rofi/powermenu.rasi deleted file mode 100644 index d4bf8a5..0000000 --- a/config/polybar/grayblocks/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 4px 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 2px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 2px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 2px 0px 0px 6px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/grayblocks/scripts/rofi/styles.rasi b/config/polybar/grayblocks/scripts/rofi/styles.rasi deleted file mode 100644 index 4ca2396..0000000 --- a/config/polybar/grayblocks/scripts/rofi/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 4px 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 2px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 2px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Find..."; - padding: 2px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 6px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 6px; - padding: 6px; -} - -element { - background-color: @al; - text-color: @fga; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/grayblocks/scripts/updates.sh b/config/polybar/grayblocks/scripts/updates.sh deleted file mode 100755 index c5ce60c..0000000 --- a/config/polybar/grayblocks/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/grayblocks/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/grayblocks/user_modules.ini b/config/polybar/grayblocks/user_modules.ini deleted file mode 100644 index 9210eca..0000000 --- a/config/polybar/grayblocks/user_modules.ini +++ /dev/null @@ -1,257 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/grayblocks/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-background = ${color.background} -content-foreground = ${color.foreground-alt} -content-padding = 4 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/grayblocks/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/grayblocks/scripts/launcher-full -click-right = ~/.config/polybar/grayblocks/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/grayblocks/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/grayblocks/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.foreground-alt} -content-padding = 4 - -click-left = ~/.config/polybar/grayblocks/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-background = ${color.background-alt} -content-foreground = ${color.foreground} -content-overline = ${color.background} -content-underline = ${color.background} -content-padding = 2 - -click-left = ~/.config/polybar/grayblocks/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = | - -content-background = ${color.background} -content-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/apps] -type = custom/text -content-background = ${color.background-alt} -content-foreground = ${color.foreground} -content-overline = ${color.background} -content-underline = ${color.background} -content-padding = 1 - -[module/term] -inherit = module/apps -content = -click-left = termite & -click-middle = urxvt & -click-right = xfce4-terminal & - -[module/files] -inherit = module/apps -content = -click-left = thunar & -click-right = pcmanfm & - -[module/browser] -inherit = module/apps -content = -click-left = firefox & -click-right = chromium & - -[module/settings] -inherit = module/apps -content = -click-left = xfce4-settings-manager & -click-right = lxappearance & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/grayblocks/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.background-alt} -format-foreground = ${color.foreground} -format-overline = ${color.background} -format-underline = ${color.background} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/hack/bars.ini b/config/polybar/hack/bars.ini deleted file mode 100644 index d0dac10..0000000 --- a/config/polybar/hack/bars.ini +++ /dev/null @@ -1,507 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = -empty = -indicator = ⏽ -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.red} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.green} -bar-volume-foreground-1 = ${color.green} -bar-volume-foreground-2 = ${color.yellow} -bar-volume-foreground-3 = ${color.yellow} -bar-volume-foreground-4 = ${color.red} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <bar> -format-prefix = "盛 " -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.green} -bar-foreground-1 = ${color.green} -bar-foreground-2 = ${color.yellow} -bar-foreground-3 = ${color.yellow} -bar-foreground-4 = ${color.red} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = "Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.green} -bar-capacity-foreground-1 = ${color.green} -bar-capacity-foreground-2 = ${color.yellow} -bar-capacity-foreground-3 = ${color.yellow} -bar-capacity-foreground-4 = ${color.red} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.green} -bar-load-foreground-1 = ${color.green} -bar-load-foreground-2 = ${color.yellow} -bar-load-foreground-3 = ${color.yellow} -bar-load-foreground-4 = ${color.red} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = %mountpoint%: not mounted - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.yellow} -bar-used-foreground-3 = ${color.yellow} -bar-used-foreground-4 = ${color.red} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.yellow} -bar-used-foreground-3 = ${color.yellow} -bar-used-foreground-4 = ${color.red} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = ﱘ - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = ﱘ - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-prev = -icon-next = -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.yellow} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.yellow} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/hack/colors.ini b/config/polybar/hack/colors.ini deleted file mode 100644 index 16307f2..0000000 --- a/config/polybar/hack/colors.ini +++ /dev/null @@ -1,22 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #263238 -foreground = #DFDFDF -primary = #00BCD4 -red = #FF5250 -green = #43a047 -yellow = #fdd835 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/hack/config.ini b/config/polybar/hack/config.ini deleted file mode 100644 index c758ab1..0000000 --- a/config/polybar/hack/config.ini +++ /dev/null @@ -1,314 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/hack/bars.ini -include-file = ~/.config/polybar/hack/colors.ini -include-file = ~/.config/polybar/hack/modules.ini -include-file = ~/.config/polybar/hack/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 26 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;border-bottom-size = 2 -;border-bottom-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 1 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;3" -font-1 = "Iosevka Nerd Font:pixelsize=12;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;modules-left = launcher workspaces google github reddit gmail twitter -;modules-center = -;modules-right = mpd updates alsa battery network date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -border-bottom-size = 2 -border-bottom-color = ${color.primary} -modules-left = launcher sep title -modules-center = workspaces -modules-right = color-switch sep battery sep checknet sep date sep sysmenu -enable-ipc = true - -[bar/bottom] -inherit = bar/main -bottom = true -border-top-size = 2 -border-top-color = ${color.primary} -modules-left = mpd -modules-center = cpu sep memory sep filesystem sep temperature sep updates sep speed -modules-right = volume sep brightness -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/hack/launch.sh b/config/polybar/hack/launch.sh deleted file mode 100755 index 05e876b..0000000 --- a/config/polybar/hack/launch.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/hack" - -# 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 the bar -polybar -q top -c "$DIR"/config.ini & -polybar -q bottom -c "$DIR"/config.ini & diff --git a/config/polybar/hack/modules.ini b/config/polybar/hack/modules.ini deleted file mode 100644 index 043d597..0000000 --- a/config/polybar/hack/modules.ini +++ /dev/null @@ -1,1163 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.red} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> <label-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = "%percentage%% (%time%)" - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = "%percentage%% (%time%)" - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = ${github.icon} - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = ﱘ -format-online-foreground = ${color.foreground} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = ﱘ -format-offline-foreground = ${color.foreground} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-prev = -icon-next = -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.red} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = 說 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = ﲁ - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:} %essid%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/speed] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-prefix = 直 -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = 睊 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:} %essid% %downspeed% 祝 %upspeed%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Disconnected%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.red} - -; Only applies if <ramp-volume> is used -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-foreground = ${color.red} - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -;format-prefix = - -; Available tokens: -; %title% -; Default: %title% -label = "%title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -label-empty = Desktop - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-padding = 1 - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.primary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.yellow} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.red} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% - -label-active-padding = 2 -label-urgent-padding = 2 -label-occupied-padding = 2 -label-empty-padding = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/hack/preview.ini b/config/polybar/hack/preview.ini deleted file mode 100644 index af8a0e9..0000000 --- a/config/polybar/hack/preview.ini +++ /dev/null @@ -1,321 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/hack/bars.ini -include-file = ~/.config/polybar/hack/colors.ini -include-file = ~/.config/polybar/hack/modules.ini -include-file = ~/.config/polybar/hack/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 26 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;border-bottom-size = 2 -;border-bottom-color = ${color.primary} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 1 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;3" -font-1 = "Iosevka Nerd Font:pixelsize=12;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;modules-left = launcher workspaces google github reddit gmail twitter -;modules-center = -;modules-right = mpd updates alsa battery network date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -offset-y = 10 -border-top-size = 2 -border-top-color = ${color.primary} -modules-left = launcher sep title -modules-center = workspaces -modules-right = alsa sep battery sep checknet sep date sep sysmenu -enable-ipc = true - -[bar/mid] -inherit = bar/main -offset-y = 48 -modules-center = battery_bar sep cpu_bar sep memory_bar sep filesystem_bar sep mpd_bar sep volume sep brightness -enable-ipc = true - -[bar/bottom] -inherit = bar/main -offset-y = 84 -border-bottom-size = 2 -border-bottom-color = ${color.primary} -modules-left = menu sep mpd sep color-switch -modules-center = cpu sep memory sep filesystem sep temperature sep updates sep speed -modules-right = backlight sep pulseaudio sep network sep keyboard sep powermenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/hack/preview.sh b/config/polybar/hack/preview.sh deleted file mode 100755 index e2addb1..0000000 --- a/config/polybar/hack/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/hack" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/hack/scripts/check-network b/config/polybar/hack/scripts/check-network deleted file mode 100755 index 53ba282..0000000 --- a/config/polybar/hack/scripts/check-network +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -count=0 -connected="說" -disconnected="ﲁ" - -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 "$connected Online" ; sleep 25 - else - echo "$connected Online" ; sleep 25 - fi - else - echo "$disconnected Offline" ; sleep 5 - fi -done diff --git a/config/polybar/hack/scripts/checkupdates b/config/polybar/hack/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/hack/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/hack/scripts/color-switch.sh b/config/polybar/hack/scripts/color-switch.sh deleted file mode 100755 index f8224f6..0000000 --- a/config/polybar/hack/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/hack/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< "♥ amber|♥ blue|♥ blue-gray|♥ brown|♥ cyan|♥ deep-orange|\ -♥ deep-purple|♥ green|♥ gray|♥ indigo|♥ blue-light|♥ green-light|\ -♥ lime|♥ orange|♥ pink|♥ purple|♥ red|♥ teal|♥ yellow|♥ amber-dark|\ -♥ blue-dark|♥ blue-gray-dark|♥ brown-dark|♥ cyan-dark|♥ deep-orange-dark|\ -♥ deep-purple-dark|♥ green-dark|♥ gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/hack/scripts/colors-dark.sh b/config/polybar/hack/scripts/colors-dark.sh deleted file mode 100755 index 2798200..0000000 --- a/config/polybar/hack/scripts/colors-dark.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/hack/colors.ini" -RFILE="$HOME/.config/polybar/hack/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #141C21/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #141C21FF; - ac: ${AC}FF; - se: ${AC}26; - fg: #FFFFFFFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/hack/scripts/colors-light.sh b/config/polybar/hack/scripts/colors-light.sh deleted file mode 100755 index 335f5c4..0000000 --- a/config/polybar/hack/scripts/colors-light.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/hack/colors.ini" -RFILE="$HOME/.config/polybar/hack/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #1F1F1F/g' $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - ac: ${AC}FF; - se: ${AC}26; - fg: #1F1F1FFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/hack/scripts/launcher.sh b/config/polybar/hack/scripts/launcher.sh deleted file mode 100755 index 7976227..0000000 --- a/config/polybar/hack/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/hack/scripts/rofi/launcher.rasi diff --git a/config/polybar/hack/scripts/powermenu.sh b/config/polybar/hack/scripts/powermenu.sh deleted file mode 100755 index 8a19f60..0000000 --- a/config/polybar/hack/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/hack/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/hack/scripts/pywal.sh b/config/polybar/hack/scripts/pywal.sh deleted file mode 100755 index 09cd463..0000000 --- a/config/polybar/hack/scripts/pywal.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/hack/colors.ini" -RFILE="$HOME/.config/polybar/hack/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - ac: ${AC}FF; - se: ${AC}26; - fg: ${FG}FF; - } - EOF - - polybar-msg cmd restart -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$foreground"` - AC=`printf "%s\n" "$color1"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/hack/scripts/random.sh b/config/polybar/hack/scripts/random.sh deleted file mode 100755 index 8b974a8..0000000 --- a/config/polybar/hack/scripts/random.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/hack/colors.ini" -RFILE="$HOME/.config/polybar/hack/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #1F1F1FFF; - ac: ${AC}FF; - se: ${AC}26; - fg: #FFFFFFFF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -hex_to_rgb() { - # Convert a hex value WITHOUT the hashtag (#) - R=$(printf "%d" 0x${1:0:2}) - G=$(printf "%d" 0x${1:2:2}) - B=$(printf "%d" 0x${1:4:2}) -} - -get_fg_color(){ - INTENSITY=$(calc "$R*0.299 + $G*0.587 + $B*0.114") - - if [ $(echo "$INTENSITY>186" | bc) -eq 1 ]; then - FG="#0a0a0a" - else - FG="#F5F5F5" - fi -} - -# Main -BG='#1f1f1f' # change to light bg -FG='#FFFFFF' # change to dark fg -AC=`get_random_color` - -#BG=`get_random_color` -#HEX=${BG:1} -#hex_to_rgb $HEX -#get_fg_color - -change_color diff --git a/config/polybar/hack/scripts/rofi/colors.rasi b/config/polybar/hack/scripts/rofi/colors.rasi deleted file mode 100644 index 3a3e30d..0000000 --- a/config/polybar/hack/scripts/rofi/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #263238FF; - ac: #00BCD4FF; - se: #00BCD426; - fg: #DFDFDFFF; -} diff --git a/config/polybar/hack/scripts/rofi/confirm.rasi b/config/polybar/hack/scripts/rofi/confirm.rasi deleted file mode 100644 index baaeb6a..0000000 --- a/config/polybar/hack/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 225px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/hack/scripts/rofi/launcher.rasi b/config/polybar/hack/scripts/rofi/launcher.rasi deleted file mode 100644 index 9b3239c..0000000 --- a/config/polybar/hack/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 2px; - border-color: @ac; - border-radius: 0px; - width: 450px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/hack/scripts/rofi/message.rasi b/config/polybar/hack/scripts/rofi/message.rasi deleted file mode 100644 index 084b7e2..0000000 --- a/config/polybar/hack/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/hack/scripts/rofi/networkmenu.rasi b/config/polybar/hack/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 17d6dec..0000000 --- a/config/polybar/hack/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 2px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 10px 10px 0px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: "直"; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -10px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/hack/scripts/rofi/powermenu.rasi b/config/polybar/hack/scripts/rofi/powermenu.rasi deleted file mode 100644 index 04f6149..0000000 --- a/config/polybar/hack/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 2px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 10px 10px 0px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/hack/scripts/rofi/styles.rasi b/config/polybar/hack/scripts/rofi/styles.rasi deleted file mode 100644 index d9926b6..0000000 --- a/config/polybar/hack/scripts/rofi/styles.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 2px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 10px 10px 0px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/hack/scripts/updates.sh b/config/polybar/hack/scripts/updates.sh deleted file mode 100755 index 43db37d..0000000 --- a/config/polybar/hack/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/hack/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/hack/user_modules.ini b/config/polybar/hack/user_modules.ini deleted file mode 100644 index 4ae29da..0000000 --- a/config/polybar/hack/user_modules.ini +++ /dev/null @@ -1,282 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/checknet] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/hack/scripts/check-network - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -;format-prefix = - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = networkmanager_dmenu & -click-right = networkmanager_dmenu & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/hack/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-foreground = ${color.primary} - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/hack/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/hack/scripts/launcher-full -click-right = ~/.config/polybar/hack/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/hack/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/hack/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = - -content-foreground = ${color.primary} - -click-left = ~/.config/polybar/hack/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-foreground = ${color.primary} -click-left = ~/.config/polybar/hack/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/links] -type = custom/text -content-foreground = ${color.foreground-alt} -content-padding = 2 - -[module/google] -inherit = module/links -content = -click-left = exo-open https://www.google.com/ & - -[module/github] -inherit = module/links -content = -click-left = exo-open https://www.github.com/ & - -[module/reddit] -inherit = module/links -content = -click-left = exo-open https://www.reddit.com/ & - -[module/gmail] -inherit = module/links -content = -click-left = exo-open https://mail.google.com/ & - -[module/twitter] -inherit = module/links -content = -click-left = exo-open https://www.twitter.com/ & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-foreground = ${color.primary} - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/hack/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-foreground = ${color.primary} - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/launch.sh b/config/polybar/launch.sh deleted file mode 100755 index c2da5b7..0000000 --- a/config/polybar/launch.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env bash - -dir="$HOME/.config/polybar" -themes=(`ls --hide="launch.sh" $dir`) - -launch_bar() { - # 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 the bar - if [[ "$style" == "hack" || "$style" == "cuts" ]]; then - polybar -q top -c "$dir/$style/config.ini" & - polybar -q bottom -c "$dir/$style/config.ini" & - elif [[ "$style" == "pwidgets" ]]; then - bash "$dir"/pwidgets/launch.sh --main - else - polybar -q main -c "$dir/$style/config.ini" & - fi -} - -if [[ "$1" == "--material" ]]; then - style="material" - launch_bar - -elif [[ "$1" == "--shades" ]]; then - style="shades" - launch_bar - -elif [[ "$1" == "--hack" ]]; then - style="hack" - launch_bar - -elif [[ "$1" == "--docky" ]]; then - style="docky" - launch_bar - -elif [[ "$1" == "--cuts" ]]; then - style="cuts" - launch_bar - -elif [[ "$1" == "--shapes" ]]; then - style="shapes" - launch_bar - -elif [[ "$1" == "--grayblocks" ]]; then - style="grayblocks" - launch_bar - -elif [[ "$1" == "--blocks" ]]; then - style="blocks" - launch_bar - -elif [[ "$1" == "--colorblocks" ]]; then - style="colorblocks" - launch_bar - -elif [[ "$1" == "--forest" ]]; then - style="forest" - launch_bar - -elif [[ "$1" == "--pwidgets" ]]; then - style="pwidgets" - launch_bar - -elif [[ "$1" == "--panels" ]]; then - style="panels" - launch_bar - -else - cat <<- EOF - Usage : launch.sh --theme - - Available Themes : - --blocks --colorblocks --cuts --docky - --forest --grayblocks --hack --material - --panels --pwidgets --shades --shapes - EOF -fi diff --git a/config/polybar/material/bars.ini b/config/polybar/material/bars.ini deleted file mode 100644 index 281672b..0000000 --- a/config/polybar/material/bars.ini +++ /dev/null @@ -1,494 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = -empty = -indicator = - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground-alt} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/material/colors.ini b/config/polybar/material/colors.ini deleted file mode 100644 index 594adaa..0000000 --- a/config/polybar/material/colors.ini +++ /dev/null @@ -1,23 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #1F1F1F -foreground = #FFFFFF -foreground-alt = #8F8F8F -module-fg = #1F1F1F -primary = #ffb300 -secondary = #E53935 -alternate = #7cb342 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/material/config.ini b/config/polybar/material/config.ini deleted file mode 100644 index 1219954..0000000 --- a/config/polybar/material/config.ini +++ /dev/null @@ -1,293 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/material/bars.ini -include-file = ~/.config/polybar/material/colors.ini -include-file = ~/.config/polybar/material/modules.ini -include-file = ~/.config/polybar/material/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 90% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 5% -offset-y = 2% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.primary} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 3 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Fantasque Sans Mono:pixelsize=12;3" -font-1 = "Material\-Design\-Iconic\-Font:size=13;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = launcher workspaces term files browser settings -modules-center = mpd -modules-right = updates alsa battery network date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/material/launch.sh b/config/polybar/material/launch.sh deleted file mode 100755 index f6909bb..0000000 --- a/config/polybar/material/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/material" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/material/modules.ini b/config/polybar/material/modules.ini deleted file mode 100644 index 8824d37..0000000 --- a/config/polybar/material/modules.ini +++ /dev/null @@ -1,1068 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground-alt} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> <label-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = -icon-pause = -icon-stop = -icon-next = -icon-prev = -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.primary} -toggle-off-foreground = ${color.secondary} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <ramp-signal> <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%essid%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground-alt} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" -label-warn-foreground = ${color.secondary} - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = -ramp-5 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.primary} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-prefix = - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -;;label-empty = Arch Linux - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-padding = 0 - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = %icon% -label-active-foreground = ${color.primary} -label-active-underline = ${color.primary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = %icon% -label-occupied-foreground = ${color.alternate} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = %icon% -label-urgent-foreground = ${color.secondary} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = %icon% - -label-active-padding = 2 -label-urgent-padding = 2 -label-occupied-padding = 2 -label-empty-padding = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/material/preview.ini b/config/polybar/material/preview.ini deleted file mode 100644 index 945a5cd..0000000 --- a/config/polybar/material/preview.ini +++ /dev/null @@ -1,315 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/material/bars.ini -include-file = ~/.config/polybar/material/colors.ini -include-file = ~/.config/polybar/material/modules.ini -include-file = ~/.config/polybar/material/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 80% -height = 40 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 10% -offset-y = 2% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.primary} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 3 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Fantasque Sans Mono:pixelsize=12;3" -font-1 = "Material\-Design\-Iconic\-Font:size=13;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -bottom = true -offset-y = 140 -modules-left = launcher workspaces cpu memory -modules-center = mpd -modules-right = alsa battery network date sysmenu -enable-ipc = true - -[bar/mid] -inherit = bar/main -bottom = true -offset-y = 80 -modules-center = volume brightness battery_bar mpd_bar cpu_bar filesystem_bar memory_bar -enable-ipc = true - -[bar/bottom] -inherit = bar/main -bottom = true -modules-left = menu term files browser settings filesystem temperature -modules-center = title -modules-right = color-switch keyboard pulseaudio backlight updates powermenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/material/preview.sh b/config/polybar/material/preview.sh deleted file mode 100755 index 43e45e9..0000000 --- a/config/polybar/material/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/material" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/material/scripts/checkupdates b/config/polybar/material/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/material/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/material/scripts/color-switch.sh b/config/polybar/material/scripts/color-switch.sh deleted file mode 100755 index 6c7311e..0000000 --- a/config/polybar/material/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/material/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< "♥ amber|♥ blue|♥ blue-gray|♥ brown|♥ cyan|♥ deep-orange|\ -♥ deep-purple|♥ green|♥ gray|♥ indigo|♥ blue-light|♥ green-light|\ -♥ lime|♥ orange|♥ pink|♥ purple|♥ red|♥ teal|♥ yellow|♥ amber-dark|\ -♥ blue-dark|♥ blue-gray-dark|♥ brown-dark|♥ cyan-dark|♥ deep-orange-dark|\ -♥ deep-purple-dark|♥ green-dark|♥ gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/material/scripts/colors-dark.sh b/config/polybar/material/scripts/colors-dark.sh deleted file mode 100755 index c33c038..0000000 --- a/config/polybar/material/scripts/colors-dark.sh +++ /dev/null @@ -1,120 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/material/colors.ini" -RFILE="$HOME/.config/polybar/material/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #1F1F1F/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #8F8F8F/g' $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/secondary = #.*/secondary = #E53935/g' $PFILE - sed -i -e 's/alternate = #.*/alternate = #7cb342/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #1F1F1FFF; - bga: ${AC}33; - bar: ${MF}FF; - fg: #FFFFFFFF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - MF="#1F1F1F" - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - MF="#FFFFFF" - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - MF="#FFFFFF" - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - MF="#FFFFFF" - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - MF="#1F1F1F" - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - MF="#FFFFFF" - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - MF="#FFFFFF" - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - MF="#FFFFFF" - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - MF="#FFFFFF" - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - MF="#FFFFFF" - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - MF="#1F1F1F" - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - MF="#1F1F1F" - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - MF="#1F1F1F" - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - MF="#1F1F1F" - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - MF="#FFFFFF" - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - MF="#FFFFFF" - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - MF="#FFFFFF" - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - MF="#FFFFFF" - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - MF="#1F1F1F" - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/material/scripts/colors-light.sh b/config/polybar/material/scripts/colors-light.sh deleted file mode 100755 index 0854635..0000000 --- a/config/polybar/material/scripts/colors-light.sh +++ /dev/null @@ -1,120 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/material/colors.ini" -RFILE="$HOME/.config/polybar/material/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #2E2E2E/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #656565/g' $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e 's/secondary = #.*/secondary = #E53935/g' $PFILE - sed -i -e 's/alternate = #.*/alternate = #7cb342/g' $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - bga: ${AC}33; - bar: ${MF}FF; - fg: #2E2E2EFF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - MF="#2E2E2E" - AC="#ffb300" - change_color -elif [[ $1 = "--blue" ]]; then - MF="#2E2E2E" - AC="#1e88e5" - change_color -elif [[ $1 = "--blue-gray" ]]; then - MF="#FFFFFF" - AC="#546e7a" - change_color -elif [[ $1 = "--brown" ]]; then - MF="#FFFFFF" - AC="#6d4c41" - change_color -elif [[ $1 = "--cyan" ]]; then - MF="#2E2E2E" - AC="#00acc1" - change_color -elif [[ $1 = "--deep-orange" ]]; then - MF="#FFFFFF" - AC="#f4511e" - change_color -elif [[ $1 = "--deep-purple" ]]; then - MF="#FFFFFF" - AC="#5e35b1" - change_color -elif [[ $1 = "--green" ]]; then - MF="#FFFFFF" - AC="#43a047" - change_color -elif [[ $1 = "--gray" ]]; then - MF="#FFFFFF" - AC="#757575" - change_color -elif [[ $1 = "--indigo" ]]; then - MF="#FFFFFF" - AC="#3949ab" - change_color -elif [[ $1 = "--light-blue" ]]; then - MF="#2E2E2E" - AC="#039be5" - change_color -elif [[ $1 = "--light-green" ]]; then - MF="#2E2E2E" - AC="#7cb342" - change_color -elif [[ $1 = "--lime" ]]; then - MF="#2E2E2E" - AC="#c0ca33" - change_color -elif [[ $1 = "--orange" ]]; then - MF="#2E2E2E" - AC="#fb8c00" - change_color -elif [[ $1 = "--pink" ]]; then - MF="#FFFFFF" - AC="#d81b60" - change_color -elif [[ $1 = "--purple" ]]; then - MF="#FFFFFF" - AC="#8e24aa" - change_color -elif [[ $1 = "--red" ]]; then - MF="#FFFFFF" - AC="#e53935" - change_color -elif [[ $1 = "--teal" ]]; then - MF="#FFFFFF" - AC="#00897b" - change_color -elif [[ $1 = "--yellow" ]]; then - MF="#2E2E2E" - AC="#fdd835" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/material/scripts/launcher.sh b/config/polybar/material/scripts/launcher.sh deleted file mode 100755 index 5e544b9..0000000 --- a/config/polybar/material/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/material/scripts/rofi/launcher.rasi diff --git a/config/polybar/material/scripts/powermenu.sh b/config/polybar/material/scripts/powermenu.sh deleted file mode 100755 index 6e13e39..0000000 --- a/config/polybar/material/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/material/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/material/scripts/pywal.sh b/config/polybar/material/scripts/pywal.sh deleted file mode 100755 index 4602458..0000000 --- a/config/polybar/material/scripts/pywal.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/material/colors.ini" -RFILE="$HOME/.config/polybar/material/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e "s/secondary = #.*/secondary = $SC/g" $PFILE - sed -i -e "s/alternate = #.*/alternate = $AL/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${AC}33; - bar: ${MF}FF; - fg: ${FG}FF; - ac: ${AC}FF; - } - EOF -} - -hex_to_rgb() { - # Convert a hex value WITHOUT the hashtag (#) - R=$(printf "%d" 0x${1:0:2}) - G=$(printf "%d" 0x${1:2:2}) - B=$(printf "%d" 0x${1:4:2}) -} - -get_fg_color(){ - INTENSITY=$(calc "$R*0.299 + $G*0.587 + $B*0.114") - - if [ $(echo "$INTENSITY>186" | bc) -eq 1 ]; then - MF="#202020" - else - MF="#F5F5F5" - fi -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$foreground"` - FGA=`printf "%s\n" "$color8"` - AC=`printf "%s\n" "$color1"` - SC=`printf "%s\n" "$color2"` - AL=`printf "%s\n" "$color3"` - - HEX=${AC:1} - - hex_to_rgb $HEX - get_fg_color - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/material/scripts/random.sh b/config/polybar/material/scripts/random.sh deleted file mode 100755 index 5e2485b..0000000 --- a/config/polybar/material/scripts/random.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/material/colors.ini" -RFILE="$HOME/.config/polybar/material/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/module-fg = #.*/module-fg = $MF/g" $PFILE - sed -i -e "s/primary = #.*/primary = $AC/g" $PFILE - sed -i -e "s/secondary = #.*/secondary = $SC/g" $PFILE - sed -i -e "s/alternate = #.*/alternate = $AL/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bga: ${AC}33; - bar: ${MF}FF; - fg: ${FG}FF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -hex_to_rgb() { - # Convert a hex value WITHOUT the hashtag (#) - R=$(printf "%d" 0x${1:0:2}) - G=$(printf "%d" 0x${1:2:2}) - B=$(printf "%d" 0x${1:4:2}) -} - -get_fg_color(){ - INTENSITY=$(calc "$R*0.299 + $G*0.587 + $B*0.114") - - if [ $(echo "$INTENSITY>186" | bc) -eq 1 ]; then - MF="#0a0a0a" - else - MF="#F5F5F5" - fi -} - -# Main -BG='#1F1F1F' # change to light bg -FG='#FFFFFF' # change to dark fg -FGA=`get_random_color` -AC=`get_random_color` -SC=`get_random_color` -AL=`get_random_color` - -HEX=${AC:1} - -hex_to_rgb $HEX -get_fg_color -change_color diff --git a/config/polybar/material/scripts/rofi/colors.rasi b/config/polybar/material/scripts/rofi/colors.rasi deleted file mode 100644 index c941c28..0000000 --- a/config/polybar/material/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #1F1F1FFF; - bga: #ffb30033; - bar: #1F1F1FFF; - fg: #FFFFFFFF; - ac: #ffb300FF; -} diff --git a/config/polybar/material/scripts/rofi/confirm.rasi b/config/polybar/material/scripts/rofi/confirm.rasi deleted file mode 100644 index d5683bb..0000000 --- a/config/polybar/material/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Fantasque Sans Mono 10"; -} - -window { - width: 225px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/material/scripts/rofi/launcher.rasi b/config/polybar/material/scripts/rofi/launcher.rasi deleted file mode 100644 index 7a598e0..0000000 --- a/config/polybar/material/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 550px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 5px 0px -10px; - background-color: @al; - text-color: @bar; - font: "Material\-Design\-Iconic\-Font 12"; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 1px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 15px 0px 12px 25px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 2; - lines: 7; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/material/scripts/rofi/message.rasi b/config/polybar/material/scripts/rofi/message.rasi deleted file mode 100644 index 37ca719..0000000 --- a/config/polybar/material/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Fantasque Sans Mono 10"; -} - -window { - width: 320px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/material/scripts/rofi/networkmenu.rasi b/config/polybar/material/scripts/rofi/networkmenu.rasi deleted file mode 100644 index b946736..0000000 --- a/config/polybar/material/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 5px 5px 0px; - background-color: @al; - text-color: @bar; -} - -textbox-prompt-colon { - padding: -2px 5px 5px -10px; - font: "Material\-Design\-Iconic\-Font 12"; - background-color: @al; - text-color: @bar; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 1px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 15px 0px 8px 25px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 0px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 0px 0px -3px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/material/scripts/rofi/powermenu.rasi b/config/polybar/material/scripts/rofi/powermenu.rasi deleted file mode 100644 index 9e61702..0000000 --- a/config/polybar/material/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 5px 5px 0px; - background-color: @al; - text-color: @bar; -} - -textbox-prompt-colon { - padding: -2px 5px 5px -10px; - font: "Material\-Design\-Iconic\-Font 12"; - background-color: @al; - text-color: @bar; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 1px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 15px 0px 8px 25px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 0px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 0px 0px -5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/material/scripts/rofi/styles.rasi b/config/polybar/material/scripts/rofi/styles.rasi deleted file mode 100644 index b37c6c2..0000000 --- a/config/polybar/material/scripts/rofi/styles.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 5px 5px 0px; - background-color: @al; - text-color: @bar; -} - -textbox-prompt-colon { - padding: 0.5px 5px 5px -10px; - font: "Material\-Design\-Iconic\-Font 12"; - background-color: @al; - text-color: @bar; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @bar; - placeholder-color: @bar; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 2px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @ac; - text-color: @bar; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 15px 0px 8px 25px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 0px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 0px 0px -5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/material/scripts/updates.sh b/config/polybar/material/scripts/updates.sh deleted file mode 100755 index b967afd..0000000 --- a/config/polybar/material/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/material/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/material/user_modules.ini b/config/polybar/material/user_modules.ini deleted file mode 100644 index 05847d3..0000000 --- a/config/polybar/material/user_modules.ini +++ /dev/null @@ -1,233 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/material/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-background = ${color.primary} -content-foreground = ${color.module-fg} -content-padding = 2 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/material/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/material/scripts/launcher-full -click-right = ~/.config/polybar/material/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/material/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/material/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = - -content-background = ${color.primary} -content-foreground = ${color.module-fg} -content-padding = 2 - -click-left = ~/.config/polybar/material/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.primary} - -click-left = ~/.config/polybar/material/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/apps] -type = custom/text -content-foreground = ${color.foreground-alt} -content-padding = 1 - -[module/term] -inherit = module/apps -content = -click-left = termite & -click-middle = urxvt & -click-right = xfce4-terminal & - -[module/files] -inherit = module/apps -content = -click-left = thunar & -click-right = pcmanfm & - -[module/browser] -inherit = module/apps -content = -click-left = firefox & -click-right = chromium & - -[module/settings] -inherit = module/apps -content = -click-left = xfce4-settings-manager & -click-right = lxappearance & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.primary} -format-foreground = ${color.module-fg} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/material/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.primary} -format-foreground = ${color.module-fg} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/config.ini b/config/polybar/panels/config.ini deleted file mode 100644 index 02a4972..0000000 --- a/config/polybar/panels/config.ini +++ /dev/null @@ -1,657 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9;3" -font-1 = "Iosevka Nerd Font:size=12;3" -font-2 = "Iosevka Nerd Font:size=16;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu sep2 term web files settings -modules-center = -modules-right = style sep alsa battery network date sep sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #232832 -bg-alt = #1C2028 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> -format-volume-background = ${color.bg-alt} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-background = ${color.bg-alt} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> -format-charging-background = ${color.bg-alt} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> -format-discharging-background = ${color.bg-alt} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-background = ${color.bg-alt} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M %p -;;time-alt = %B %d, %Y - -format = <label> -format-background = ${color.bg-alt} -format-padding = 2 - -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-background = ${color.bg-alt} -format-connected-padding = 2 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-background = ${color.bg-alt} -format-disconnected-padding = 2 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -;label-connected = 說 -label-connected = "%{A1:networkmanager_dmenu &:}說%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -;label-disconnected = ﲁ -label-disconnected = "%{A1:networkmanager_dmenu &:}ﲁ%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 說 -ramp-signal-1 = 說 -ramp-signal-2 = 說 -ramp-signal-3 = 說 -ramp-signal-4 = 說 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = -content-background = ${color.light-blue} -content-foreground = ${color.fg} -content-padding = 3 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --budgie -click-right = ~/.config/polybar/panels/scripts/launcher.sh --budgie - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -content-background = ${color.bg-alt} -content-foreground = ${color.fg} -content-padding = 3 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --budgie -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --budgie - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ -content-background = ${color.bg-alt} -content-foreground = ${color.fg} -content-padding = 2 - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --budgie -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --budgie - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text - -content = | -content-foreground = ${color.grey} -content-background = ${color.bg-alt} -content-padding = 1 - -[module/sep2] -type = custom/text - -content = | -content-foreground = ${color.bg} -content-background = ${color.bg} -content-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;; Apps - -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.green} -content-background = ${color.bg} -content-padding = 3 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.orange} -content-background = ${color.bg} -content-padding = 3 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.blue} -content-background = ${color.bg} -content-padding = 3 - -click-left = thunar & - -[module/settings] -type = custom/text - -content = "%{T3}煉%{T-}" -content-foreground = ${color.red} -content-background = ${color.bg} -content-padding = 3 - -click-left = xfce4-settings & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - diff --git a/config/polybar/panels/launch.sh b/config/polybar/panels/launch.sh deleted file mode 100755 index 2cb3adb..0000000 --- a/config/polybar/panels/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/panels" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/panels/menu/budgie/colors.rasi b/config/polybar/panels/menu/budgie/colors.rasi deleted file mode 100644 index d11ae7d..0000000 --- a/config/polybar/panels/menu/budgie/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #232832FF; - bga: #1C2028FF; - fg: #EAEAEAFF; - ac: #039BE5FF; -} diff --git a/config/polybar/panels/menu/budgie/confirm.rasi b/config/polybar/panels/menu/budgie/confirm.rasi deleted file mode 100644 index fc1dee0..0000000 --- a/config/polybar/panels/menu/budgie/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} - diff --git a/config/polybar/panels/menu/budgie/launcher.rasi b/config/polybar/panels/menu/budgie/launcher.rasi deleted file mode 100644 index 39fe6a2..0000000 --- a/config/polybar/panels/menu/budgie/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: northwest; - x-offset: 10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @ac; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 10; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/budgie/message.rasi b/config/polybar/panels/menu/budgie/message.rasi deleted file mode 100644 index 658433d..0000000 --- a/config/polybar/panels/menu/budgie/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 0px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} - diff --git a/config/polybar/panels/menu/budgie/networkmenu.rasi b/config/polybar/panels/menu/budgie/networkmenu.rasi deleted file mode 100644 index ebbeb55..0000000 --- a/config/polybar/panels/menu/budgie/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -11px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/budgie/powermenu.rasi b/config/polybar/panels/menu/budgie/powermenu.rasi deleted file mode 100644 index 5543ca9..0000000 --- a/config/polybar/panels/menu/budgie/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/budgie/styles.rasi b/config/polybar/panels/menu/budgie/styles.rasi deleted file mode 100644 index 82ac8be..0000000 --- a/config/polybar/panels/menu/budgie/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/deepin/colors.rasi b/config/polybar/panels/menu/deepin/colors.rasi deleted file mode 100644 index f4404ac..0000000 --- a/config/polybar/panels/menu/deepin/colors.rasi +++ /dev/null @@ -1,8 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #00000026; - fg: #EAEAEAFF; - bd: #FFFFFF1A; -} diff --git a/config/polybar/panels/menu/deepin/confirm.rasi b/config/polybar/panels/menu/deepin/confirm.rasi deleted file mode 100644 index a037ad7..0000000 --- a/config/polybar/panels/menu/deepin/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: #000000; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 1px; - border-radius: 15px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/deepin/launcher.rasi b/config/polybar/panels/menu/deepin/launcher.rasi deleted file mode 100644 index c2888b0..0000000 --- a/config/polybar/panels/menu/deepin/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px 1px 0px 0px; - border-color: @bd; - border-radius: 0px 15px 0px 0px; - width: 500px; - location: southwest; - x-offset: 00; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @bd; - margin: 0px; - padding: 12px 12px 12px 20px; -} - -listview { - background-color: @al; - padding: 10px; - columns: 2; - lines: 10; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 6px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/deepin/message.rasi b/config/polybar/panels/menu/deepin/message.rasi deleted file mode 100644 index 839bfca..0000000 --- a/config/polybar/panels/menu/deepin/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: #000000; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 1px; - border-radius: 15px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/deepin/networkmenu.rasi b/config/polybar/panels/menu/deepin/networkmenu.rasi deleted file mode 100644 index 6d20609..0000000 --- a/config/polybar/panels/menu/deepin/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px 0px 0px 1px; - border-color: @bd; - border-radius: 15px 0px 0px 0px; - width: 300px; - location: southeast; - x-offset: 00; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @bd; - margin: 0px; - padding: 12px 12px 12px 20px; -} - -listview { - background-color: @al; - padding: 10px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 6px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/deepin/powermenu.rasi b/config/polybar/panels/menu/deepin/powermenu.rasi deleted file mode 100644 index db65474..0000000 --- a/config/polybar/panels/menu/deepin/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px 0px 0px 1px; - border-color: @bd; - border-radius: 15px 0px 0px 0px; - width: 300px; - location: southeast; - x-offset: 00; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @bd; - margin: 0px; - padding: 12px 12px 12px 20px; -} - -listview { - background-color: @al; - padding: 10px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 6px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/deepin/styles.rasi b/config/polybar/panels/menu/deepin/styles.rasi deleted file mode 100644 index 2ea46a5..0000000 --- a/config/polybar/panels/menu/deepin/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px 0px 0px 1px; - border-color: @bd; - border-radius: 15px 0px 0px 0px; - width: 300px; - location: southeast; - x-offset: 00; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @bd; - margin: 0px; - padding: 12px 12px 12px 20px; -} - -listview { - background-color: @al; - padding: 10px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 6px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/elementary/colors.rasi b/config/polybar/panels/menu/elementary/colors.rasi deleted file mode 100644 index c4d19c7..0000000 --- a/config/polybar/panels/menu/elementary/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #F5F5F5FF; - bga: #8080804C; - fg: #000000A6; - ac: #80808066; -} diff --git a/config/polybar/panels/menu/elementary/confirm.rasi b/config/polybar/panels/menu/elementary/confirm.rasi deleted file mode 100644 index cdcb9ea..0000000 --- a/config/polybar/panels/menu/elementary/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 4px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/elementary/launcher.rasi b/config/polybar/panels/menu/elementary/launcher.rasi deleted file mode 100644 index f6899e5..0000000 --- a/config/polybar/panels/menu/elementary/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 600px; - location: northwest; - x-offset: 10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 5; - lines: 3; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0px; - padding: 20px 15px 20px 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary/message.rasi b/config/polybar/panels/menu/elementary/message.rasi deleted file mode 100644 index e571507..0000000 --- a/config/polybar/panels/menu/elementary/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 4px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/elementary/networkmenu.rasi b/config/polybar/panels/menu/elementary/networkmenu.rasi deleted file mode 100644 index 76b20c3..0000000 --- a/config/polybar/panels/menu/elementary/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 4px 4px 4px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary/powermenu.rasi b/config/polybar/panels/menu/elementary/powermenu.rasi deleted file mode 100644 index 048a09e..0000000 --- a/config/polybar/panels/menu/elementary/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 4px 4px 4px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary/styles.rasi b/config/polybar/panels/menu/elementary/styles.rasi deleted file mode 100644 index ebd4b37..0000000 --- a/config/polybar/panels/menu/elementary/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 4px 4px 4px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary_dark/colors.rasi b/config/polybar/panels/menu/elementary_dark/colors.rasi deleted file mode 100644 index e53a570..0000000 --- a/config/polybar/panels/menu/elementary_dark/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #3E4148FF; - bga: #363A3FFF; - fg: #F5F5F5FF; - ac: #00000066; -} diff --git a/config/polybar/panels/menu/elementary_dark/confirm.rasi b/config/polybar/panels/menu/elementary_dark/confirm.rasi deleted file mode 100644 index cdcb9ea..0000000 --- a/config/polybar/panels/menu/elementary_dark/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 4px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/elementary_dark/launcher.rasi b/config/polybar/panels/menu/elementary_dark/launcher.rasi deleted file mode 100644 index f6899e5..0000000 --- a/config/polybar/panels/menu/elementary_dark/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 600px; - location: northwest; - x-offset: 10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 5; - lines: 3; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0px; - padding: 20px 15px 20px 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary_dark/message.rasi b/config/polybar/panels/menu/elementary_dark/message.rasi deleted file mode 100644 index e571507..0000000 --- a/config/polybar/panels/menu/elementary_dark/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 4px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/elementary_dark/networkmenu.rasi b/config/polybar/panels/menu/elementary_dark/networkmenu.rasi deleted file mode 100644 index 76b20c3..0000000 --- a/config/polybar/panels/menu/elementary_dark/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 4px 4px 4px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary_dark/powermenu.rasi b/config/polybar/panels/menu/elementary_dark/powermenu.rasi deleted file mode 100644 index 048a09e..0000000 --- a/config/polybar/panels/menu/elementary_dark/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 4px 4px 4px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/elementary_dark/styles.rasi b/config/polybar/panels/menu/elementary_dark/styles.rasi deleted file mode 100644 index ebd4b37..0000000 --- a/config/polybar/panels/menu/elementary_dark/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 4px 4px 4px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/gnome/colors.rasi b/config/polybar/panels/menu/gnome/colors.rasi deleted file mode 100644 index 27c66a2..0000000 --- a/config/polybar/panels/menu/gnome/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #393F3FFF; - bga: #282828FF; - fg: #F5F5F5FF; - ac: #262726FF; - se: #245A9AFF; -} diff --git a/config/polybar/panels/menu/gnome/confirm.rasi b/config/polybar/panels/menu/gnome/confirm.rasi deleted file mode 100644 index 76daf50..0000000 --- a/config/polybar/panels/menu/gnome/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 2px; - border-radius: 4px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/gnome/launcher.rasi b/config/polybar/panels/menu/gnome/launcher.rasi deleted file mode 100644 index b909517..0000000 --- a/config/polybar/panels/menu/gnome/launcher.rasi +++ /dev/null @@ -1,125 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -* { - al: #00000000; - bg: #0000004C; - bga: #282828FF; - fg: #F5F5F5FF; - ac: #262726FF; -} - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - fullscreen: true; - width: 600px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Type to search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 2px; - border-radius: 8px; - border-color: @ac; - margin: 5% 40% 5% 40%; - padding: 6px; -} - -listview { - background-color: @al; - padding: 0% 10% 0% 10%; - columns: 8; - lines: 4; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0px; - padding: 30px 15px 30px 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 71px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/gnome/message.rasi b/config/polybar/panels/menu/gnome/message.rasi deleted file mode 100644 index f876635..0000000 --- a/config/polybar/panels/menu/gnome/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 2px; - border-radius: 4px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/gnome/networkmenu.rasi b/config/polybar/panels/menu/gnome/networkmenu.rasi deleted file mode 100644 index 38553e7..0000000 --- a/config/polybar/panels/menu/gnome/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: #000000; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 8px; - padding: 8px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 7px 7px 7px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/gnome/powermenu.rasi b/config/polybar/panels/menu/gnome/powermenu.rasi deleted file mode 100644 index 89d04b6..0000000 --- a/config/polybar/panels/menu/gnome/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: #000000; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 8px; - padding: 8px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 7px 7px 7px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/gnome/styles.rasi b/config/polybar/panels/menu/gnome/styles.rasi deleted file mode 100644 index 9a97988..0000000 --- a/config/polybar/panels/menu/gnome/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 8px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 4px; - border-color: #000000; - margin: 0px; - padding: 8px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 8px; - padding: 8px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 7px 7px 7px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 4px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde/colors.rasi b/config/polybar/panels/menu/kde/colors.rasi deleted file mode 100644 index 91ebdf7..0000000 --- a/config/polybar/panels/menu/kde/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #F5F5F5FF; - bga: #93CEE999; - fg: #000000A6; - ac: #3DAEE9FF; -} diff --git a/config/polybar/panels/menu/kde/confirm.rasi b/config/polybar/panels/menu/kde/confirm.rasi deleted file mode 100644 index 0a8bc84..0000000 --- a/config/polybar/panels/menu/kde/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 2px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} - diff --git a/config/polybar/panels/menu/kde/launcher.rasi b/config/polybar/panels/menu/kde/launcher.rasi deleted file mode 100644 index ec94f98..0000000 --- a/config/polybar/panels/menu/kde/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 700px; - location: southwest; - x-offset: 10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 6; - lines: 3; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0px; - padding: 20px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 65px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde/message.rasi b/config/polybar/panels/menu/kde/message.rasi deleted file mode 100644 index d7de455..0000000 --- a/config/polybar/panels/menu/kde/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 2px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/kde/networkmenu.rasi b/config/polybar/panels/menu/kde/networkmenu.rasi deleted file mode 100644 index be5ba17..0000000 --- a/config/polybar/panels/menu/kde/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -12px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde/powermenu.rasi b/config/polybar/panels/menu/kde/powermenu.rasi deleted file mode 100644 index 0e6d31c..0000000 --- a/config/polybar/panels/menu/kde/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde/styles.rasi b/config/polybar/panels/menu/kde/styles.rasi deleted file mode 100644 index 8823cdd..0000000 --- a/config/polybar/panels/menu/kde/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 8px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde_dark/colors.rasi b/config/polybar/panels/menu/kde_dark/colors.rasi deleted file mode 100644 index 4334141..0000000 --- a/config/polybar/panels/menu/kde_dark/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #31363bff; - bga: #3daee94C; - fg: #f5f5f5e6; - ac: #1d99f3ff; -} diff --git a/config/polybar/panels/menu/kde_dark/confirm.rasi b/config/polybar/panels/menu/kde_dark/confirm.rasi deleted file mode 100644 index 0a8bc84..0000000 --- a/config/polybar/panels/menu/kde_dark/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 2px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @ac; -} - diff --git a/config/polybar/panels/menu/kde_dark/launcher.rasi b/config/polybar/panels/menu/kde_dark/launcher.rasi deleted file mode 100644 index 847ae0c..0000000 --- a/config/polybar/panels/menu/kde_dark/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 700px; - location: north; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 6; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde_dark/message.rasi b/config/polybar/panels/menu/kde_dark/message.rasi deleted file mode 100644 index d7de455..0000000 --- a/config/polybar/panels/menu/kde_dark/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 2px; - border-color: @ac; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/kde_dark/networkmenu.rasi b/config/polybar/panels/menu/kde_dark/networkmenu.rasi deleted file mode 100644 index be5ba17..0000000 --- a/config/polybar/panels/menu/kde_dark/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -12px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde_dark/powermenu.rasi b/config/polybar/panels/menu/kde_dark/powermenu.rasi deleted file mode 100644 index 0e6d31c..0000000 --- a/config/polybar/panels/menu/kde_dark/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/kde_dark/styles.rasi b/config/polybar/panels/menu/kde_dark/styles.rasi deleted file mode 100644 index 8823cdd..0000000 --- a/config/polybar/panels/menu/kde_dark/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -44; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 8px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 2px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 10px 10px 10px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 1px; - border-radius: 2px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/liri/colors.rasi b/config/polybar/panels/menu/liri/colors.rasi deleted file mode 100644 index 0b9516a..0000000 --- a/config/polybar/panels/menu/liri/colors.rasi +++ /dev/null @@ -1,11 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #E5E5E5FF; - bga: #FFFFFFFF; - fg: #000000A6; - ac: #80808066; - el: #55555526; - se: #1A73E9FF; -} diff --git a/config/polybar/panels/menu/liri/confirm.rasi b/config/polybar/panels/menu/liri/confirm.rasi deleted file mode 100644 index 944b3f2..0000000 --- a/config/polybar/panels/menu/liri/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @se; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/liri/launcher.rasi b/config/polybar/panels/menu/liri/launcher.rasi deleted file mode 100644 index 291b992..0000000 --- a/config/polybar/panels/menu/liri/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 480px; - location: southwest; - x-offset: 8; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 2px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 4; - lines: 3; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0px; - padding: 15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 65px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @el; - text-color: @fg; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @se; -} diff --git a/config/polybar/panels/menu/liri/message.rasi b/config/polybar/panels/menu/liri/message.rasi deleted file mode 100644 index 0fc1bdc..0000000 --- a/config/polybar/panels/menu/liri/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @se; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/liri/networkmenu.rasi b/config/polybar/panels/menu/liri/networkmenu.rasi deleted file mode 100644 index d987a12..0000000 --- a/config/polybar/panels/menu/liri/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: southeast; - x-offset: -8; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @el; - text-color: @fg; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @se; -} diff --git a/config/polybar/panels/menu/liri/powermenu.rasi b/config/polybar/panels/menu/liri/powermenu.rasi deleted file mode 100644 index c9c57a5..0000000 --- a/config/polybar/panels/menu/liri/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: southeast; - x-offset: -8; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search Applications"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @el; - text-color: @fg; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @se; -} diff --git a/config/polybar/panels/menu/liri/styles.rasi b/config/polybar/panels/menu/liri/styles.rasi deleted file mode 100644 index 770b2fb..0000000 --- a/config/polybar/panels/menu/liri/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 4px; - width: 300px; - location: southeast; - x-offset: -8; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 8px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 5px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 8px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @el; - text-color: @fg; - border: 0px 0px 3px 0px; - border-radius: 4px; - border-color: @se; -} diff --git a/config/polybar/panels/menu/mint/colors.rasi b/config/polybar/panels/menu/mint/colors.rasi deleted file mode 100644 index b60c1c2..0000000 --- a/config/polybar/panels/menu/mint/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #3D3D3DFF; - fg: #EAEAEAFF; - bd: #FFFFFF1A; - bo: #808080FF; -} diff --git a/config/polybar/panels/menu/mint/confirm.rasi b/config/polybar/panels/menu/mint/confirm.rasi deleted file mode 100644 index db3beb6..0000000 --- a/config/polybar/panels/menu/mint/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 1px; - border-radius: 8px; - border-color: @bo; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/mint/launcher.rasi b/config/polybar/panels/menu/mint/launcher.rasi deleted file mode 100644 index 76f8ae5..0000000 --- a/config/polybar/panels/menu/mint/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 500px; - location: southwest; - x-offset: 10; - y-offset: -40; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 8px; - border-color: @bo; - margin: 0px 240px 0px 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 10; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 9px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 8px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/mint/message.rasi b/config/polybar/panels/menu/mint/message.rasi deleted file mode 100644 index c2ccdb3..0000000 --- a/config/polybar/panels/menu/mint/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 1px; - border-radius: 8px; - border-color: @bo; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/mint/networkmenu.rasi b/config/polybar/panels/menu/mint/networkmenu.rasi deleted file mode 100644 index 5c87e28..0000000 --- a/config/polybar/panels/menu/mint/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 8px; - border-color: @bo; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 8px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/mint/powermenu.rasi b/config/polybar/panels/menu/mint/powermenu.rasi deleted file mode 100644 index e690d40..0000000 --- a/config/polybar/panels/menu/mint/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 8px; - border-color: @bo; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 8px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/mint/styles.rasi b/config/polybar/panels/menu/mint/styles.rasi deleted file mode 100644 index cd940e8..0000000 --- a/config/polybar/panels/menu/mint/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 8px; - border-color: @bo; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 8px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_gnome/colors.rasi b/config/polybar/panels/menu/ubuntu_gnome/colors.rasi deleted file mode 100644 index f4404ac..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/colors.rasi +++ /dev/null @@ -1,8 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #00000026; - fg: #EAEAEAFF; - bd: #FFFFFF1A; -} diff --git a/config/polybar/panels/menu/ubuntu_gnome/confirm.rasi b/config/polybar/panels/menu/ubuntu_gnome/confirm.rasi deleted file mode 100644 index db39c05..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: #FFFFFF; - text-color: #000000; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 10px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: #000000; -} - diff --git a/config/polybar/panels/menu/ubuntu_gnome/launcher.rasi b/config/polybar/panels/menu/ubuntu_gnome/launcher.rasi deleted file mode 100644 index 6040a6d..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 1px 1px 0px; - border-color: @bd; - border-radius: 0px 0px 10px 0px; - width: 500px; - location: northwest; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 10; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_gnome/message.rasi b/config/polybar/panels/menu/ubuntu_gnome/message.rasi deleted file mode 100644 index 31241a3..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: #FFFFFF; - text-color: #000000; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 10px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: #000000; -} - diff --git a/config/polybar/panels/menu/ubuntu_gnome/networkmenu.rasi b/config/polybar/panels/menu/ubuntu_gnome/networkmenu.rasi deleted file mode 100644 index 8309987..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 1px 1px; - border-color: @bd; - border-radius: 0px 0px 0px 10px; - width: 300px; - location: northeast; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_gnome/powermenu.rasi b/config/polybar/panels/menu/ubuntu_gnome/powermenu.rasi deleted file mode 100644 index 0d477b8..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 1px 1px; - border-color: @bd; - border-radius: 0px 0px 0px 10px; - width: 300px; - location: northeast; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_gnome/styles.rasi b/config/polybar/panels/menu/ubuntu_gnome/styles.rasi deleted file mode 100644 index 690be36..0000000 --- a/config/polybar/panels/menu/ubuntu_gnome/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 1px 1px; - border-color: @bd; - border-radius: 0px 0px 0px 10px; - width: 300px; - location: northeast; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 1px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg; - text-color: @fg; - border: 1px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_unity/colors.rasi b/config/polybar/panels/menu/ubuntu_unity/colors.rasi deleted file mode 100644 index 66c32b8..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #43413DFF; - bga: #393939FF; - fg: #F5F5F5FF; - bd: #FFFFFF26; -} diff --git a/config/polybar/panels/menu/ubuntu_unity/confirm.rasi b/config/polybar/panels/menu/ubuntu_unity/confirm.rasi deleted file mode 100644 index 7e92b3f..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px; - border-radius: 10px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/ubuntu_unity/launcher.rasi b/config/polybar/panels/menu/ubuntu_unity/launcher.rasi deleted file mode 100644 index 8b48c99..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @bd; - border-radius: 0px 0px 10px 0px; - width: 800px; - location: northwest; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 2px; - border-radius: 10px; - border-color: @bd; - margin: 0px 395px 0px 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 6; - lines: 3; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0px; - padding: 20px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 65px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_unity/message.rasi b/config/polybar/panels/menu/ubuntu_unity/message.rasi deleted file mode 100644 index 29746d9..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px; - border-radius: 10px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/ubuntu_unity/networkmenu.rasi b/config/polybar/panels/menu/ubuntu_unity/networkmenu.rasi deleted file mode 100644 index 74ffe73..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @bd; - border-radius: 0px 0px 0px 10px; - width: 300px; - location: northeast; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 2px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -15px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_unity/powermenu.rasi b/config/polybar/panels/menu/ubuntu_unity/powermenu.rasi deleted file mode 100644 index b17cd16..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @bd; - border-radius: 0px 0px 0px 10px; - width: 300px; - location: northeast; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 2px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/ubuntu_unity/styles.rasi b/config/polybar/panels/menu/ubuntu_unity/styles.rasi deleted file mode 100644 index 64fe9bc..0000000 --- a/config/polybar/panels/menu/ubuntu_unity/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px 0px 0px 0px; - border-color: @bd; - border-radius: 0px 0px 0px 10px; - width: 300px; - location: northeast; - x-offset: 0; - y-offset: 30; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 10px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 2px; - border-radius: 10px; - border-color: @bd; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bga; - text-color: @fg; - border: 0px; - border-radius: 10px; - border-color: @bd; -} diff --git a/config/polybar/panels/menu/xubuntu/colors.rasi b/config/polybar/panels/menu/xubuntu/colors.rasi deleted file mode 100644 index 58f5b26..0000000 --- a/config/polybar/panels/menu/xubuntu/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #494949FF; - bga: #444444FF; - fg: #EAEAEAFF; - ac: #536579FF; - bd: #000000FF; -} diff --git a/config/polybar/panels/menu/xubuntu/confirm.rasi b/config/polybar/panels/menu/xubuntu/confirm.rasi deleted file mode 100644 index 889d051..0000000 --- a/config/polybar/panels/menu/xubuntu/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 1px; - border-radius: 0px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/xubuntu/launcher.rasi b/config/polybar/panels/menu/xubuntu/launcher.rasi deleted file mode 100644 index 4626a7a..0000000 --- a/config/polybar/panels/menu/xubuntu/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bd; - border-radius: 0px; - width: 500px; - location: northwest; - x-offset: 10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 12; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @fg; - border: 0px 0px 0px 2px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/xubuntu/message.rasi b/config/polybar/panels/menu/xubuntu/message.rasi deleted file mode 100644 index 931e631..0000000 --- a/config/polybar/panels/menu/xubuntu/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 1px; - border-radius: 0px; - border-color: @bd; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/xubuntu/networkmenu.rasi b/config/polybar/panels/menu/xubuntu/networkmenu.rasi deleted file mode 100644 index 40bd9ba..0000000 --- a/config/polybar/panels/menu/xubuntu/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bd; - border-radius: 0px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -22px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/xubuntu/powermenu.rasi b/config/polybar/panels/menu/xubuntu/powermenu.rasi deleted file mode 100644 index 8ce6857..0000000 --- a/config/polybar/panels/menu/xubuntu/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bd; - border-radius: 0px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/xubuntu/styles.rasi b/config/polybar/panels/menu/xubuntu/styles.rasi deleted file mode 100644 index 33812c4..0000000 --- a/config/polybar/panels/menu/xubuntu/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bd; - border-radius: 0px; - width: 300px; - location: northeast; - x-offset: -10; - y-offset: 40; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 5px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bga; - text-color: @fg; - expand: false; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @fg; - border: 0px 0px 0px 0px; - border-radius: 0px; - border-color: @ac; -} diff --git a/config/polybar/panels/menu/zorin/colors.rasi b/config/polybar/panels/menu/zorin/colors.rasi deleted file mode 100644 index e81d227..0000000 --- a/config/polybar/panels/menu/zorin/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #000000FF; - fg: #AADEF6FF; - se: #1E3136FF; - bo: #8EDBF2FF; -} diff --git a/config/polybar/panels/menu/zorin/confirm.rasi b/config/polybar/panels/menu/zorin/confirm.rasi deleted file mode 100644 index 5580399..0000000 --- a/config/polybar/panels/menu/zorin/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 200px; - padding: 20px; - border: 0px 0px 1px 0px; - border-radius: 8px; - border-color: @bo; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/zorin/launcher.rasi b/config/polybar/panels/menu/zorin/launcher.rasi deleted file mode 100644 index aa6277a..0000000 --- a/config/polybar/panels/menu/zorin/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 500px; - location: southwest; - x-offset: 10; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px; - background-color: @al; - text-color: @fg; - font: "feather 12"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Type to search..."; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 8px; - border-color: @bo; - margin: 0px 240px 0px 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 10; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 9px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 8px; - border-color: @bo; -} diff --git a/config/polybar/panels/menu/zorin/message.rasi b/config/polybar/panels/menu/zorin/message.rasi deleted file mode 100644 index faaf79b..0000000 --- a/config/polybar/panels/menu/zorin/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 310px; - padding: 20px; - border: 0px 0px 1px 0px; - border-radius: 8px; - border-color: @bo; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @fg; -} - diff --git a/config/polybar/panels/menu/zorin/networkmenu.rasi b/config/polybar/panels/menu/zorin/networkmenu.rasi deleted file mode 100644 index 59f3d91..0000000 --- a/config/polybar/panels/menu/zorin/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 8px; - border-color: @bo; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -18px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 8px; - border-color: @bo; -} diff --git a/config/polybar/panels/menu/zorin/powermenu.rasi b/config/polybar/panels/menu/zorin/powermenu.rasi deleted file mode 100644 index 5e17218..0000000 --- a/config/polybar/panels/menu/zorin/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 8px; - border-color: @bo; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 8px; - border-color: @bo; -} diff --git a/config/polybar/panels/menu/zorin/styles.rasi b/config/polybar/panels/menu/zorin/styles.rasi deleted file mode 100644 index 2876c22..0000000 --- a/config/polybar/panels/menu/zorin/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 1px; - border-color: @bo; - border-radius: 8px; - width: 300px; - location: southeast; - x-offset: -10; - y-offset: -52; -} - -prompt { - enabled: true; - padding: 0px 0px 0px 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 1px 0px 0px 0px; - background-color: @al; - text-color: @fg; - expand: false; - str: ""; - font: "feather 10"; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0px 0px 0px 5px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 8px; - border-color: @bo; - margin: 0px; - padding: 10px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ listview, inputbar ]; - spacing: 10px; - padding: 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -21px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0px; - border-radius: 8px; - border-color: @bo; -} diff --git a/config/polybar/panels/panel/budgie.ini b/config/polybar/panels/panel/budgie.ini deleted file mode 100644 index 02a4972..0000000 --- a/config/polybar/panels/panel/budgie.ini +++ /dev/null @@ -1,657 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9;3" -font-1 = "Iosevka Nerd Font:size=12;3" -font-2 = "Iosevka Nerd Font:size=16;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu sep2 term web files settings -modules-center = -modules-right = style sep alsa battery network date sep sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #232832 -bg-alt = #1C2028 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> -format-volume-background = ${color.bg-alt} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-background = ${color.bg-alt} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> -format-charging-background = ${color.bg-alt} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> -format-discharging-background = ${color.bg-alt} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-background = ${color.bg-alt} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M %p -;;time-alt = %B %d, %Y - -format = <label> -format-background = ${color.bg-alt} -format-padding = 2 - -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-background = ${color.bg-alt} -format-connected-padding = 2 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-background = ${color.bg-alt} -format-disconnected-padding = 2 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -;label-connected = 說 -label-connected = "%{A1:networkmanager_dmenu &:}說%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -;label-disconnected = ﲁ -label-disconnected = "%{A1:networkmanager_dmenu &:}ﲁ%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 說 -ramp-signal-1 = 說 -ramp-signal-2 = 說 -ramp-signal-3 = 說 -ramp-signal-4 = 說 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = -content-background = ${color.light-blue} -content-foreground = ${color.fg} -content-padding = 3 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --budgie -click-right = ~/.config/polybar/panels/scripts/launcher.sh --budgie - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -content-background = ${color.bg-alt} -content-foreground = ${color.fg} -content-padding = 3 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --budgie -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --budgie - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ -content-background = ${color.bg-alt} -content-foreground = ${color.fg} -content-padding = 2 - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --budgie -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --budgie - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text - -content = | -content-foreground = ${color.grey} -content-background = ${color.bg-alt} -content-padding = 1 - -[module/sep2] -type = custom/text - -content = | -content-foreground = ${color.bg} -content-background = ${color.bg} -content-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;; Apps - -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.green} -content-background = ${color.bg} -content-padding = 3 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.orange} -content-background = ${color.bg} -content-padding = 3 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.blue} -content-background = ${color.bg} -content-padding = 3 - -click-left = thunar & - -[module/settings] -type = custom/text - -content = "%{T3}煉%{T-}" -content-foreground = ${color.red} -content-background = ${color.bg} -content-padding = 3 - -click-left = xfce4-settings & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - diff --git a/config/polybar/panels/panel/deepin.ini b/config/polybar/panels/panel/deepin.ini deleted file mode 100644 index cb61bb5..0000000 --- a/config/polybar/panels/panel/deepin.ini +++ /dev/null @@ -1,639 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 42 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 1 -border-color = ${color.bg} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 3 -module-margin-right = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9;4" -font-1 = "icomoon\-feather:size=10;4" -font-2 = "Iosevka Nerd Font:size=20;5" -font-3 = "Noto Sans:size=8;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu term web files settings -modules-center = -modules-right = style alsa network battery sysmenu date sep2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #59000000 -bg-alt = #1A000000 -;;bg = #072919 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = -ramp-volume-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = " %percentage%%" -label-discharging-font = 4 - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = -animation-charging-7 = -animation-charging-8 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M %p -;;time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --deepin -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --deepin - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --deepin -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --deepin - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text - -content = | -content-foreground = ${color.bg} -content-background = ${color.bg} -content-padding = 0 - -[module/sep2] -type = custom/text - -content = | -content-foreground = ${color.bg-alt} -content-background = ${color.bg-alt} -content-padding = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = "%{T3}%{T-}" -content-background = ${color.bg} -content-foreground = ${color.fg} -content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --deepin -click-right = ~/.config/polybar/panels/scripts/launcher.sh --deepin - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;; Apps -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.blue-gray} -content-background = ${color.bg} -content-padding = 3 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.deep-orange} -content-background = ${color.bg} -content-padding = 3 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.cyan} -content-background = ${color.bg} -content-padding = 3 - -click-left = thunar & - -[module/settings] -type = custom/text - -content = "%{T3}漣%{T-}" -content-foreground = ${color.light-green} -content-background = ${color.bg} -content-padding = 3 - -click-left = xfce4-settings & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/elementary.ini b/config/polybar/panels/panel/elementary.ini deleted file mode 100644 index 247d9ea..0000000 --- a/config/polybar/panels/panel/elementary.ini +++ /dev/null @@ -1,564 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 3 -module-margin-right = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Droid Sans:size=9:weight=bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = applications -modules-center = date -modules-right = style alsa network battery sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #00000000 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = "%a %b %d %I:%M %p" -;time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/applications] -type = custom/text - -content = Applications -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --elight -click-right = ~/.config/polybar/panels/scripts/launcher.sh --elight - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --elight -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --elight - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --elight -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --elight - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/elementary_dark.ini b/config/polybar/panels/panel/elementary_dark.ini deleted file mode 100644 index 61e9c9a..0000000 --- a/config/polybar/panels/panel/elementary_dark.ini +++ /dev/null @@ -1,564 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 3 -module-margin-right = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Droid Sans:size=9:weight=bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = applications -modules-center = date -modules-right = style alsa network battery sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #80000000 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = "%a %b %d %I:%M %p" -;time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/applications] -type = custom/text - -content = Applications -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --edark -click-right = ~/.config/polybar/panels/scripts/launcher.sh --edark - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --edark -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --edark - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --edark -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --edark - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/gnome.ini b/config/polybar/panels/panel/gnome.ini deleted file mode 100644 index e90940e..0000000 --- a/config/polybar/panels/panel/gnome.ini +++ /dev/null @@ -1,571 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 3 -module-margin-right = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9:weight:bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = activity -modules-center = date -modules-right = style battery alsa network sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #000000 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %a %I:%M %p -time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/activity] -type = custom/text - -content = Activities -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --gnome -click-right = ~/.config/polybar/panels/scripts/launcher.sh --gnome - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --gnome -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --gnome - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --gnome -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --gnome - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/kde.ini b/config/polybar/panels/panel/kde.ini deleted file mode 100644 index 0baf518..0000000 --- a/config/polybar/panels/panel/kde.ini +++ /dev/null @@ -1,580 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 34 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=10;2" -font-1 = "icomoon\-feather:size=13;5" -font-2 = "Iosevka Nerd Font:size=20;5" -font-3 = "Iosevka Nerd Font:size=12;4" -font-4 = "Noto Sans:size=16;4" -font-5 = "Noto Sans:size=8;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = kde -modules-center = -modules-right = battery alsa network sysmenu date style - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #CCFFFFFF -fg = #1d1d1d -fg-alt = #606060 - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = -ramp-volume-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = " %percentage%%" -label-discharging-font = 6 - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = -animation-charging-7 = -animation-charging-8 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M -;time-alt = %B %d, %Y - -format = <label> -format-font = 5 -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/kde] -type = custom/text - -content = "%{T3}%{T-}" -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --klight -click-right = ~/.config/polybar/panels/scripts/launcher.sh --klight - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = "%{T3}%{T-}" -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --klight -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --klight - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text - -content = "%{T4}%{T-}" -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --klight -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --klight - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/kde_dark.ini b/config/polybar/panels/panel/kde_dark.ini deleted file mode 100644 index 93885cb..0000000 --- a/config/polybar/panels/panel/kde_dark.ini +++ /dev/null @@ -1,580 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 34 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=10;2" -font-1 = "icomoon\-feather:size=13;5" -font-2 = "Iosevka Nerd Font:size=20;5" -font-3 = "Iosevka Nerd Font:size=12;4" -font-4 = "Noto Sans:size=16;4" -font-5 = "Noto Sans:size=8;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = kde -modules-center = -modules-right = battery alsa network sysmenu date style - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #E631363b -fg = #f5f5f5 -fg-alt = #808080 - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = -ramp-volume-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = " %percentage%%" -label-discharging-font = 6 - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = -animation-charging-7 = -animation-charging-8 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M -;time-alt = %B %d, %Y - -format = <label> -format-font = 5 -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/kde] -type = custom/text - -content = "%{T3}%{T-}" -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --kdark -click-right = ~/.config/polybar/panels/scripts/launcher.sh --kdark - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = "%{T3}%{T-}" -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --kdark -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --kdark - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text - -content = "%{T4}%{T-}" -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --kdark -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --kdark - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/liri.ini b/config/polybar/panels/panel/liri.ini deleted file mode 100644 index d913023..0000000 --- a/config/polybar/panels/panel/liri.ini +++ /dev/null @@ -1,630 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 36 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 8 -border-color = ${color.bg} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9;3" -font-1 = "Material:size=12;3" -font-2 = "Iosevka Nerd Font:size=20;5" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu sep term web files settings -modules-center = -modules-right = date style battery alsa network sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #00000000 -mf = #2F2F2F -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> -format-volume-background = ${color.mf} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-background = ${color.mf} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> -format-charging-background = ${color.mf} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> -format-discharging-background = ${color.mf} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-background = ${color.mf} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = - -animation-charging-0 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M -;time-alt = %B %d, %Y - -format = <label> -format-background = ${color.mf} -format-padding = 3 - -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> -format-connected-background = ${color.mf} -format-connected-padding = 2 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-background = ${color.mf} -format-disconnected-padding = 2 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = -content-background = ${color.mf} -content-foreground = ${color.fg} -content-padding = 3 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --liri -click-right = ~/.config/polybar/panels/scripts/launcher.sh --liri - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = -content-background = ${color.mf} -content-foreground = ${color.fg} -content-padding = 3 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --liri -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --liri - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text - -content = -content-background = ${color.mf} -content-foreground = ${color.fg} -content-padding = 2 - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --liri -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --liri - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text - -content = | -content-foreground = ${color.bg} -content-background = ${color.bg} -content-padding = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;; Apps - -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-background = ${color.bg} -content-padding = 4 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-background = ${color.bg} -content-padding = 4 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}ﱮ%{T-}" -content-background = ${color.bg} -content-padding = 4 - -click-left = thunar & - -[module/settings] -type = custom/text - -content = "%{T3}%{T-}" -content-background = ${color.bg} -content-padding = 4 - -click-left = xfce4-settings & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/mint.ini b/config/polybar/panels/panel/mint.ini deleted file mode 100644 index 5289739..0000000 --- a/config/polybar/panels/panel/mint.ini +++ /dev/null @@ -1,612 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -;background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -background-0 = #494949 -background-1 = #393939 - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9:weight:bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = mint term web files settings -modules-center = -modules-right = style alsa network battery sysmenu date - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #000000 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %a %I:%M %p -time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mint] -type = custom/text - -; -content = Menu -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --mint -click-right = ~/.config/polybar/panels/scripts/launcher.sh --mint - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --mint -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --mint - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --mint -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --mint - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;; Apps - -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.lime} -content-padding = 0 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.orange} -content-padding = 0 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.cyan} -content-padding = 0 - -click-left = thunar & - -[module/settings] -type = custom/text - -content = "%{T3}漣%{T-}" -content-foreground = ${color.yellow} -content-padding = 0 - -click-left = xfce4-settings & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/ubuntu_gnome.ini b/config/polybar/panels/panel/ubuntu_gnome.ini deleted file mode 100644 index d852b6e..0000000 --- a/config/polybar/panels/panel/ubuntu_gnome.ini +++ /dev/null @@ -1,571 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 3 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 3 -module-margin-right = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9:weight:bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = activity -modules-center = date -modules-right = style battery alsa network sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #33000000 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %a %I:%M %p -time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/activity] -type = custom/text - -content = Activities -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --ugnome -click-right = ~/.config/polybar/panels/scripts/launcher.sh --ugnome - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --ugnome -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --ugnome - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --ugnome -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --ugnome - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/ubuntu_unity.ini b/config/polybar/panels/panel/ubuntu_unity.ini deleted file mode 100644 index 1754ff2..0000000 --- a/config/polybar/panels/panel/ubuntu_unity.ini +++ /dev/null @@ -1,577 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -;;background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = -background-0 = #59574E -background-1 = #42403C - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 2 -;;border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9:weight:bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu title -modules-center = -modules-right = style network battery alsa date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #33000000 -fg = #EAEAEA -fg-alt = #9C9C9C - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M %p -;time-alt = %B %d, %Y - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --unity -click-right = ~/.config/polybar/panels/scripts/launcher.sh --unity - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --unity -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --unity - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --unity -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --unity - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -format = <label> - -label = %title% -label-maxlen = 20 -label-empty = Desktop - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/xubuntu.ini b/config/polybar/panels/panel/xubuntu.ini deleted file mode 100644 index cefbe10..0000000 --- a/config/polybar/panels/panel/xubuntu.ini +++ /dev/null @@ -1,616 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 30 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 1 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9:weight:bold;3" -font-1 = "Iosevka Nerd Font:size=12;3" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu -modules-center = -modules-right = style battery alsa network date workspaces name sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #494949 -bg-alt = #333333 -fg-ac = #536579 -fg = #EAEAEA -fg-alt = #9C9C9C -ac = #000000 - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = ﱝ -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %a, %d %B %I:%M %p - -format = <label> -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 -ramp-signal-3 = 直 -ramp-signal-4 = 直 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -pin-workspaces = false -enable-click = true -enable-scroll = true - -format = <label-state> -format-background = ${color.bg} - -label-active = -label-urgent = -label-occupied = -label-empty = -icon-default = - -label-empty-padding = 1 -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 - -label-empty-foreground = ${color.bg-alt} -label-active-foreground = ${color.fg-ac} -label-urgent-foreground = ${color.red} -label-occupied-foreground = ${color.bg-alt} - -label-empty-background = ${color.bg-alt} -label-active-background = ${color.fg-ac} -label-urgent-background = ${color.red} -label-occupied-background = ${color.bg-alt} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = -;;content-background = ${color.bg} -content-foreground = ${color.blue} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --xubuntu -click-right = ~/.config/polybar/panels/scripts/launcher.sh --xubuntu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = 襤 -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;;content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --xubuntu -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --xubuntu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/name] -type = custom/text -content = Aditya - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = פֿ - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --xubuntu -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --xubuntu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -format = <label> - -label = %title% -label-maxlen = 20 -label-empty = Desktop - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/panel/zorin.ini b/config/polybar/panels/panel/zorin.ini deleted file mode 100644 index aea0117..0000000 --- a/config/polybar/panels/panel/zorin.ini +++ /dev/null @@ -1,641 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 42 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -;;overline-size = 0 -;;overline-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -;;border-size = 1 -;;border-color = ${color.bg} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 3 -module-margin-right = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Noto Sans:size=9;4" -font-1 = "icomoon\-feather:size=10;4" -font-2 = "Iosevka Nerd Font:size=20;5" -font-3 = "Noto Sans:size=8;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = menu term web files settings -modules-center = -modules-right = style network alsa battery date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Active Colors -bg = #80000000 -bg-alt = #1A000000 -fg = #EAEAEA -fg-alt = #9C9C9C -ac= #8EDBF2 - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #1e88e5 -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #fdd835 -amber = #ffb300 -orange = #fb8c00 -deep-orange = #f4511e -brown = #6d4c41 -grey = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ -;; -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; You can find the different card numbers in `/proc/asound/cards` -;;master-soundcard = default -;;speaker-soundcard = default -;;headphone-soundcard = default - -; Default: Master -;;master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; Default: 5 -;;interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -;format-muted = <label-muted> - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = -label-muted-foreground = ${color.fg-alt} - -ramp-volume-0 = -ramp-volume-1 = -ramp-volume-2 = -ramp-volume-3 = -ramp-volume-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 - -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-full> - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = " %percentage%%" -label-discharging-font = 4 - -; Available tokens: -; %percentage% (default) -;label-full = Fully Charged -label-full = -label-full-foreground = ${color.green} - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = -animation-charging-7 = -animation-charging-8 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 - -time = %I:%M %p -;;time-alt = %B %d, %Y - -format = <label> -;format-padding = 3 - -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network - -interface = wlan0 -interval = 1.0 - -;ping-interval = 3 -;;udspeed-minwidth = 5 -accumulate-stats = true -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <label-connected> - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}" -label-disconnected-foreground = ${color.fg-alt} - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -ramp-signal-0 = -ramp-signal-1 = -ramp-signal-2 = -ramp-signal-3 = -ramp-signal-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text - -content = " " -;;content-background = ${color.bg} -content-foreground = ${color.fg} -;content-padding = 1 - -click-left = ~/.config/polybar/panels/scripts/powermenu.sh --zorin -click-right = ~/.config/polybar/panels/scripts/powermenu.sh --zorin - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/style] -type = custom/text -content = - -click-left = ~/.config/polybar/panels/scripts/style-switch.sh --zorin -click-right = ~/.config/polybar/panels/scripts/style-switch.sh --zorin - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text - -content = | -content-foreground = ${color.bg} -content-background = ${color.bg} -content-padding = 0 - -[module/sep2] -type = custom/text - -content = | -content-foreground = ${color.bg-alt} -content-background = ${color.bg-alt} -content-padding = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/text - -content = "%{T3}%{T-}" -content-background = ${color.ac} -content-foreground = ${color.black} -content-padding = 4 - -click-left = ~/.config/polybar/panels/scripts/launcher.sh --zorin -click-right = ~/.config/polybar/panels/scripts/launcher.sh --zorin - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;; Apps -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.white} -content-background = ${color.bg} -content-padding = 3 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.deep-orange} -content-background = ${color.bg} -content-padding = 3 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.cyan} -content-background = ${color.bg} -content-padding = 3 - -click-left = thunar & - -[module/settings] -type = custom/text - -content = "%{T3}漣%{T-}" -content-foreground = ${color.lime} -content-background = ${color.bg} -content-padding = 3 - -click-left = xfce4-settings & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/panels/scripts/launcher.sh b/config/polybar/panels/scripts/launcher.sh deleted file mode 100755 index 2d4ac1b..0000000 --- a/config/polybar/panels/scripts/launcher.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/panels/menu" - -launcher() { - rofi -no-config -no-lazy-grab -show drun -modi drun -theme "$DIR"/"$theme"/launcher.rasi -} - -if [[ "$1" = "--budgie" ]]; then - theme="budgie" - launcher - -elif [[ "$1" = "--deepin" ]]; then - theme="deepin" - launcher - -elif [[ "$1" = "--elight" ]]; then - theme="elementary" - launcher - -elif [[ "$1" = "--edark" ]]; then - theme="elementary_dark" - launcher - -elif [[ "$1" = "--gnome" ]]; then - theme="gnome" - launcher - -elif [[ "$1" = "--klight" ]]; then - theme="kde" - launcher - -elif [[ "$1" = "--kdark" ]]; then - theme="kde_dark" - launcher - -elif [[ "$1" = "--liri" ]]; then - theme="liri" - launcher - -elif [[ "$1" = "--mint" ]]; then - theme="mint" - launcher - -elif [[ "$1" = "--ugnome" ]]; then - theme="ubuntu_gnome" - launcher - -elif [[ "$1" = "--unity" ]]; then - theme="ubuntu_unity" - launcher - -elif [[ "$1" = "--xubuntu" ]]; then - theme="xubuntu" - launcher - -elif [[ "$1" = "--zorin" ]]; then - theme="zorin" - launcher - -else - rofi -e "No theme specified." - exit 1 -fi diff --git a/config/polybar/panels/scripts/powermenu.sh b/config/polybar/panels/scripts/powermenu.sh deleted file mode 100755 index a8c9e73..0000000 --- a/config/polybar/panels/scripts/powermenu.sh +++ /dev/null @@ -1,139 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -DIR="$HOME/.config/polybar/panels/menu" -uptime=$(uptime -p | sed -e 's/up //g') - -if [[ "$1" = "--budgie" ]]; then - theme="budgie" - -elif [[ "$1" = "--deepin" ]]; then - theme="deepin" - -elif [[ "$1" = "--elight" ]]; then - theme="elementary" - -elif [[ "$1" = "--edark" ]]; then - theme="elementary_dark" - -elif [[ "$1" = "--gnome" ]]; then - theme="gnome" - -elif [[ "$1" = "--klight" ]]; then - theme="kde" - -elif [[ "$1" = "--kdark" ]]; then - theme="kde_dark" - -elif [[ "$1" = "--liri" ]]; then - theme="liri" - -elif [[ "$1" = "--mint" ]]; then - theme="mint" - -elif [[ "$1" = "--ugnome" ]]; then - theme="ubuntu_gnome" - -elif [[ "$1" = "--unity" ]]; then - theme="ubuntu_unity" - -elif [[ "$1" = "--xubuntu" ]]; then - theme="xubuntu" - -elif [[ "$1" = "--zorin" ]]; then - theme="zorin" - -else - rofi -e "No theme specified." - exit 1 -fi - -rofi_command="rofi -no-config -theme $DIR/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $DIR/$theme/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$DIR/$theme/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/panels/scripts/style-switch.sh b/config/polybar/panels/scripts/style-switch.sh deleted file mode 100755 index 1a11840..0000000 --- a/config/polybar/panels/scripts/style-switch.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/panels/scripts" -DIR="$HOME/.config/polybar/panels/menu" - -if [[ "$1" = "--budgie" ]]; then - theme="budgie" - -elif [[ "$1" = "--deepin" ]]; then - theme="deepin" - -elif [[ "$1" = "--elight" ]]; then - theme="elementary" - -elif [[ "$1" = "--edark" ]]; then - theme="elementary_dark" - -elif [[ "$1" = "--gnome" ]]; then - theme="gnome" - -elif [[ "$1" = "--klight" ]]; then - theme="kde" - -elif [[ "$1" = "--kdark" ]]; then - theme="kde_dark" - -elif [[ "$1" = "--liri" ]]; then - theme="liri" - -elif [[ "$1" = "--mint" ]]; then - theme="mint" - -elif [[ "$1" = "--ugnome" ]]; then - theme="ubuntu_gnome" - -elif [[ "$1" = "--unity" ]]; then - theme="ubuntu_unity" - -elif [[ "$1" = "--xubuntu" ]]; then - theme="xubuntu" - -elif [[ "$1" = "--zorin" ]]; then - theme="zorin" - -else - rofi -e "No theme specified." - exit 1 -fi - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $DIR/$theme/styles.rasi \ -<<< " Budgie| Deepin| Elementary| Elementary_Dark| Gnome| KDE|\ - KDE_Dark| Liri| Mint| Ubuntu_gnome| Ubuntu_unity| Xubuntu| Zorin|")" - case "$MENU" in - *Budgie) "$SDIR"/styles.sh --budgie ;; - *Deepin) "$SDIR"/styles.sh --deepin ;; - *Elementary) "$SDIR"/styles.sh --elight ;; - *Elementary_Dark) "$SDIR"/styles.sh --edark ;; - *Gnome) "$SDIR"/styles.sh --gnome ;; - *KDE) "$SDIR"/styles.sh --klight ;; - *KDE_Dark) "$SDIR"/styles.sh --kdark ;; - *Liri) "$SDIR"/styles.sh --liri ;; - *Mint) "$SDIR"/styles.sh --mint ;; - *Ubuntu_gnome) "$SDIR"/styles.sh --ugnome ;; - *Ubuntu_unity) "$SDIR"/styles.sh --unity ;; - *Xubuntu) "$SDIR"/styles.sh --xubuntu ;; - *Zorin) "$SDIR"/styles.sh --zorin ;; - esac diff --git a/config/polybar/panels/scripts/styles.sh b/config/polybar/panels/scripts/styles.sh deleted file mode 100755 index fc627c7..0000000 --- a/config/polybar/panels/scripts/styles.sh +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/panels" - -change_panel() { - # replace config with selected panel - cat "$DIR"/panel/"${panel}.ini" > "$DIR"/config.ini - - # Change wallpaper - feh --bg-fill "$DIR"/wallpapers/"$bg" - - # Restarting polybar - polybar-msg cmd restart -} - -if [[ "$1" = "--budgie" ]]; then - panel="budgie" - bg="budgie.jpg" - change_panel - -elif [[ "$1" = "--deepin" ]]; then - panel="deepin" - bg="deepin.jpg" - change_panel - -elif [[ "$1" = "--elight" ]]; then - panel="elementary" - bg="elementary.jpg" - change_panel - -elif [[ "$1" = "--edark" ]]; then - panel="elementary_dark" - bg="elementary_2.jpg" - change_panel - -elif [[ "$1" = "--gnome" ]]; then - panel="gnome" - bg="gnome.jpg" - change_panel - -elif [[ "$1" = "--klight" ]]; then - panel="kde" - bg="kde.jpg" - change_panel - -elif [[ "$1" = "--kdark" ]]; then - panel="kde_dark" - bg="kde_2.jpg" - change_panel - -elif [[ "$1" = "--liri" ]]; then - panel="liri" - bg="liri.png" - change_panel - -elif [[ "$1" = "--mint" ]]; then - panel="mint" - bg="mint.jpg" - change_panel - -elif [[ "$1" = "--ugnome" ]]; then - panel="ubuntu_gnome" - bg="ubuntu.jpg" - change_panel - -elif [[ "$1" = "--unity" ]]; then - panel="ubuntu_unity" - bg="ubuntu.jpg" - change_panel - -elif [[ "$1" = "--xubuntu" ]]; then - panel="xubuntu" - bg="xubuntu.png" - change_panel - -elif [[ "$1" = "--zorin" ]]; then - panel="zorin" - bg="zorin.png" - change_panel - -else - cat <<- _EOF_ - No option specified, Available options: - --budgie --deepin --elight --edark --gnome --klight - --kdark --liri --mint --ugnome --unity --xubuntu - --zorin - _EOF_ -fi diff --git a/config/polybar/panels/wallpapers/budgie.jpg b/config/polybar/panels/wallpapers/budgie.jpg Binary files differdeleted file mode 100644 index 24b6c29..0000000 --- a/config/polybar/panels/wallpapers/budgie.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/deepin.jpg b/config/polybar/panels/wallpapers/deepin.jpg Binary files differdeleted file mode 100644 index 7c6870d..0000000 --- a/config/polybar/panels/wallpapers/deepin.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/elementary.jpg b/config/polybar/panels/wallpapers/elementary.jpg Binary files differdeleted file mode 100644 index b8696e3..0000000 --- a/config/polybar/panels/wallpapers/elementary.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/elementary_2.jpg b/config/polybar/panels/wallpapers/elementary_2.jpg Binary files differdeleted file mode 100644 index 2fd51c3..0000000 --- a/config/polybar/panels/wallpapers/elementary_2.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/gnome.jpg b/config/polybar/panels/wallpapers/gnome.jpg Binary files differdeleted file mode 100644 index b9b8d69..0000000 --- a/config/polybar/panels/wallpapers/gnome.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/kde.jpg b/config/polybar/panels/wallpapers/kde.jpg Binary files differdeleted file mode 100644 index 13d1b47..0000000 --- a/config/polybar/panels/wallpapers/kde.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/kde_2.jpg b/config/polybar/panels/wallpapers/kde_2.jpg Binary files differdeleted file mode 100644 index b555447..0000000 --- a/config/polybar/panels/wallpapers/kde_2.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/liri.png b/config/polybar/panels/wallpapers/liri.png Binary files differdeleted file mode 100644 index 8d657b9..0000000 --- a/config/polybar/panels/wallpapers/liri.png +++ /dev/null diff --git a/config/polybar/panels/wallpapers/mint.jpg b/config/polybar/panels/wallpapers/mint.jpg Binary files differdeleted file mode 100644 index 6ab13d4..0000000 --- a/config/polybar/panels/wallpapers/mint.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/ubuntu.jpg b/config/polybar/panels/wallpapers/ubuntu.jpg Binary files differdeleted file mode 100644 index ac1f05e..0000000 --- a/config/polybar/panels/wallpapers/ubuntu.jpg +++ /dev/null diff --git a/config/polybar/panels/wallpapers/xubuntu.png b/config/polybar/panels/wallpapers/xubuntu.png Binary files differdeleted file mode 100644 index 9fd6833..0000000 --- a/config/polybar/panels/wallpapers/xubuntu.png +++ /dev/null diff --git a/config/polybar/panels/wallpapers/zorin.png b/config/polybar/panels/wallpapers/zorin.png Binary files differdeleted file mode 100644 index 2c7eac3..0000000 --- a/config/polybar/panels/wallpapers/zorin.png +++ /dev/null diff --git a/config/polybar/pwidgets/apps.ini b/config/polybar/pwidgets/apps.ini deleted file mode 100644 index 48335e1..0000000 --- a/config/polybar/pwidgets/apps.ini +++ /dev/null @@ -1,426 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=12;2" -font-1 = "Iosevka Nerd Font:bold:size=24;2" -font-2 = "Iosevka Nerd Font:size=22;6" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = web sep2 files sep2 edit sep2 apps -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = date sep mpd -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 -time = %k:%M - -format = <label> -format-foreground = ${color.fg} -label = %time% -label-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -interval = 2 - -format-online = <label-song> -format-online-foreground = ${color.fg} - -label-song = "%title%" -label-song-maxlen = 12 -label-song-ellipsis = true -label-offline = "Offline" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Apps - -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.black} -content-background = ${color.bg} -content-padding = 0 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.orange} -content-background = ${color.bg} -content-padding = 0 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.blue} -content-background = ${color.bg} -content-padding = 0 - -click-left = thunar & - -[module/edit] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.gray} -content-background = ${color.bg} -content-padding = 0 - -click-left = geany & - -[module/apps] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.fga} -content-background = ${color.bg} -content-padding = 0 - -click-left = ~/.config/polybar/pwidgets/scripts/launcher.sh & -click-right = ~/.config/polybar/pwidgets/scripts/style-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 1 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/colors.ini b/config/polybar/pwidgets/colors.ini deleted file mode 100644 index 13accb3..0000000 --- a/config/polybar/pwidgets/colors.ini +++ /dev/null @@ -1,42 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] -bg = #FFFFFFFF -fg = #FFFFFFFF -ac = #FF1565C0 -fga = #FF454545 - -trans = #00000000 -white = #FFFFFF -black = #000000 - -;; Material Colors - -red = #e53935 -pink = #d81b60 -purple = #8e24aa -deep-purple = #5e35b1 -indigo = #3949ab -blue = #5895DC -light-blue = #039be5 -cyan = #00acc1 -teal = #00897b -green = #43a047 -light-green = #7cb342 -lime = #c0ca33 -yellow = #FEC006 -amber = #ffb300 -orange = #F57C00 -deep-orange = #f4511e -brown = #6d4c41 -gray = #757575 -blue-gray = #546e7a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/cpu.ini b/config/polybar/pwidgets/cpu.ini deleted file mode 100644 index f2a3410..0000000 --- a/config/polybar/pwidgets/cpu.ini +++ /dev/null @@ -1,394 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=24;6" -font-1 = "Iosevka Nerd Font:size=12;2" -font-2 = "Iosevka Nerd Font:bold:size=24;2" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = cpu_bar -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = name sep cpu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -interval = 0.5 -format = <label> -format-foreground = ${color.fg} -format-font = 2 -label = "%percentage-core1%% %percentage-core2%% %percentage-core3%% %percentage-core4%%" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -interval = 0.5 -format = <bar-load> - -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = -bar-load-indicator-foreground = ${color.ac} -bar-load-indicator-font = 1 - -bar-load-fill = ⏽ -bar-load-foreground-0 = ${color.green} -bar-load-foreground-1 = ${color.green} -bar-load-foreground-2 = ${color.green} -bar-load-foreground-3 = ${color.amber} -bar-load-foreground-4 = ${color.amber} -bar-load-foreground-5 = ${color.amber} -bar-load-foreground-6 = ${color.red} -bar-load-foreground-7 = ${color.red} -bar-load-foreground-8 = ${color.red} -bar-load-fill-font = 1 - -bar-load-empty = ⏽ -bar-load-empty-foreground = ${color.gray} -bar-load-empty-font = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/name] -type = custom/text - -content = cpu -content-foreground = ${color.fg} -content-font = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 2 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/fs.ini b/config/polybar/pwidgets/fs.ini deleted file mode 100644 index 64ca823..0000000 --- a/config/polybar/pwidgets/fs.ini +++ /dev/null @@ -1,411 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=24;6" -font-1 = "Iosevka Nerd Font:size=12;2" -font-2 = "Iosevka Nerd Font:bold:size=24;2" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = fs_bar -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = name sep fs -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/fs] -type = internal/fs - -mount-0 = / -;;mount-1 = /home - -interval = 10 -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -format-mounted = <label-mounted> -format-mounted-foreground = ${color.fg} -format-mounted-font = 2 - -format-unmounted = <label-unmounted> -format-unmounted-foreground = ${color.fg} -format-unmounted-font = 2 - -label-mounted = "%free%" -label-unmounted = Not Mounted - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/fs_bar] -type = internal/fs - -mount-0 = / -;;mount-1 = /home - -format-mounted = <bar-used> - -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = -bar-used-indicator-foreground = ${color.ac} -bar-used-indicator-font = 1 - -bar-used-fill = ⏽ -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.green} -bar-used-foreground-3 = ${color.green} -bar-used-foreground-4 = ${color.green} -bar-used-foreground-5 = ${color.amber} -bar-used-foreground-6 = ${color.amber} -bar-used-foreground-7 = ${color.red} -bar-used-foreground-8 = ${color.red} -bar-used-fill-font = 1 - -bar-used-empty = ⏽ -bar-used-empty-foreground = ${color.gray} -bar-used-empty-font = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/name] -type = custom/text - -content = fs -content-foreground = ${color.fg} -content-font = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 2 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/launch.sh b/config/polybar/pwidgets/launch.sh deleted file mode 100755 index c5659f7..0000000 --- a/config/polybar/pwidgets/launch.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env sh - -DIR="$HOME/.config/polybar/pwidgets" - -kill_bar() { - # 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 -} - -## Main -if [[ "$1" == "--main" ]]; then - kill_bar - polybar -q primary -c $DIR/main.ini & - polybar -q secondary -c $DIR/main.ini & - polybar -q top -c $DIR/main.ini & - -## Apps -elif [[ "$1" == "--apps" ]]; then - kill_bar - polybar -q primary -c $DIR/apps.ini & - polybar -q secondary -c $DIR/apps.ini & - -## System -elif [[ "$1" == "--system" ]]; then - kill_bar - polybar -q primary -c $DIR/system.ini & - polybar -q secondary -c $DIR/system.ini & - -## Mpd -elif [[ "$1" == "--mpd" ]]; then - kill_bar - polybar -q primary -c $DIR/mpd.ini & - polybar -q secondary -c $DIR/mpd.ini & - -## Workspaces -elif [[ "$1" == "--ws" ]]; then - kill_bar - polybar -q primary -c $DIR/workspace.ini & - polybar -q secondary -c $DIR/workspace.ini & - -## CPU -elif [[ "$1" == "--cpu" ]]; then - kill_bar - polybar -q primary -c $DIR/cpu.ini & - polybar -q secondary -c $DIR/cpu.ini & - -## Memory -elif [[ "$1" == "--memory" ]]; then - kill_bar - polybar -q primary -c $DIR/memory.ini & - polybar -q secondary -c $DIR/memory.ini & - -## Filesystem -elif [[ "$1" == "--fs" ]]; then - kill_bar - polybar -q primary -c $DIR/fs.ini & - polybar -q secondary -c $DIR/fs.ini & - -else - cat <<- _EOF_ - No widget specified, Available widgets: - --main --apps --system --mpd - --ws --cpu --memory --fs - _EOF_ -fi diff --git a/config/polybar/pwidgets/main.ini b/config/polybar/pwidgets/main.ini deleted file mode 100644 index d7fe77c..0000000 --- a/config/polybar/pwidgets/main.ini +++ /dev/null @@ -1,535 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=12;2" -font-1 = "Iosevka Nerd Font:bold:size=24;2" -font-2 = "Iosevka Nerd Font:size=22;6" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = web sep2 files sep2 edit sep2 apps -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = date sep mpd -enable-ipc = true - -[bar/top] -inherit = bar/main - -width = 165 -height = 40 - -offset-x = 100%:-190 -offset-y = 25 -bottom = false -font-0 = "Iosevka Nerd Font:size=14;4" - -padding = 1 -module-margin-left = 1 -module-margin-right = 1 - -modules-center = alsa battery network sysmenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -interval = 1.0 -time = %k:%M - -format = <label> -format-foreground = ${color.fg} -label = %time% -label-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -interval = 2 - -format-online = <label-song> -format-online-foreground = ${color.fg} - -label-song = "%title%" -label-song-maxlen = 12 -label-song-ellipsis = true -label-offline = "Offline" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Apps - -[module/term] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.black} -content-background = ${color.bg} -content-padding = 0 - -click-left = termite & - -[module/web] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.orange} -content-background = ${color.bg} -content-padding = 0 - -click-left = firefox & - -[module/files] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.blue} -content-background = ${color.bg} -content-padding = 0 - -click-left = thunar & - -[module/edit] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.gray} -content-background = ${color.bg} -content-padding = 0 - -click-left = geany & - -[module/apps] -type = custom/text - -content = "%{T3}%{T-}" -content-foreground = ${color.fga} -content-background = ${color.bg} -content-padding = 0 - -click-left = ~/.config/polybar/pwidgets/scripts/launcher.sh & -click-right = ~/.config/polybar/pwidgets/scripts/style-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 1 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -format-volume = <ramp-volume> -format-muted = <label-muted> -label-muted = 婢 -label-muted-foreground = ${color.gray} - -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 奔 -ramp-volume-3 = 墳 -ramp-volume-4 = 墳 -ramp-volume-foreground = ${color.blue} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -format-charging = <animation-charging> -format-discharging = <ramp-capacity> - -format-full = <label-full> -format-full-foreground = ${color.red} - -label-full = - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = -ramp-capacity-foreground = ${color.orange} - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = -animation-charging-7 = -animation-charging-8 = -animation-charging-9 = -animation-charging-foreground = ${color.green} - -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network -interface = wlan0 - -interval = 1.0 -accumulate-stats = true -unknown-as-up = true - -format-connected = <label-connected> -format-connected-foreground = ${color.purple} -format-disconnected = <label-disconnected> -format-disconnected-foreground = ${color.gray} - -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = 襤 - -content-foreground = ${color.red} -click-left = ~/.config/polybar/pwidgets/scripts/powermenu.sh & -click-right = ~/.config/polybar/pwidgets/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/memory.ini b/config/polybar/pwidgets/memory.ini deleted file mode 100644 index ae63955..0000000 --- a/config/polybar/pwidgets/memory.ini +++ /dev/null @@ -1,397 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=24;6" -font-1 = "Iosevka Nerd Font:size=12;2" -font-2 = "Iosevka Nerd Font:bold:size=24;2" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = memory_bar -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = name sep memory -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -interval = 3 - -format = <label> -format-foreground = ${color.fg} -format-font = 2 - -label = "%mb_used%" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -interval = 2 - -format = <bar-used> - -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = -bar-used-indicator-foreground = ${color.ac} -bar-used-indicator-font = 1 - -bar-used-fill = ⏽ -bar-used-foreground-0 = ${color.green} -bar-used-foreground-1 = ${color.green} -bar-used-foreground-2 = ${color.green} -bar-used-foreground-3 = ${color.amber} -bar-used-foreground-4 = ${color.amber} -bar-used-foreground-5 = ${color.amber} -bar-used-foreground-6 = ${color.red} -bar-used-foreground-7 = ${color.red} -bar-used-foreground-8 = ${color.red} -bar-used-fill-font = 1 - -bar-used-empty = ⏽ -bar-used-empty-foreground = ${color.gray} -bar-used-empty-font = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/name] -type = custom/text - -content = memory -content-foreground = ${color.fg} -content-font = 3 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 2 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/mpd.ini b/config/polybar/pwidgets/mpd.ini deleted file mode 100644 index 014bd1d..0000000 --- a/config/polybar/pwidgets/mpd.ini +++ /dev/null @@ -1,397 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=12;2" -font-1 = "Iosevka Nerd Font:bold:size=24;2" -font-2 = "Iosevka Nerd Font:size=28;8" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = buttons -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = player sep mpd -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -interval = 2 -format-online = <label-song> -format-online-foreground = ${color.fg} - -label-song = "%title%" -label-song-maxlen = 12 -label-song-ellipsis = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/buttons] -type = internal/mpd - -interval = 2 - -format-online = <icon-prev> <toggle> <icon-stop> <icon-next> -format-online-font = 3 - -format-offline = <label-offline> -label-offline = "Offline" - -; Only applies if <icon-X> is used -icon-play-foreground = ${color.blue} -icon-play = 喇 -icon-pause-foreground = ${color.green} -icon-pause = -icon-stop-foreground = ${color.red} -icon-stop = ﭥ -icon-prev-foreground = ${color.teal} -icon-prev = ﭢ -icon-next-foreground = ${color.teal} -icon-next = ﭠ - -icon-seekb = 寧 -icon-seekf = 嶺 -icon-random = 🔀 -icon-repeat = 🔁 -icon-repeatone = 🔂 -icon-single = 🔂 -icon-consume = ✀ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/player] -type = custom/text - -content = mpd -content-foreground = ${color.fg} -content-font = 2 -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 1 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/scripts/launcher.sh b/config/polybar/pwidgets/scripts/launcher.sh deleted file mode 100755 index 9fa927a..0000000 --- a/config/polybar/pwidgets/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/pwidgets/scripts/rofi/launcher.rasi diff --git a/config/polybar/pwidgets/scripts/powermenu.sh b/config/polybar/pwidgets/scripts/powermenu.sh deleted file mode 100755 index a23ffdb..0000000 --- a/config/polybar/pwidgets/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/pwidgets/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Options : yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/pwidgets/scripts/pywal.sh b/config/polybar/pwidgets/scripts/pywal.sh deleted file mode 100755 index 7fba92a..0000000 --- a/config/polybar/pwidgets/scripts/pywal.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/pwidgets/colors.ini" -RFILE="$HOME/.config/polybar/pwidgets/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/bg = #.*/bg = ${BG}/g" $PFILE - sed -i -e "s/fg = #.*/fg = ${FG}/g" $PFILE - sed -i -e "s/fga = #.*/fga = ${RFG}/g" $PFILE - sed -i -e "s/ac = #.*/ac = ${AC}/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - fg: ${RFG}FF; - ac: ${AC}FF; - } - EOF -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$foreground"` - RFG=`printf "%s\n" "$color8"` - AC=`printf "%s\n" "$color1"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/pwidgets/scripts/random.sh b/config/polybar/pwidgets/scripts/random.sh deleted file mode 100755 index e6aa94a..0000000 --- a/config/polybar/pwidgets/scripts/random.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/pwidgets/colors.ini" -RFILE="$HOME/.config/polybar/pwidgets/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/bg = #.*/bg = ${BG}/g" $PFILE - sed -i -e "s/fg = #.*/fg = ${BG}/g" $PFILE - sed -i -e "s/fga = #.*/fga = ${RFG}/g" $PFILE - sed -i -e "s/ac = #.*/ac = ${AC}/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - fg: ${RFG}FF; - ac: ${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -# Main -BG=`get_random_color` -RFG=`get_random_color` -AC=`get_random_color` - -change_color diff --git a/config/polybar/pwidgets/scripts/rofi/colors.rasi b/config/polybar/pwidgets/scripts/rofi/colors.rasi deleted file mode 100644 index e951f6a..0000000 --- a/config/polybar/pwidgets/scripts/rofi/colors.rasi +++ /dev/null @@ -1,8 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #FFFFFFFF; - fg: #454545FF; - ac: #1565C0FF; -} diff --git a/config/polybar/pwidgets/scripts/rofi/confirm.rasi b/config/polybar/pwidgets/scripts/rofi/confirm.rasi deleted file mode 100644 index 3d28bcd..0000000 --- a/config/polybar/pwidgets/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 230px; - padding: 20px; - border: 0px; - border-radius: 20px; - border-color: @ac; - location: southwest; - x-offset: 25px; - y-offset: -95px; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/pwidgets/scripts/rofi/launcher.rasi b/config/polybar/pwidgets/scripts/rofi/launcher.rasi deleted file mode 100644 index d605adf..0000000 --- a/config/polybar/pwidgets/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 20px; - width: 460px; - location: southwest; - x-offset: 25px; - y-offset: -95px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @al; - text-color: @ac; - font: "Iosevka Nerd Font 10"; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @ac; -} diff --git a/config/polybar/pwidgets/scripts/rofi/message.rasi b/config/polybar/pwidgets/scripts/rofi/message.rasi deleted file mode 100644 index 3d28bcd..0000000 --- a/config/polybar/pwidgets/scripts/rofi/message.rasi +++ /dev/null @@ -1,25 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 230px; - padding: 20px; - border: 0px; - border-radius: 20px; - border-color: @ac; - location: southwest; - x-offset: 25px; - y-offset: -95px; -} - -entry { - expand: true; - text-color: @ac; -} diff --git a/config/polybar/pwidgets/scripts/rofi/networkmenu.rasi b/config/polybar/pwidgets/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 910294d..0000000 --- a/config/polybar/pwidgets/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 20px; - width: 460px; - location: southwest; - x-offset: 25px; - y-offset: -95px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 10px 5px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: "直"; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -10px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @ac; -} diff --git a/config/polybar/pwidgets/scripts/rofi/powermenu.rasi b/config/polybar/pwidgets/scripts/rofi/powermenu.rasi deleted file mode 100644 index c5ec2c4..0000000 --- a/config/polybar/pwidgets/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 20px; - width: 460px; - location: southwest; - x-offset: 25px; - y-offset: -95px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 10px 5px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @ac; -} diff --git a/config/polybar/pwidgets/scripts/rofi/styles.rasi b/config/polybar/pwidgets/scripts/rofi/styles.rasi deleted file mode 100644 index be4b305..0000000 --- a/config/polybar/pwidgets/scripts/rofi/styles.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 20px; - width: 460px; - location: southwest; - x-offset: 25px; - y-offset: -95px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @al; - text-color: @fg; -} - -textbox-prompt-colon { - padding: 10px 10px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @al; - text-color: @ac; - expand: false; - str: ""; -} - -entry { - background-color: @al; - text-color: @ac; - placeholder-color: @ac; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px 10px 10px 0px; - border-radius: 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, entry ]; - background-color: @al; - text-color: @fg; - expand: false; - border: 0px 0px 1px 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 10px; - padding: 2px 10px 10px 10px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 8px 8px 8px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @ac; -} diff --git a/config/polybar/pwidgets/scripts/style-switch.sh b/config/polybar/pwidgets/scripts/style-switch.sh deleted file mode 100755 index 5f87642..0000000 --- a/config/polybar/pwidgets/scripts/style-switch.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/pwidgets/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< " Default| Nord| Gruvbox| Dark| Cherry| White| Black|")" - case "$MENU" in - *Default) "$SDIR"/styles.sh --default ;; - *Nord) "$SDIR"/styles.sh --nord ;; - *Gruvbox) "$SDIR"/styles.sh --gruvbox ;; - *Dark) "$SDIR"/styles.sh --dark ;; - *Cherry) "$SDIR"/styles.sh --cherry ;; - *White) "$SDIR"/styles.sh --white ;; - *Black) "$SDIR"/styles.sh --black ;; - esac diff --git a/config/polybar/pwidgets/scripts/styles.sh b/config/polybar/pwidgets/scripts/styles.sh deleted file mode 100755 index 3cb0d0d..0000000 --- a/config/polybar/pwidgets/scripts/styles.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/pwidgets/colors.ini" -RFILE="$HOME/.config/polybar/pwidgets/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/bg = #.*/bg = #FF${BG}/g" $PFILE - sed -i -e "s/fg = #.*/fg = #FF${FG}/g" $PFILE - sed -i -e "s/fga = #.*/fga = #FF${RFG}/g" $PFILE - sed -i -e "s/ac = #.*/ac = #FF${AC}/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #${BG}FF; - fg: #${RFG}FF; - ac: #${AC}FF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--default" ]]; then - BG="212B30" - FG="C4C7C5" - RFG="C4C7C5" - AC="51B4FF" - change_color -elif [[ $1 = "--nord" ]]; then - BG="3B4252" - FG="E5E9F0" - RFG="E5E9F0" - AC="A3BE8C" - change_color -elif [[ $1 = "--gruvbox" ]]; then - BG="282828" - FG="EBDBB2" - RFG="EBDBB2" - AC="FB4934" - change_color -elif [[ $1 = "--dark" ]]; then - BG="141C21" - FG="f5f5f5" - RFG="f5f5f5" - AC="FFE744" - change_color -elif [[ $1 = "--cherry" ]]; then - BG="1F1626" - FG="FFFFFF" - RFG="FFFFFF" - AC="D94084" - change_color -elif [[ $1 = "--white" ]]; then - BG="FFFFFF" - FG="FFFFFF" - RFG="454545" - AC="1565C0" - change_color -elif [[ $1 = "--black" ]]; then - BG="0a0a0a" - FG="0a0a0a" - RFG="a0a0a0" - AC="40D8EB" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --default --nord --gruvbox --dark --cherry - --white --black - _EOF_ -fi diff --git a/config/polybar/pwidgets/system.ini b/config/polybar/pwidgets/system.ini deleted file mode 100644 index 2f1d98a..0000000 --- a/config/polybar/pwidgets/system.ini +++ /dev/null @@ -1,474 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=20;5" -font-1 = "Iosevka Nerd Font:bold:size=24;2" -font-2 = "Iosevka Nerd Font:size=12;2" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = alsa sep2 battery sep2 network sep2 sysmenu -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = ssid sep speed -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 3 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -format-volume = <ramp-volume> -format-muted = <label-muted> -label-muted = 婢 -label-muted-foreground = ${color.gray} - -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 奔 -ramp-volume-3 = 墳 -ramp-volume-4 = 墳 -ramp-volume-foreground = ${color.blue} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -full-at = 99 -battery = BAT1 -adapter = ACAD - -poll-interval = 2 -time-format = %H:%M - -format-charging = <animation-charging> -format-discharging = <ramp-capacity> - -format-full = <label-full> -format-full-foreground = ${color.red} - -label-full = - -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = -ramp-capacity-foreground = ${color.orange} - -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = -animation-charging-7 = -animation-charging-8 = -animation-charging-9 = -animation-charging-foreground = ${color.green} - -animation-charging-framerate = 750 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/network] -type = internal/network -interface = wlan0 - -interval = 1.0 -accumulate-stats = true -unknown-as-up = true - -format-connected = <label-connected> -format-connected-foreground = ${color.purple} -format-disconnected = <label-disconnected> -format-disconnected-foreground = ${color.gray} - -label-connected = "%{A1:networkmanager_dmenu &:}直%{A}" -label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/speed] -type = internal/network -interface = wlan0 - -interval = 1.0 -accumulate-stats = true -unknown-as-up = true - -format-connected = <label-connected> -format-connected-foreground = ${color.fg} -format-connected-font = 3 -format-disconnected = <label-disconnected> -format-disconnected-foreground = ${color.fg} -format-disconnected-font = 3 - -label-connected = "%downspeed%" -label-disconnected = NA - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/ssid] -type = internal/network -interface = wlan0 - -interval = 1.0 -accumulate-stats = true -unknown-as-up = true - -format-connected = <label-connected> -format-connected-font = 2 -format-connected-foreground = ${color.fg} -format-disconnected = <label-disconnected> -format-disconnected-foreground = ${color.fg} -format-disconnected-font = 2 - -label-connected = "%essid%" -label-disconnected = NA - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = 襤 - -content-foreground = ${color.red} -click-left = ~/.config/polybar/pwidgets/scripts/powermenu.sh & -click-right = ~/.config/polybar/pwidgets/scripts/style-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/pwidgets/workspace.ini b/config/polybar/pwidgets/workspace.ini deleted file mode 100644 index 26f439c..0000000 --- a/config/polybar/pwidgets/workspace.ini +++ /dev/null @@ -1,407 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/pwidgets/colors.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = true - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 230 -height = 60 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0 -offset-y = 0 - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.bg} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.fg} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 20.0 -radius-bottom = 20.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -line-size = 2 -line-color = ${color.ac} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-bottom-size = 0 -border-color = ${color.ac} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 2 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 1 -module-margin-right = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:size=18;5" -font-1 = "Iosevka Nerd Font:size=12;2" -font-2 = "Iosevka Nerd Font:bold:size=24;2" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/primary] -inherit = bar/main -offset-x = 25 -offset-y = 25 - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-center = workspaces -enable-ipc = true - -[bar/secondary] -inherit = bar/main -offset-x = 25 -offset-y = 75 -background = ${color.trans} -foreground = ${color.white} - -padding = 1 -module-margin-left = 0 -module-margin-right = 0 - -modules-left = name sep title -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -pin-workspaces = true -enable-click = true -enable-scroll = true - -;icon-0 = 1; -;icon-1 = 2; -;icon-2 = 3; -;icon-3 = 4; -;icon-4 = 5; -icon-default = " " - -format = <label-state> -format-padding = 0 - -label-active = " " -label-active-foreground = ${color.pink} -label-active-background = ${color.bg} - -label-occupied = " " -label-occupied-foreground = ${color.blue} -label-occupied-background = ${color.bg} - -label-urgent = " " -label-urgent-foreground = ${color.red} -label-urgent-background = ${color.bg} - -label-empty = " " -label-empty-foreground = ${color.gray} -label-empty-background = ${color.bg} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/name] -type = internal/xworkspaces - -format = <label-state> -format-foreground = ${color.fg} -format-font = 3 -format-padding = 0 - -label-active = "%name%" - -label-occupied = -label-urgent = -label-empty = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -format = <label> -format-foreground = ${color.fg} -format-font = 2 - -label = %title% -label-maxlen = 20 -label-empty = Desktop - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " -content-font = 2 - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -[module/sep2] -type = custom/text -content = " " - -;;content-background = #000 -content-foreground = ${color.fg} -;;content-padding = 4 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shades/bars.ini b/config/polybar/shades/bars.ini deleted file mode 100644 index 738e9da..0000000 --- a/config/polybar/shades/bars.ini +++ /dev/null @@ -1,522 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = 絛 -empty = 絛 -indicator = 雷 -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> -format-volume-background = ${color.shade6} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = 婢 -format-muted-background = ${color.shade6} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 墳 - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> -format-background = ${color.shade7} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " -format-charging-background = ${color.shade1} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " -format-discharging-background = ${color.shade1} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-background = ${color.shade1} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = "Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " -format-background = ${color.shade2} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " -format-mounted-background = ${color.shade4} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " -format-unmounted-background = ${color.shade4} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " -format-background = ${color.shade3} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = ﱘ -format-online-background = ${color.shade5} -format-online-padding = 2 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = ﱘ -format-offline-background = ${color.shade5} -format-offline-padding = 2 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = 喇 -icon-pause = -icon-stop = -icon-prev = -icon-next = -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.foreground} -toggle-off-foreground = ${color.background} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shades/colors.ini b/config/polybar/shades/colors.ini deleted file mode 100644 index 3e45ca9..0000000 --- a/config/polybar/shades/colors.ini +++ /dev/null @@ -1,29 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #1F1F1F -foreground = #FFFFFF -foreground-alt = #8F8F8F - -;; shades -shade1 = #0D47A1 -shade2 = #1565C0 -shade3 = #1976D2 -shade4 = #1E88E5 -shade5 = #2196F3 -shade6 = #42A5F5 -shade7 = #64B5F6 -shade8 = #90CAF9 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shades/config.ini b/config/polybar/shades/config.ini deleted file mode 100644 index 2f5a1bf..0000000 --- a/config/polybar/shades/config.ini +++ /dev/null @@ -1,293 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/shades/bars.ini -include-file = ~/.config/polybar/shades/colors.ini -include-file = ~/.config/polybar/shades/modules.ini -include-file = ~/.config/polybar/shades/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 98% -height = 36 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 1% -offset-y = 2% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Fantasque Sans Mono:pixelsize=12;3" -font-1 = "Iosevka Nerd Font:pixelsize=14;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = launcher workspaces google github reddit gmail twitter -modules-center = -modules-right = mpd updates alsa battery network date sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shades/launch.sh b/config/polybar/shades/launch.sh deleted file mode 100755 index 1e83ccb..0000000 --- a/config/polybar/shades/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/shades" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/shades/modules.ini b/config/polybar/shades/modules.ini deleted file mode 100644 index aaaa373..0000000 --- a/config/polybar/shades/modules.ini +++ /dev/null @@ -1,1116 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.shade6} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = 婢 -format-muted-background = ${color.shade6} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 墳 - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> -format-background = ${color.shade2} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> <label-charging> -format-charging-background = ${color.shade5} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> -format-discharging-background = ${color.shade5} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = -format-full-background = ${color.shade5} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = " Full" - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = -ramp-capacity-5 = -ramp-capacity-6 = -ramp-capacity-7 = -ramp-capacity-8 = -ramp-capacity-9 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = -animation-charging-5 = -animation-charging-6 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-background = ${color.shade3} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%%" - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p" - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y" - -; Available tags: -; <label> (default) -format = <label> -format-background = ${color.shade3} -format-padding = 2 - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-background = ${color.shade5} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-background = ${color.shade5} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-background = ${color.shade4} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used%" - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <toggle> <label-song> -;format-online-prefix = ﱘ -format-online-background = ${color.shade8} -format-online-foreground = #2E2E2E -format-online-padding = 2 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = ﱘ -format-offline-background = ${color.shade8} -format-offline-foreground = #2E2E2E -format-offline-padding = 2 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = "%artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = 喇 -icon-pause = -icon-stop = -icon-prev = -icon-next = -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.foreground} -toggle-off-foreground = ${color.background} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <ramp-signal> <label-connected> -format-connected-background = ${color.shade4} -format-connected-padding = 2 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = 睊 -format-disconnected-background = ${color.shade4} -format-disconnected-padding = 2 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%essid%%{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = 直 -ramp-signal-1 = 直 -ramp-signal-2 = 直 - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.shade3} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = 婢 -format-muted-background = ${color.shade3} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 墳 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> -format-background = ${color.shade6} -format-padding = 2 - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> -format-warn-background = ${color.shade6} -format-warn-foreground = ${color.background} -format-warn-padding = 2 - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = %temperature-c% - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c%" - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = -format-background = ${color.shade4} -format-padding = 2 - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -format-prefix = -format-background = ${color.shade2} -format-padding = 2 - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -;;label-empty = Arch Linux - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> -format-padding = 1 -format-background = ${color.shade2} - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = -label-active-foreground = ${color.foreground} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = -label-occupied-foreground = ${color.foreground} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = -label-urgent-foreground = ${color.background} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = - -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 -label-empty-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shades/preview.ini b/config/polybar/shades/preview.ini deleted file mode 100644 index 4d264d2..0000000 --- a/config/polybar/shades/preview.ini +++ /dev/null @@ -1,312 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/shades/bars.ini -include-file = ~/.config/polybar/shades/colors.ini -include-file = ~/.config/polybar/shades/modules.ini -include-file = ~/.config/polybar/shades/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 98% -height = 36 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 1% -offset-y = 2% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Fantasque Sans Mono:pixelsize=12;3" -font-1 = "Iosevka Nerd Font:pixelsize=14;4" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -modules-left = launcher workspaces google github reddit gmail twitter -modules-right = mpd updates alsa battery network date sysmenu -enable-ipc = true - -[bar/mid] -offset-y = 66 -inherit = bar/main -modules-center = battery_bar cpu_bar memory_bar filesystem_bar mpd_bar volume brightness -enable-ipc = true - -[bar/bottom] -inherit = bar/main -offset-y = 110 -modules-left = menu title cpu memory filesystem temperature -modules-right = color-switch keyboard pulseaudio backlight powermenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shades/preview.sh b/config/polybar/shades/preview.sh deleted file mode 100755 index 894e441..0000000 --- a/config/polybar/shades/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/shades" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/shades/scripts/checkupdates b/config/polybar/shades/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/shades/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/shades/scripts/color-switch.sh b/config/polybar/shades/scripts/color-switch.sh deleted file mode 100755 index 1ee69f8..0000000 --- a/config/polybar/shades/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/shades/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< "♥ amber|♥ blue|♥ blue-gray|♥ brown|♥ cyan|♥ deep-orange|\ -♥ deep-purple|♥ green|♥ gray|♥ indigo|♥ blue-light|♥ green-light|\ -♥ lime|♥ orange|♥ pink|♥ purple|♥ red|♥ teal|♥ yellow|♥ amber-dark|\ -♥ blue-dark|♥ blue-gray-dark|♥ brown-dark|♥ cyan-dark|♥ deep-orange-dark|\ -♥ deep-purple-dark|♥ green-dark|♥ gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/shades/scripts/colors-dark.sh b/config/polybar/shades/scripts/colors-dark.sh deleted file mode 100755 index 1eae896..0000000 --- a/config/polybar/shades/scripts/colors-dark.sh +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shades/colors.ini" -RFILE="$HOME/.config/polybar/shades/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #1F1F1F/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #8F8F8F/g' $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #1F1F1FFF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - bg4: ${SH5}FF; - fg: #FFFFFFFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - SH1="#FF6F00" SH2="#FF8F00" SH3="#FFA000" SH4="#FFB300" - SH5="#FFC107" SH6="#FFCA28" SH7="#FFD54F" SH8="#FFE082" - change_color -elif [[ $1 = "--blue" ]]; then - SH1="#0D47A1" SH2="#1565C0" SH3="#1976D2" SH4="#1E88E5" - SH5="#2196F3" SH6="#42A5F5" SH7="#64B5F6" SH8="#90CAF9" - change_color -elif [[ $1 = "--blue-gray" ]]; then - SH1="#263238" SH2="#37474F" SH3="#455A64" SH4="#546E7A" - SH5="#607D8B" SH6="#78909C" SH7="#90A4AE" SH8="#B0BEC5" - change_color -elif [[ $1 = "--brown" ]]; then - SH1="#3E2723" SH2="#4E342E" SH3="#5D4037" SH4="#6D4C41" - SH5="#795548" SH6="#8D6E63" SH7="#A1887F" SH8="#BCAAA4" - change_color -elif [[ $1 = "--cyan" ]]; then - SH1="#006064" SH2="#00838F" SH3="#0097A7" SH4="#00ACC1" - SH5="#00BCD4" SH6="#26C6DA" SH7="#4DD0E1" SH8="#80DEEA" - change_color -elif [[ $1 = "--deep-orange" ]]; then - SH1="#BF360C" SH2="#D84315" SH3="#E64A19" SH4="#F4511E" - SH5="#FF5722" SH6="#FF7043" SH7="#FF8A65" SH8="#FFAB91" - change_color -elif [[ $1 = "--deep-purple" ]]; then - SH1="#311B92" SH2="#4527A0" SH3="#512DA8" SH4="#5E35B1" - SH5="#673AB7" SH6="#7E57C2" SH7="#9575CD" SH8="#B39DDB" - change_color -elif [[ $1 = "--green" ]]; then - SH1="#1B5E20" SH2="#2E7D32" SH3="#388E3C" SH4="#43A047" - SH5="#4CAF50" SH6="#66BB6A" SH7="#81C784" SH8="#A5D6A7" - change_color -elif [[ $1 = "--gray" ]]; then - SH1="#212121" SH2="#424242" SH3="#616161" SH4="#757575" - SH5="#9E9E9E" SH6="#BDBDBD" SH7="#D4D4D4" SH8="#EEEEEE" - change_color -elif [[ $1 = "--indigo" ]]; then - SH1="#1A237E" SH2="#283593" SH3="#303F9F" SH4="#3949AB" - SH5="#3F51B5" SH6="#5C6BC0" SH7="#7986CB" SH8="#9FA8DA" - change_color -elif [[ $1 = "--light-blue" ]]; then - SH1="#01579B" SH2="#0277BD" SH3="#0288D1" SH4="#039BE5" - SH5="#03A9F4" SH6="#29B6F6" SH7="#4FC3F7" SH8="#81D4FA" - change_color -elif [[ $1 = "--light-green" ]]; then - SH1="#33691E" SH2="#558B2F" SH3="#689F38" SH4="#7CB342" - SH5="#8BC34A" SH6="#9CCC65" SH7="#AED581" SH8="#C5E1A5" - change_color -elif [[ $1 = "--lime" ]]; then - SH1="#827717" SH2="#9E9D24" SH3="#AFB42B" SH4="#C0CA33" - SH5="#CDDC39" SH6="#D4E157" SH7="#DCE775" SH8="#E6EE9C" - change_color -elif [[ $1 = "--orange" ]]; then - SH1="#E65100" SH2="#EF6C00" SH3="#F57C00" SH4="#FB8C00" - SH5="#FF9800" SH6="#FFA726" SH7="#FFB74D" SH8="#FFCC80" - change_color -elif [[ $1 = "--pink" ]]; then - SH1="#880E4F" SH2="#AD1457" SH3="#C2185B" SH4="#D81B60" - SH5="#E91E63" SH6="#EC407A" SH7="#F06292" SH8="#F48FB1" - change_color -elif [[ $1 = "--purple" ]]; then - SH1="#4A148C" SH2="#6A1B9A" SH3="#7B1FA2" SH4="#8E24AA" - SH5="#9C27B0" SH6="#AB47BC" SH7="#BA68C8" SH8="#CE93D8" - change_color -elif [[ $1 = "--red" ]]; then - SH1="#B71C1C" SH2="#C62828" SH3="#D32F2F" SH4="#E53935" - SH5="#EE413D" SH6="#EF5350" SH7="#E57373" SH8="#EF9A9A" - change_color -elif [[ $1 = "--teal" ]]; then - SH1="#004D40" SH2="#00695C" SH3="#00796B" SH4="#00897B" - SH5="#009688" SH6="#26A69A" SH7="#4DB6AC" SH8="#80CBC4" - change_color -elif [[ $1 = "--yellow" ]]; then - SH1="#F57F17" SH2="#F9A825" SH3="#FBC02D" SH4="#FDD835" - SH5="#FFEB3B" SH6="#FFEE58" SH7="#FFF176" SH8="#FFF59D" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/shades/scripts/colors-light.sh b/config/polybar/shades/scripts/colors-light.sh deleted file mode 100755 index c24eb6d..0000000 --- a/config/polybar/shades/scripts/colors-light.sh +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shades/colors.ini" -RFILE="$HOME/.config/polybar/shades/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #656565/g' $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - bg4: ${SH5}FF; - fg: #2E2E2EFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - SH1="#FF6F00" SH2="#FF8F00" SH3="#FFA000" SH4="#FFB300" - SH5="#FFC107" SH6="#FFCA28" SH7="#FFD54F" SH8="#FFE082" - change_color -elif [[ $1 = "--blue" ]]; then - SH1="#0D47A1" SH2="#1565C0" SH3="#1976D2" SH4="#1E88E5" - SH5="#2196F3" SH6="#42A5F5" SH7="#64B5F6" SH8="#90CAF9" - change_color -elif [[ $1 = "--blue-gray" ]]; then - SH1="#263238" SH2="#37474F" SH3="#455A64" SH4="#546E7A" - SH5="#607D8B" SH6="#78909C" SH7="#90A4AE" SH8="#B0BEC5" - change_color -elif [[ $1 = "--brown" ]]; then - SH1="#3E2723" SH2="#4E342E" SH3="#5D4037" SH4="#6D4C41" - SH5="#795548" SH6="#8D6E63" SH7="#A1887F" SH8="#BCAAA4" - change_color -elif [[ $1 = "--cyan" ]]; then - SH1="#006064" SH2="#00838F" SH3="#0097A7" SH4="#00ACC1" - SH5="#00BCD4" SH6="#26C6DA" SH7="#4DD0E1" SH8="#80DEEA" - change_color -elif [[ $1 = "--deep-orange" ]]; then - SH1="#BF360C" SH2="#D84315" SH3="#E64A19" SH4="#F4511E" - SH5="#FF5722" SH6="#FF7043" SH7="#FF8A65" SH8="#FFAB91" - change_color -elif [[ $1 = "--deep-purple" ]]; then - SH1="#311B92" SH2="#4527A0" SH3="#512DA8" SH4="#5E35B1" - SH5="#673AB7" SH6="#7E57C2" SH7="#9575CD" SH8="#B39DDB" - change_color -elif [[ $1 = "--green" ]]; then - SH1="#1B5E20" SH2="#2E7D32" SH3="#388E3C" SH4="#43A047" - SH5="#4CAF50" SH6="#66BB6A" SH7="#81C784" SH8="#A5D6A7" - change_color -elif [[ $1 = "--gray" ]]; then - SH1="#212121" SH2="#424242" SH3="#616161" SH4="#757575" - SH5="#9E9E9E" SH6="#BDBDBD" SH7="#D4D4D4" SH8="#EEEEEE" - change_color -elif [[ $1 = "--indigo" ]]; then - SH1="#1A237E" SH2="#283593" SH3="#303F9F" SH4="#3949AB" - SH5="#3F51B5" SH6="#5C6BC0" SH7="#7986CB" SH8="#9FA8DA" - change_color -elif [[ $1 = "--light-blue" ]]; then - SH1="#01579B" SH2="#0277BD" SH3="#0288D1" SH4="#039BE5" - SH5="#03A9F4" SH6="#29B6F6" SH7="#4FC3F7" SH8="#81D4FA" - change_color -elif [[ $1 = "--light-green" ]]; then - SH1="#33691E" SH2="#558B2F" SH3="#689F38" SH4="#7CB342" - SH5="#8BC34A" SH6="#9CCC65" SH7="#AED581" SH8="#C5E1A5" - change_color -elif [[ $1 = "--lime" ]]; then - SH1="#827717" SH2="#9E9D24" SH3="#AFB42B" SH4="#C0CA33" - SH5="#CDDC39" SH6="#D4E157" SH7="#DCE775" SH8="#E6EE9C" - change_color -elif [[ $1 = "--orange" ]]; then - SH1="#E65100" SH2="#EF6C00" SH3="#F57C00" SH4="#FB8C00" - SH5="#FF9800" SH6="#FFA726" SH7="#FFB74D" SH8="#FFCC80" - change_color -elif [[ $1 = "--pink" ]]; then - SH1="#880E4F" SH2="#AD1457" SH3="#C2185B" SH4="#D81B60" - SH5="#E91E63" SH6="#EC407A" SH7="#F06292" SH8="#F48FB1" - change_color -elif [[ $1 = "--purple" ]]; then - SH1="#4A148C" SH2="#6A1B9A" SH3="#7B1FA2" SH4="#8E24AA" - SH5="#9C27B0" SH6="#AB47BC" SH7="#BA68C8" SH8="#CE93D8" - change_color -elif [[ $1 = "--red" ]]; then - SH1="#B71C1C" SH2="#C62828" SH3="#D32F2F" SH4="#E53935" - SH5="#EE413D" SH6="#EF5350" SH7="#E57373" SH8="#EF9A9A" - change_color -elif [[ $1 = "--teal" ]]; then - SH1="#004D40" SH2="#00695C" SH3="#00796B" SH4="#00897B" - SH5="#009688" SH6="#26A69A" SH7="#4DB6AC" SH8="#80CBC4" - change_color -elif [[ $1 = "--yellow" ]]; then - SH1="#F57F17" SH2="#F9A825" SH3="#FBC02D" SH4="#FDD835" - SH5="#FFEB3B" SH6="#FFEE58" SH7="#FFF176" SH8="#FFF59D" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/shades/scripts/launcher.sh b/config/polybar/shades/scripts/launcher.sh deleted file mode 100755 index da98d41..0000000 --- a/config/polybar/shades/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/shades/scripts/rofi/launcher.rasi diff --git a/config/polybar/shades/scripts/powermenu.sh b/config/polybar/shades/scripts/powermenu.sh deleted file mode 100755 index 370115e..0000000 --- a/config/polybar/shades/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/shades/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/shades/scripts/pywal.sh b/config/polybar/shades/scripts/pywal.sh deleted file mode 100755 index 4726fe9..0000000 --- a/config/polybar/shades/scripts/pywal.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shades/colors.ini" -RFILE="$HOME/.config/polybar/shades/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - bg4: ${SH5}FF; - fg: ${FG}FF; - } - EOF - - polybar-msg cmd restart -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$foreground"` - FGA=`printf "%s\n" "$color8"` - SH1=`printf "%s\n" "$color1"` - SH2=`printf "%s\n" "$color2"` - SH3=`printf "%s\n" "$color1"` - SH4=`printf "%s\n" "$color2"` - SH5=`printf "%s\n" "$color1"` - SH6=`printf "%s\n" "$color2"` - SH7=`printf "%s\n" "$color1"` - SH8=`printf "%s\n" "$color7"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/shades/scripts/random.sh b/config/polybar/shades/scripts/random.sh deleted file mode 100755 index ad85004..0000000 --- a/config/polybar/shades/scripts/random.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shades/colors.ini" -RFILE="$HOME/.config/polybar/shades/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - bg4: ${SH5}FF; - fg: ${FG}FF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -# Main -BG='#1f1f1f' # change to light bg -FG='#FFFFFF' # change to dark fg -FGA='#656565' # change to gray fg -SH1=`get_random_color` -SH2=`get_random_color` -SH3=`get_random_color` -SH4=`get_random_color` -SH5=`get_random_color` -SH6=`get_random_color` -SH7=`get_random_color` -SH8=`get_random_color` - -change_color diff --git a/config/polybar/shades/scripts/rofi/colors.rasi b/config/polybar/shades/scripts/rofi/colors.rasi deleted file mode 100644 index 48250a4..0000000 --- a/config/polybar/shades/scripts/rofi/colors.rasi +++ /dev/null @@ -1,11 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #1F1F1FFF; - bg1: #1565C0FF; - bg2: #1976D2FF; - bg3: #1E88E5FF; - bg4: #2196F3FF; - fg: #FFFFFFFF; -} diff --git a/config/polybar/shades/scripts/rofi/confirm.rasi b/config/polybar/shades/scripts/rofi/confirm.rasi deleted file mode 100644 index a4902de..0000000 --- a/config/polybar/shades/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Fantasque Sans Mono 10"; -} - -window { - width: 225px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @bg1; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @bg1; -} diff --git a/config/polybar/shades/scripts/rofi/launcher.rasi b/config/polybar/shades/scripts/rofi/launcher.rasi deleted file mode 100644 index a0b3ad4..0000000 --- a/config/polybar/shades/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,120 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 550px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg1; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -entry { - background-color: @bg2; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 12px 10px 10px 10px; - margin: 0px 250px 0px 0px; - border-radius: 0px 50px 50px 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg3; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 2; - lines: 7; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg4; - text-color: @bg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/shades/scripts/rofi/message.rasi b/config/polybar/shades/scripts/rofi/message.rasi deleted file mode 100644 index d27bd59..0000000 --- a/config/polybar/shades/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Fantasque Sans Mono 10"; -} - -window { - width: 320px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @bg1; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @bg2; -} diff --git a/config/polybar/shades/scripts/rofi/networkmenu.rasi b/config/polybar/shades/scripts/rofi/networkmenu.rasi deleted file mode 100644 index dbbd026..0000000 --- a/config/polybar/shades/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg2; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @bg1; - text-color: #FFFFFF; - expand: false; - str: "直"; -} - -entry { - background-color: @bg3; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 12px 10px 10px 10px; - margin: 0px 250px 0px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg2; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/shades/scripts/rofi/powermenu.rasi b/config/polybar/shades/scripts/rofi/powermenu.rasi deleted file mode 100644 index 6e61be3..0000000 --- a/config/polybar/shades/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg2; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @bg1; - text-color: #FFFFFF; - expand: false; - str: ""; -} - -entry { - background-color: @bg3; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 12px 10px 10px 10px; - margin: 0px 250px 0px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg2; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/shades/scripts/rofi/styles.rasi b/config/polybar/shades/scripts/rofi/styles.rasi deleted file mode 100644 index 817875f..0000000 --- a/config/polybar/shades/scripts/rofi/styles.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fantasque Sans Mono 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg1; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -entry { - background-color: @bg2; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 12px 10px 10px 10px; - margin: 0px 0px 0px 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg1; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -16px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px; - border-radius: 0px; - border-color: @bg; -} diff --git a/config/polybar/shades/scripts/updates.sh b/config/polybar/shades/scripts/updates.sh deleted file mode 100755 index 14984ce..0000000 --- a/config/polybar/shades/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/shades/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/shades/user_modules.ini b/config/polybar/shades/user_modules.ini deleted file mode 100644 index 4451dc1..0000000 --- a/config/polybar/shades/user_modules.ini +++ /dev/null @@ -1,236 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/shades/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-background = ${color.shade7} -format-padding = 2 - -; Available tokens: -; %output% -; Default: %output% -label = %output% - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = - -; "content" has the same properties as "format-NAME" -content-background = ${color.shade1} -content-foreground = ${color.foreground} -content-padding = 2 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/shades/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/shades/scripts/launcher-full -click-right = ~/.config/polybar/shades/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/shades/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/shades/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = 襤 - -content-background = ${color.shade2} -content-foreground = ${color.foreground} -content-padding = 2 - -click-left = ~/.config/polybar/shades/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = - -content-background = ${color.background} -content-foreground = ${color.shade8} -content-padding = 2 - -click-left = ~/.config/polybar/shades/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/links] -type = custom/text -content-foreground = ${color.foreground-alt} -content-padding = 2 - -[module/google] -inherit = module/links -content = -click-left = exo-open https://www.google.com/ & - -[module/github] -inherit = module/links -content = -click-left = exo-open https://www.github.com/ & - -[module/reddit] -inherit = module/links -content = -click-left = exo-open https://www.reddit.com/ & - -[module/gmail] -inherit = module/links -content = -click-left = exo-open https://mail.google.com/ & - -[module/twitter] -inherit = module/links -content = -click-left = exo-open https://www.twitter.com/ & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.shade1} -format-foreground = ${color.foreground} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/shades/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.shade1} -format-foreground = ${color.foreground} -format-padding = 2 - -label-open = -label-close = - -; Optional item separator -; Default: none -label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/bars.ini b/config/polybar/shapes/bars.ini deleted file mode 100644 index 13391c0..0000000 --- a/config/polybar/shapes/bars.ini +++ /dev/null @@ -1,522 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = -empty = -indicator = ⏽ -; Nerd font : , ⏽, 樂 籠 錄 , 雷 絛 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <bar-volume> -format-volume-background = ${color.shade1} -format-volume-padding = 2 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = 婢 -format-muted-background = ${color.shade1} -format-muted-padding = 2 - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% - -; Available tokens: -; %percentage% (default -label-muted = " Muted" -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 墳 - -; Only applies if <bar-volume> is used -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.foreground} - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <bar> -format-background = ${color.shade2} -format-padding = 2 - -; Available tokens: -; %percentage% (default) -label = %percentage%% - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -; Only applies if <bar> is used -bar-width = 10 -bar-gradient = false - -bar-indicator = ${bar.indicator} -bar-indicator-foreground = ${color.foreground} - -bar-fill = ${bar.fill} -bar-foreground-0 = ${color.foreground} -bar-foreground-1 = ${color.foreground} -bar-foreground-2 = ${color.foreground} - -bar-empty = ${bar.empty} -bar-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery_bar] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <bar-capacity> -format-charging-prefix = " " -format-charging-background = ${color.shade3} -format-charging-padding = 2 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <bar-capacity> -format-discharging-prefix = " " -format-discharging-background = ${color.shade3} -format-discharging-padding = 2 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = " " -format-full-background = ${color.shade3} -format-full-padding = 2 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) - -label-charging = %percentage%% - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = %percentage%% - -; Available tokens: -; %percentage% (default) -label-full = "Full" - -; Only applies if <bar-capacity> is used -bar-capacity-width = 10 -bar-capacity-gradient = false - -bar-capacity-indicator = ${bar.indicator} -bar-capacity-indicator-foreground = ${color.foreground} - -bar-capacity-fill = ${bar.fill} -bar-capacity-foreground-0 = ${color.foreground} -bar-capacity-foreground-1 = ${color.foreground} -bar-capacity-foreground-2 = ${color.foreground} - -bar-capacity-empty = ${bar.empty} -bar-capacity-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu_bar] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <bar-load> <label> -format-prefix = " " -format-background = ${color.shade7} -format-padding = 2 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = "%percentage%%" - -; Only applies if <bar-load> is used -bar-load-width = 10 -bar-load-gradient = false - -bar-load-indicator = ${bar.indicator} -bar-load-indicator-foreground = ${color.foreground} - -bar-load-fill = ${bar.fill} -bar-load-foreground-0 = ${color.foreground} -bar-load-foreground-1 = ${color.foreground} -bar-load-foreground-2 = ${color.foreground} - -bar-load-empty = ${bar.empty} -bar-load-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem_bar] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = false - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <bar-used> <label-mounted> -format-mounted-prefix = " " -format-mounted-background = ${color.shade5} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = " " -format-unmounted-background = ${color.shade5} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %used%/%total% - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = "%mountpoint%: not mounted" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory_bar] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 2 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <bar-used> <label> -format-prefix = " " -format-background = ${color.shade6} -format-padding = 2 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = "%mb_used%" - -; Only applies if <bar-used> is used -bar-used-width = 10 -bar-used-gradient = false - -bar-used-indicator = ${bar.indicator} -bar-used-indicator-foreground = ${color.foreground} - -bar-used-fill = ${bar.fill} -bar-used-foreground-0 = ${color.foreground} -bar-used-foreground-1 = ${color.foreground} -bar-used-foreground-2 = ${color.foreground} - -bar-used-empty = ${bar.empty} -bar-used-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd_bar] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <bar-progress> <label-time> -format-online-prefix = ﱘ -format-online-background = ${color.shade4} -format-online-padding = 2 - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = ﱘ -format-offline-background = ${color.shade4} -format-offline-padding = 2 - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = 喇 -icon-pause = -icon-stop = -icon-prev = -icon-next = -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.foreground} -toggle-off-foreground = ${color.background} - -; Only applies if <bar-progress> is used -bar-progress-width = 10 -bar-progress-gradient = false - -bar-progress-indicator = ${bar.indicator} -bar-progress-indicator-foreground = ${color.foreground} - -bar-progress-fill = ${bar.fill} -bar-progress-foreground-0 = ${color.foreground} -bar-progress-foreground-1 = ${color.foreground} -bar-progress-foreground-2 = ${color.foreground} - -bar-progress-empty = ${bar.empty} -bar-progress-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/colors.ini b/config/polybar/shapes/colors.ini deleted file mode 100644 index 67db5bf..0000000 --- a/config/polybar/shapes/colors.ini +++ /dev/null @@ -1,29 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[color] - -;; Use pywal.sh in scripts directory to use colors from an image/wallpaper. - -;; main colors -background = #1F1F1F -foreground = #FFFFFF -foreground-alt = #FFFFFF - -;; shades -shade1 = #0D47A1 -shade2 = #1565C0 -shade3 = #1976D2 -shade4 = #1E88E5 -shade5 = #2196F3 -shade6 = #42A5F5 -shade7 = #64B5F6 -shade8 = #90CAF9 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/config.ini b/config/polybar/shapes/config.ini deleted file mode 100644 index 3bbe233..0000000 --- a/config/polybar/shapes/config.ini +++ /dev/null @@ -1,294 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/shapes/bars.ini -include-file = ~/.config/polybar/shapes/colors.ini -include-file = ~/.config/polybar/shapes/glyphs.ini -include-file = ~/.config/polybar/shapes/modules.ini -include-file = ~/.config/polybar/shapes/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 32 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;3" -font-1 = "Iosevka Nerd Font:style=Medium:size=22;5" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -modules-left = launcher left1 title left2 -modules-center = workspaces sep mpd -modules-right = right7 color-switch right6 updates right5 alsa right4 battery right3 network right2 date right1 sysmenu - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/glyphs.ini b/config/polybar/shapes/glyphs.ini deleted file mode 100644 index 0f8cc07..0000000 --- a/config/polybar/shapes/glyphs.ini +++ /dev/null @@ -1,79 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█░░░█░█░█▀█░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░░░░█░░█▀▀░█▀█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░░▀░░▀░░░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[glyph] -gleft = -gright = - -[module/left1] -type = custom/text -content-background = ${color.shade2} -content-foreground = ${color.shade1} -content = ${glyph.gleft} -content-font = 2 - -[module/left2] -type = custom/text -content-background = ${color.background} -content-foreground = ${color.shade2} -content = ${glyph.gleft} -content-font = 2 - -# ================================== - -[module/right1] -type = custom/text -content-background = ${color.shade2} -content-foreground = ${color.shade1} -content = ${glyph.gright} -content-font = 2 - -[module/right2] -type = custom/text -content-background = ${color.shade3} -content-foreground = ${color.shade2} -content = ${glyph.gright} -content-font = 2 - -[module/right3] -type = custom/text -content-background = ${color.shade4} -content-foreground = ${color.shade3} -content = ${glyph.gright} -content-font = 2 - -[module/right4] -type = custom/text -content-background = ${color.shade5} -content-foreground = ${color.shade4} -content = ${glyph.gright} -content-font = 2 - -[module/right5] -type = custom/text -content-background = ${color.shade6} -content-foreground = ${color.shade5} -content = ${glyph.gright} -content-font = 2 - -[module/right6] -type = custom/text -content-background = ${color.shade7} -content-foreground = ${color.shade6} -content = ${glyph.gright} -content-font = 2 - -[module/right7] -type = custom/text -content-background = ${color.background} -content-foreground = ${color.shade7} -content = ${glyph.gright} -content-font = 2 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/launch.sh b/config/polybar/shapes/launch.sh deleted file mode 100755 index 76e1ff2..0000000 --- a/config/polybar/shapes/launch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Add this script to your wm startup file. - -DIR="$HOME/.config/polybar/shapes" - -# 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 the bar -polybar -q main -c "$DIR"/config.ini & diff --git a/config/polybar/shapes/modules.ini b/config/polybar/shapes/modules.ini deleted file mode 100644 index 9fe4051..0000000 --- a/config/polybar/shapes/modules.ini +++ /dev/null @@ -1,1105 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/alsa] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.shade5} -format-volume-padding = 1 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = 婢 -format-muted-background = ${color.shade5} -format-muted-padding = 1 - -; Available tokens: -; %percentage% (default) -label-volume = "%percentage%% " - -; Available tokens: -; %percentage% (default -label-muted = " Muted " -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 墳 - -; If defined, it will replace <ramp-volume> when -; headphones are plugged in to `headphone_control_numid` -; If undefined, <ramp-volume> will be used for both -; Only applies if <ramp-volume> is used -ramp-headphones-0 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/backlight] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -; <label> (default) -; <ramp> -; <bar> -format = <ramp> <label> -format-background = ${color.shade2} -format-padding = 1 - -; Available tokens: -; %percentage% (default) -label = "%percentage%% " - -; Only applies if <ramp> is used -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -full-at = 99 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT1 -adapter = ACAD - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 2 - -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S -time-format = %H:%M - -; Available tags: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> -format-charging = <animation-charging> <label-charging> -format-charging-background = ${color.shade4} -format-charging-padding = 1 - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> -format-discharging = <ramp-capacity> <label-discharging> -format-discharging-background = ${color.shade4} -format-discharging-padding = 1 - -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -format-full = <label-full> -format-full-prefix = -format-full-background = ${color.shade4} -format-full-padding = 1 - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = "%percentage%% " - -; Available tokens: -; %percentage% (default) -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = "%percentage%% " - -; Available tokens: -; %percentage% (default) -label-full = " Full " - -; Only applies if <ramp-capacity> is used -ramp-capacity-0 = -ramp-capacity-1 = -ramp-capacity-2 = -ramp-capacity-3 = -ramp-capacity-4 = - -; Only applies if <bar-capacity> is used -;bar-capacity-width = 10 - -; Only applies if <animation-charging> is used -animation-charging-0 = -animation-charging-1 = -animation-charging-2 = -animation-charging-3 = -animation-charging-4 = - -; Framerate in milliseconds -animation-charging-framerate = 750 - -; Only applies if <animation-discharging> is used -;;animation-discharging-0 = ${battery.anim0} -;;animation-discharging-1 = ${battery.anim1} - -; Framerate in milliseconds -;animation-discharging-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/bspwm] -;;type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -;;inline-mode = false - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> -; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> -; Default: <label-state> -;;format = <label-state> <label-mode> - -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% - -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 - -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires <label-mode> -; -; Available tokens: -; None -;label-monocle = -;label-tiled = -;label-fullscreen = -;label-floating = -;label-pseudotiled = P -;label-locked = -;label-locked-foreground = #bd2c40 -;label-sticky = -;label-sticky-foreground = #fba922 -;label-private = -;label-private-foreground = #bd2c40 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/cpu] -type = internal/cpu - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-load> -; <ramp-load> -; <ramp-coreload> -;;format = <label> <ramp-coreload> -format = <label> -format-prefix = -format-background = ${color.shade6} -format-padding = 1 - -; Available tokens: -; %percentage% (default) - total cpu load averaged over all cores -; %percentage-sum% - Cumulative load on all cores -; %percentage-cores% - load percentage for each core -; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage%% " - -; Spacing between individual per-core ramps -;;ramp-coreload-spacing = 1 -;;ramp-coreload-0 = ${cpu.load0} -;;ramp-coreload-1 = ${cpu.load1} - -;;ramp-load-0 = ${cpu.load0} -;;ramp-load-1 = ${cpu.load1} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/date] -type = internal/date - -; Seconds to sleep between updates -interval = 1.0 - -; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string -; NOTE: if you want to use syntax tags here you need to use %%{...} -;;date = %Y-%m-%d% - -; Optional time format -time = " %I:%M %p " - -; if `date-alt` or `time-alt` is defined, clicking -; the module will toggle between formats -;;date-alt = %A, %d %B %Y -time-alt = " %a, %d %b %Y " - -; Available tags: -; <label> (default) -format = <label> -format-background = ${color.shade2} -format-padding = 1 - -; Available tokens: -; %date% -; %time% -; Default: %date% -label = %time% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/filesystem] -type = internal/fs - -; Mountpoints to display -mount-0 = / -;;mount-1 = /home -;;mount-2 = /var - -; Seconds to sleep between updates -; Default: 30 -interval = 30 - -; Display fixed precision values -; Default: false -fixed-values = true - -; Spacing between entries -; Default: 2 -;;spacing = 4 - -; Available tags: -; <label-mounted> (default) -; <bar-free> -; <bar-used> -; <ramp-capacity> -format-mounted = <label-mounted> -format-mounted-prefix = -format-mounted-background = ${color.shade2} -format-mounted-padding = 2 - -; Available tags: -; <label-unmounted> (default) -format-unmounted = <label-unmounted> -format-unmounted-prefix = -format-unmounted-background = ${color.shade2} -format-unmounted-padding = 2 - -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = " %free%" - -; Available tokens: -; %mountpoint% -; Default: %mountpoint% is not mounted -label-unmounted = " %mountpoint%: not mounted" - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/github] -;;type = internal/github - -; Accessing an access token stored in file -;;token = ${file:/path/to/file/containing/github/access.token} - -; Accessing an access token stored in an environment variable -;;token = ${env:GITHUB_ACCESS_TOKEN} - -; Whether empty notifications should be displayed or not -;;empty-notifications = false - -; Number of seconds in between requests -;;interval = 10 - -; Available tags: -; <label> (default) -;;format = <label> -;;format-prefix = - -; Available tokens: -; %notifications% (default) -; Default: Notifications: %notifications% -;;label = %notifications% - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;;[module/i3] -;;type = internal/i3 - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -;;pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -;;strip-wsnumbers = true - -; Sort the workspaces by index instead of the default -; sorting that groups the workspaces by output -; Default: false -;;index-sort = true - -; Create click handler used to focus workspace -; Default: true -;;enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false - -; Wrap around when reaching the first/last workspace -; Default: true -;;wrapping-scroll = false - -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true - -; ws-icon-[0-9]+ = label;icon -; NOTE: The label needs to match the name of the i3 workspace -;;ws-icon-0 = 1;♚ -;;ws-icon-1 = 2;♛ -;;ws-icon-2 = 3;♜ -;;ws-icon-3 = 4;♝ -;;ws-icon-4 = 5;♞ -;;ws-icon-default = ♟ -; NOTE: You cannot skip icons, e.g. to get a ws-icon-6 -; you must also define a ws-icon-5. - -; Available tags: -; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> -; <label-mode> (default) -;;format = <label-state> <label-mode> - -; Available tokens: -; %mode% -; Default: %mode% -;;label-mode = %mode% -;;label-mode-padding = 2 -;;label-mode-background = #e60053 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-focused = %index% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 -;;label-focused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-unfocused = %index% -;;label-unfocused-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-visible = %index% -;;label-visible-underline = #555555 -;;label-visible-padding = 4 - -; Available tokens: -; %name% -; %icon% -; %index% -; %output% -; Default: %icon% %name% -;;label-urgent = %index% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-padding = 4 - -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/memory] -type = internal/memory - -; Seconds to sleep between updates -; Default: 1 -interval = 1 - -; Available tags: -; <label> (default) -; <bar-used> -; <bar-free> -; <ramp-used> -; <ramp-free> -; <bar-swap-used> -; <bar-swap-free> -; <ramp-swap-used> -; <ramp-swap-free> -format = <label> -format-prefix = -format-background = ${color.shade5} -format-padding = 1 - -; Available tokens: -; %percentage_used% (default) -; %percentage_free% -; %gb_used% -; %gb_free% -; %gb_total% -; %mb_used% -; %mb_free% -; %mb_total% -; %percentage_swap_used% -; %percentage_swap_free% -; %mb_swap_total% -; %mb_swap_free% -; %mb_swap_used% -; %gb_swap_total% -; %gb_swap_free% -; %gb_swap_used% - -label = " %mb_used% " - -; Only applies if <ramp-used> is used -;;ramp-used-0 = ${memory.used0} -;;ramp-used-1 = ${memory.used1} -;;ramp-used-2 = ${memory.used2} - -; Only applies if <ramp-free> is used -;;ramp-free-0 = ${memory.free0} -;;ramp-free-1 = ${memory.free1} -;;ramp-free-2 = ${memory.free2} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/mpd] -type = internal/mpd - -; Host where mpd is running (either ip or domain name) -; Can also be the full path to a unix socket where mpd is running. -;;host = 127.0.0.1 -;;port = 6600 -;;password = mysecretpassword - -; Seconds to sleep between progressbar/song timer sync -; Default: 1 -interval = 1 - -; Available tags: -; <label-song> (default) -; <label-time> -; <bar-progress> -; <toggle> - gets replaced with <icon-(pause|play)> -; <toggle-stop> - gets replaced with <icon-(stop|play)> -; <icon-random> -; <icon-repeat> -; <icon-repeatone> (deprecated) -; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> -; <icon-consume> -; <icon-prev> -; <icon-stop> -; <icon-play> -; <icon-pause> -; <icon-next> -; <icon-seekb> -; <icon-seekf> -format-online = <label-song> <icon-prev> <toggle> <icon-next> -format-online-prefix = -format-online-foreground = ${color.foreground-alt} - -;format-playing = ${self.format-online} -;format-paused = ${self.format-online} -;format-stopped = ${self.format-online} - -; Available tags: -; <label-offline> -format-offline = <label-offline> -format-offline-prefix = -format-offline-foreground = ${color.foreground-alt} - -; Available tokens: -; %artist% -; %album-artist% -; %album% -; %date% -; %title% -; Default: %artist% - %title% -label-song = " %artist% - %title%" -label-song-maxlen = 25 -label-song-ellipsis = true - -; Available tokens: -; %elapsed% -; %total% -; Default: %elapsed% / %total% -label-time = %elapsed% / %total% - -; Available tokens: -; None -label-offline = " Offline" - -; Only applies if <icon-X> is used -icon-play = 契 -icon-pause = -icon-stop = 栗 -icon-prev = 玲 -icon-next = 怜 -icon-seekb = -icon-seekf = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = -icon-consume = - -; Used to display the state of random/repeat/repeatone/single -; Only applies if <icon-[random|repeat|repeatone|single]> is used -toggle-on-foreground = ${color.foreground} -toggle-off-foreground = ${color.background} - -; Only applies if <bar-progress> is used -;;bar-progress-width = 45 -;;bar-progress-indicator = | -;;bar-progress-fill = ─ -;;bar-progress-empty = ─ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; If you use both a wired and a wireless network, just add 2 module definitions. For example -[module/wired-network] -type = internal/network -interface = eth0 - -[module/wireless-network] -type = internal/network -interface = wlp3s0 - -; Normal Module -[module/network] -type = internal/network -interface = wlan0 - -; Seconds to sleep between updates -; Default: 1 -interval = 1.0 - -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 - -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -;;udspeed-minwidth = 5 - -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true - -; Consider an `UNKNOWN` interface state as up. -; Some devices have an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Available tags: -; <label-connected> (default) -; <ramp-signal> -format-connected = <ramp-signal> <label-connected> -format-connected-background = ${color.shade3} -format-connected-padding = 1 - -; Available tags: -; <label-disconnected> (default) -format-disconnected = <label-disconnected> -format-disconnected-prefix = ﲁ -format-disconnected-background = ${color.shade3} -format-disconnected-padding = 1 - -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -;;format-packetloss = <animation-packetloss> <label-connected> - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: %ifname% %local_ip% -label-connected = "%{A1:networkmanager_dmenu &:}%essid% %{A}" - -; Available tokens: -; %ifname% [wireless+wired] -; Default: (none) -label-disconnected = "%{A1:networkmanager_dmenu &:} Offline %{A}" -;;label-disconnected-foreground = #66ffffff - -; Available tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa - -; Only applies if <ramp-signal> is used -ramp-signal-0 = 說 -ramp-signal-1 = 說 -ramp-signal-2 = 說 - -; Only applies if <animation-packetloss> is used -;;animation-packetloss-0 = ⚠ -;;animation-packetloss-0-foreground = #ffa64c -;;animation-packetloss-1 = ⚠ -;;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;;animation-packetloss-framerate = 500 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/pulseaudio] -type = internal/pulseaudio - -; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) -; If not, uses default sink -sink = alsa_output.pci-0000_03_00.6.analog-stereo - -; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false -; Default: true -use-ui-max = false - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; <label-volume> (default) -; <ramp-volume> -; <bar-volume> -format-volume = <ramp-volume> <label-volume> -format-volume-background = ${color.shade3} -format-volume-padding = 1 - -; Available tags: -; <label-muted> (default) -; <ramp-volume> -; <bar-volume> -format-muted = <label-muted> -format-muted-prefix = 婢 -format-muted-background = ${color.shade3} -format-muted-padding = 1 - -; Available tokens: -; %percentage% (default) -label-volume = "%percentage%% " - -; Available tokens: -; %percentage% (default -label-muted = " Muted " -label-muted-foreground = ${color.foreground} - -; Only applies if <ramp-volume> is used -ramp-volume-0 = 奄 -ramp-volume-1 = 奔 -ramp-volume-2 = 墳 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input -hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 65 - -; Whether or not to show units next to the temperature tokens (°C, °F) -; Default: true -units = true - -; Available tags: -; <label> (default) -; <ramp> -format = <ramp> <label> -format-background = ${color.shade4} -format-padding = 1 - -; Available tags: -; <label-warn> (default) -; <ramp> -format-warn = <ramp> <label-warn> -format-warn-background = ${color.shade4} -format-warn-foreground = ${color.background} -format-warn-padding = 1 - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label = "%temperature-c% " - -; Available tokens: -; %temperature% (deprecated) -; %temperature-c% (default, temperature in °C) -; %temperature-f% (temperature in °F) -label-warn = "%temperature-c% " - -; Requires the <ramp> tag -; The icon selection will range from 0 to `warn-temperature` -; with the current temperature as index. -ramp-0 = -ramp-1 = -ramp-2 = -ramp-3 = -ramp-4 = - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/keyboard] -type = internal/xkeyboard - -; List of indicators to ignore -blacklist-0 = num lock -blacklist-1 = scroll lock - -; Available tags: -; <label-layout> (default) -; <label-indicator> (default) -format = <label-layout> <label-indicator> -format-prefix = -format-background = ${color.shade7} -format-padding = 1 - -; Available tokens: -; %layout% -; %name% -; %number% -; Default: %layout% -label-layout = " %layout%" - -; Available tokens: -; %name% -; Default: %name% -label-indicator-on = %name% -label-indicator-on-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/title] -type = internal/xwindow - -; Available tags: -; <label> (default) -format = <label> -;format-prefix = -format-background = ${color.shade2} -format-padding = 1 - -; Available tokens: -; %title% -; Default: %title% -label = " %title%" -label-maxlen = 30 - -; Used instead of label when there is no window title -label-empty = " Desktop" -label-empty-foreground = ${color.foreground} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/workspaces] -type = internal/xworkspaces - -; Only show workspaces defined on the same output as the bar -; -; Useful if you want to show monitor specific workspaces -; on different bars -; -; Default: false -pin-workspaces = true - -; Create click handler used to focus desktop -; Default: true -enable-click = true - -; Create scroll handlers used to cycle desktops -; Default: true -enable-scroll = true - -; icon-[0-9]+ = <desktop-name>;<icon> -; NOTE: The desktop name needs to match the name configured by the WM -; You can get a list of the defined desktops using: -; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; -icon-1 = 2; -icon-2 = 3; -icon-3 = 4; -icon-4 = 5; -icon-default = - - -; Available tags: -; <label-monitor> -; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> -; Default: <label-state> -format = <label-state> - -; Available tokens: -; %name% -; Default: %name% -label-monitor = %name% - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-active = -label-active-foreground = ${color.foreground-alt} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-occupied = -label-occupied-foreground = ${color.foreground-alt} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-urgent = -label-urgent-foreground = ${color.shade2} - -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -label-empty = -label-empty-foreground = ${color.foreground-alt} - -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 -label-empty-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/preview.ini b/config/polybar/shapes/preview.ini deleted file mode 100644 index 6155ef7..0000000 --- a/config/polybar/shapes/preview.ini +++ /dev/null @@ -1,315 +0,0 @@ -;; ┌────────────────────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀█░█▀▄░█▀▀░█░█░▀█▀░█▀▀░█░█░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▀░█▀▄░█▀▀░▀▄▀░░█░░█▀▀░█▄█░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Global WM Settings - -[global/wm] -; Adjust the _NET_WM_STRUT_PARTIAL top value -; Used for top aligned bars -margin-bottom = 0 - -; Adjust the _NET_WM_STRUT_PARTIAL bottom value -; Used for bottom aligned bars -margin-top = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; File Inclusion -; include an external file, like module file, etc. - -include-file = ~/.config/polybar/shapes/bars.ini -include-file = ~/.config/polybar/shapes/colors.ini -include-file = ~/.config/polybar/shapes/glyphs.ini -include-file = ~/.config/polybar/shapes/modules.ini -include-file = ~/.config/polybar/shapes/user_modules.ini - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Bar Settings - -[bar/main] -; Use either of the following command to list available outputs: -; If unspecified, the application will pick the first one it finds. -; $ polybar -m | cut -d ':' -f 1 -; $ xrandr -q | grep " connected" | cut -d ' ' -f1 -monitor = - -; Use the specified monitor as a fallback if the main one is not found. -monitor-fallback = - -; Require the monitor to be in connected state -; XRandR sometimes reports my monitor as being disconnected (when in use) -monitor-strict = false - -; Tell the Window Manager not to configure the window. -; Use this to detach the bar if your WM is locking its size/position. -override-redirect = false - -; Put the bar at the bottom of the screen -bottom = false - -; Prefer fixed center position for the `modules-center` block -; When false, the center position will be based on the size of the other blocks. -fixed-center = true - -; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in a width or height of 50% minus 10 pixels -width = 100% -height = 32 - -; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -; the percentage can optionally be extended with a pixel offset like so: -; 50%:-10, this will result in an offset in the x or y direction -; of 50% minus 10 pixels -offset-x = 0% -offset-y = 0% - -; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) -background = ${color.background} - -; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) -foreground = ${color.foreground} - -; Background gradient (vertical steps) -; background-[0-9]+ = #aarrggbb -;;background-0 = - -; Value used for drawing rounded corners -; Note: This shouldn't be used together with border-size because the border -; doesn't get rounded -; Individual top/bottom values can be defined using: -; radius-{top,bottom} -radius-top = 0.0 -radius-bottom = 0.0 - -; Under-/overline pixel size and argb color -; Individual values can be defined using: -; {overline,underline}-size -; {overline,underline}-color -underline-size = 2 -underline-color = ${color.foreground} - -; Values applied to all borders -; Individual side values can be defined using: -; border-{left,top,right,bottom}-size -; border-{left,top,right,bottom}-color -; The top and bottom borders are added to the bar height, so the effective -; window height is: -; height + border-top-size + border-bottom-size -; Meanwhile the effective window width is defined entirely by the width key and -; the border is placed withing this area. So you effectively only have the -; following horizontal space on the bar: -; width - border-right-size - border-left-size -border-size = 0 -border-color = ${color.background} - -; Number of spaces to add at the beginning/end of the bar -; Individual side values can be defined using: -; padding-{left,right} -padding = 0 - -; Number of spaces to add before/after each module -; Individual side values can be defined using: -; module-margin-{left,right} -module-margin-left = 0 -module-margin-right = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; Fonts are defined using <font-name>;<vertical-offset> -; Font names are specified using a fontconfig pattern. -; font-0 = NotoSans-Regular:size=8;2 -; font-1 = MaterialIcons:size=10 -; font-2 = Termsynu:size=8;-1 -; font-3 = FontAwesome:size=10 -; See the Fonts wiki page for more details - -font-0 = "Iosevka Nerd Font:pixelsize=10;3" -font-1 = "Iosevka Nerd Font:style=Medium:size=22;5" - -; Modules are added to one of the available blocks -; modules-left = cpu ram -; modules-center = xwindow xbacklight -; modules-right = ipc clock - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar/top] -inherit = bar/main -offset-y = 10 -modules-left = launcher left1 title left2 -modules-center = workspaces sep mpd -modules-right = right7 color-switch right6 updates right5 alsa right4 battery right3 network right2 date right1 sysmenu -enable-ipc = true - -[bar/mid] -offset-y = 52 -inherit = bar/main -modules-left = volume left1 brightness left2 -modules-right = right7 cpu_bar right6 memory_bar right5 filesystem_bar right4 mpd_bar right3 battery_bar -enable-ipc = true - -[bar/bottom] -inherit = bar/main -offset-y = 94 -modules-left = menu left1 filesystem left2 -modules-center = google github reddit gmail twitter -modules-right = right7 keyboard right6 cpu right5 memory right4 temperature right3 pulseaudio right2 backlight right1 powermenu -enable-ipc = true - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -; The separator will be inserted between the output of each module -separator = - -; Opacity value between 0.0 and 1.0 used on fade in/out -dim-value = 1.0 - -; Value to be used to set the WM_NAME atom -; If the value is empty or undefined, the atom value -; will be created from the following template: polybar-[BAR]_[MONITOR] -; NOTE: The placeholders are not available for custom values -wm-name = - -; Locale used to localize various module data (e.g. date) -; Expects a valid libc locale, for example: sv_SE.UTF-8 -locale = - -; Position of the system tray window -; If empty or undefined, tray support will be disabled -; NOTE: A center aligned tray will cover center aligned modules -; -; Available positions: -; left -; center -; right -; none -tray-position = none - -; If true, the bar will not shift its -; contents when the tray changes -tray-detached = false - -; Tray icon max size -tray-maxsize = 16 - -; Background color for the tray container -; ARGB color (e.g. #f00, #ff992a, #ddff1023) -; By default the tray container will use the bar -; background color. -tray-background = ${color.background} - -; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) -tray-offset-x = 0 -tray-offset-y = 0 - -; Pad the sides of each tray icon -tray-padding = 0 - -; Scale factor for tray clients -tray-scale = 1.0 - -; Restack the bar window and put it above the -; selected window manager's root -; -; Fixes the issue where the bar is being drawn -; on top of fullscreen window's -; -; Currently supported WM's: -; bspwm -; i3 (requires: `override-redirect = true`) -;;wm-restack = - -; Set a DPI values used when rendering text -; This only affects scalable fonts -; dpi = - -; Enable support for inter-process messaging -; See the Messaging wiki page for more details. -;enable-ipc = true - -; Fallback click handlers that will be called if -; there's no matching module handler found. -click-left = -click-middle = -click-right = -scroll-up = -scroll-down = -double-click-left = -double-click-middle = -double-click-right = - -; Requires polybar to be built with xcursor support (xcb-util-cursor) -; Possible values are: -; - default : The default pointer as before, can also be an empty string (default) -; - pointer : Typically in the form of a hand -; - ns-resize : Up and down arrows, can be used to indicate scrolling -cursor-click = -cursor-scroll = - -;; WM Workspace Specific - -; bspwm -;;scroll-up = bspwm-desknext -;;scroll-down = bspwm-deskprev -;;scroll-up = bspc desktop -f prev.local -;;scroll-down = bspc desktop -f next.local - -;i3 -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -;;scroll-up = i3-msg workspace next_on_output -;;scroll-down = i3-msg workspace prev_on_output - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -;; Application Settings - -[settings] -; The throttle settings lets the eventloop swallow up til X events -; if they happen within Y millisecond after first event was received. -; This is done to prevent flood of update event. -; -; For example if 5 modules emit an update event at the same time, we really -; just care about the last one. But if we wait too long for events to swallow -; the bar would appear sluggish so we continue if timeout -; expires or limit is reached. -throttle-output = 5 -throttle-output-for = 10 - -; Time in milliseconds that the input handler will wait between processing events -;throttle-input-for = 30 - -; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events -screenchange-reload = false - -; Compositing operators -; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t -compositing-background = source -compositing-foreground = over -compositing-overline = over -compositing-underline = over -compositing-border = over - -; Define fallback values used by all module formats -;format-foreground = -;format-background = -;format-underline = -;format-overline = -;format-spacing = -;format-padding = -;format-margin = -;format-offset = - -; Enables pseudo-transparency for the bar -; If set to true the bar can be transparent without a compositor. -pseudo-transparency = false - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/polybar/shapes/preview.sh b/config/polybar/shapes/preview.sh deleted file mode 100755 index 99bf7ee..0000000 --- a/config/polybar/shapes/preview.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -DIR="$HOME/.config/polybar/shapes" - -# 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 the preview bar -polybar -q top -c "$DIR"/preview.ini & -polybar -q mid -c "$DIR"/preview.ini & -polybar -q bottom -c "$DIR"/preview.ini & diff --git a/config/polybar/shapes/scripts/checkupdates b/config/polybar/shapes/scripts/checkupdates deleted file mode 100755 index 4d8a5e8..0000000 --- a/config/polybar/shapes/scripts/checkupdates +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -declare -r myname='checkupdates' -declare -r myver='1.0.0' - -plain() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg() { - (( QUIET )) && return - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -msg2() { - (( QUIET )) && return - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1 -} - -ask() { - local mesg=$1; shift - printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -# check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW -if [[ -t 2 && ! $USE_COLOR = "n" ]]; then - # prefer terminal safe colored and bold text when tput is supported - if tput setaf 0 &>/dev/null; then - ALL_OFF="$(tput sgr0)" - BOLD="$(tput bold)" - BLUE="${BOLD}$(tput setaf 4)" - GREEN="${BOLD}$(tput setaf 2)" - RED="${BOLD}$(tput setaf 1)" - YELLOW="${BOLD}$(tput setaf 3)" - else - ALL_OFF="\e[1;0m" - BOLD="\e[1;1m" - BLUE="${BOLD}\e[1;34m" - GREEN="${BOLD}\e[1;32m" - RED="${BOLD}\e[1;31m" - YELLOW="${BOLD}\e[1;33m" - fi -fi -readonly ALL_OFF BOLD BLUE GREEN RED YELLOW - - -if (( $# > 0 )); then - echo "${myname} v${myver}" - echo - echo "Safely print a list of pending updates" - echo - echo "Usage: ${myname}" - echo - echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.' - exit 0 -fi - -if ! type -P fakeroot >/dev/null; then - error 'Cannot find the fakeroot binary.' - exit 1 -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="/var/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - error 'Cannot fetch updates' - exit 1 -fi -pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]' - -exit 0 - -# vim: set noet: diff --git a/config/polybar/shapes/scripts/color-switch.sh b/config/polybar/shapes/scripts/color-switch.sh deleted file mode 100755 index 9da41ae..0000000 --- a/config/polybar/shapes/scripts/color-switch.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -SDIR="$HOME/.config/polybar/shapes/scripts" - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $SDIR/rofi/styles.rasi \ -<<< "♥ amber|♥ blue|♥ blue-gray|♥ brown|♥ cyan|♥ deep-orange|\ -♥ deep-purple|♥ green|♥ gray|♥ indigo|♥ blue-light|♥ green-light|\ -♥ lime|♥ orange|♥ pink|♥ purple|♥ red|♥ teal|♥ yellow|♥ amber-dark|\ -♥ blue-dark|♥ blue-gray-dark|♥ brown-dark|♥ cyan-dark|♥ deep-orange-dark|\ -♥ deep-purple-dark|♥ green-dark|♥ gray-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-gray) "$SDIR"/colors-light.sh --blue-gray ;; - *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 ;; - *gray) "$SDIR"/colors-light.sh --gray ;; - *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-gray-dark) "$SDIR"/colors-dark.sh --blue-gray ;; - *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 ;; - *gray-dark) "$SDIR"/colors-dark.sh --gray ;; - *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 diff --git a/config/polybar/shapes/scripts/colors-dark.sh b/config/polybar/shapes/scripts/colors-dark.sh deleted file mode 100755 index ac4c75c..0000000 --- a/config/polybar/shapes/scripts/colors-dark.sh +++ /dev/null @@ -1,124 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shapes/colors.ini" -RFILE="$HOME/.config/polybar/shapes/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #1F1F1F/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #FFFFFF/g' $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #1F1F1FFF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - fg: #FFFFFFFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - SH1="#FF6F00" SH2="#FF8F00" SH3="#FFA000" SH4="#FFB300" - SH5="#FFC107" SH6="#FFCA28" SH7="#FFD54F" SH8="#FFE082" - change_color -elif [[ $1 = "--blue" ]]; then - SH1="#0D47A1" SH2="#1565C0" SH3="#1976D2" SH4="#1E88E5" - SH5="#2196F3" SH6="#42A5F5" SH7="#64B5F6" SH8="#90CAF9" - change_color -elif [[ $1 = "--blue-gray" ]]; then - SH1="#263238" SH2="#37474F" SH3="#455A64" SH4="#546E7A" - SH5="#607D8B" SH6="#78909C" SH7="#90A4AE" SH8="#B0BEC5" - change_color -elif [[ $1 = "--brown" ]]; then - SH1="#3E2723" SH2="#4E342E" SH3="#5D4037" SH4="#6D4C41" - SH5="#795548" SH6="#8D6E63" SH7="#A1887F" SH8="#BCAAA4" - change_color -elif [[ $1 = "--cyan" ]]; then - SH1="#006064" SH2="#00838F" SH3="#0097A7" SH4="#00ACC1" - SH5="#00BCD4" SH6="#26C6DA" SH7="#4DD0E1" SH8="#80DEEA" - change_color -elif [[ $1 = "--deep-orange" ]]; then - SH1="#BF360C" SH2="#D84315" SH3="#E64A19" SH4="#F4511E" - SH5="#FF5722" SH6="#FF7043" SH7="#FF8A65" SH8="#FFAB91" - change_color -elif [[ $1 = "--deep-purple" ]]; then - SH1="#311B92" SH2="#4527A0" SH3="#512DA8" SH4="#5E35B1" - SH5="#673AB7" SH6="#7E57C2" SH7="#9575CD" SH8="#B39DDB" - change_color -elif [[ $1 = "--green" ]]; then - SH1="#1B5E20" SH2="#2E7D32" SH3="#388E3C" SH4="#43A047" - SH5="#4CAF50" SH6="#66BB6A" SH7="#81C784" SH8="#A5D6A7" - change_color -elif [[ $1 = "--gray" ]]; then - SH1="#212121" SH2="#424242" SH3="#616161" SH4="#757575" - SH5="#9E9E9E" SH6="#BDBDBD" SH7="#D4D4D4" SH8="#EEEEEE" - change_color -elif [[ $1 = "--indigo" ]]; then - SH1="#1A237E" SH2="#283593" SH3="#303F9F" SH4="#3949AB" - SH5="#3F51B5" SH6="#5C6BC0" SH7="#7986CB" SH8="#9FA8DA" - change_color -elif [[ $1 = "--light-blue" ]]; then - SH1="#01579B" SH2="#0277BD" SH3="#0288D1" SH4="#039BE5" - SH5="#03A9F4" SH6="#29B6F6" SH7="#4FC3F7" SH8="#81D4FA" - change_color -elif [[ $1 = "--light-green" ]]; then - SH1="#33691E" SH2="#558B2F" SH3="#689F38" SH4="#7CB342" - SH5="#8BC34A" SH6="#9CCC65" SH7="#AED581" SH8="#C5E1A5" - change_color -elif [[ $1 = "--lime" ]]; then - SH1="#827717" SH2="#9E9D24" SH3="#AFB42B" SH4="#C0CA33" - SH5="#CDDC39" SH6="#D4E157" SH7="#DCE775" SH8="#E6EE9C" - change_color -elif [[ $1 = "--orange" ]]; then - SH1="#E65100" SH2="#EF6C00" SH3="#F57C00" SH4="#FB8C00" - SH5="#FF9800" SH6="#FFA726" SH7="#FFB74D" SH8="#FFCC80" - change_color -elif [[ $1 = "--pink" ]]; then - SH1="#880E4F" SH2="#AD1457" SH3="#C2185B" SH4="#D81B60" - SH5="#E91E63" SH6="#EC407A" SH7="#F06292" SH8="#F48FB1" - change_color -elif [[ $1 = "--purple" ]]; then - SH1="#4A148C" SH2="#6A1B9A" SH3="#7B1FA2" SH4="#8E24AA" - SH5="#9C27B0" SH6="#AB47BC" SH7="#BA68C8" SH8="#CE93D8" - change_color -elif [[ $1 = "--red" ]]; then - SH1="#B71C1C" SH2="#C62828" SH3="#D32F2F" SH4="#E53935" - SH5="#EE413D" SH6="#EF5350" SH7="#E57373" SH8="#EF9A9A" - change_color -elif [[ $1 = "--teal" ]]; then - SH1="#004D40" SH2="#00695C" SH3="#00796B" SH4="#00897B" - SH5="#009688" SH6="#26A69A" SH7="#4DB6AC" SH8="#80CBC4" - change_color -elif [[ $1 = "--yellow" ]]; then - SH1="#F57F17" SH2="#F9A825" SH3="#FBC02D" SH4="#FDD835" - SH5="#FFEB3B" SH6="#FFEE58" SH7="#FFF176" SH8="#FFF59D" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/shapes/scripts/colors-light.sh b/config/polybar/shapes/scripts/colors-light.sh deleted file mode 100755 index eddb7a8..0000000 --- a/config/polybar/shapes/scripts/colors-light.sh +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shapes/colors.ini" -RFILE="$HOME/.config/polybar/shapes/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e 's/background = #.*/background = #FFFFFF/g' $PFILE - sed -i -e 's/foreground = #.*/foreground = #FFFFFF/g' $PFILE - sed -i -e 's/foreground-alt = #.*/foreground-alt = #1F1F1F/g' $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: #FFFFFFFF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - bg4: ${SH5}FF; - fg: #2E2E2EFF; - } - EOF - - polybar-msg cmd restart -} - -if [[ $1 = "--amber" ]]; then - SH1="#FF6F00" SH2="#FF8F00" SH3="#FFA000" SH4="#FFB300" - SH5="#FFC107" SH6="#FFCA28" SH7="#FFD54F" SH8="#FFE082" - change_color -elif [[ $1 = "--blue" ]]; then - SH1="#0D47A1" SH2="#1565C0" SH3="#1976D2" SH4="#1E88E5" - SH5="#2196F3" SH6="#42A5F5" SH7="#64B5F6" SH8="#90CAF9" - change_color -elif [[ $1 = "--blue-gray" ]]; then - SH1="#263238" SH2="#37474F" SH3="#455A64" SH4="#546E7A" - SH5="#607D8B" SH6="#78909C" SH7="#90A4AE" SH8="#B0BEC5" - change_color -elif [[ $1 = "--brown" ]]; then - SH1="#3E2723" SH2="#4E342E" SH3="#5D4037" SH4="#6D4C41" - SH5="#795548" SH6="#8D6E63" SH7="#A1887F" SH8="#BCAAA4" - change_color -elif [[ $1 = "--cyan" ]]; then - SH1="#006064" SH2="#00838F" SH3="#0097A7" SH4="#00ACC1" - SH5="#00BCD4" SH6="#26C6DA" SH7="#4DD0E1" SH8="#80DEEA" - change_color -elif [[ $1 = "--deep-orange" ]]; then - SH1="#BF360C" SH2="#D84315" SH3="#E64A19" SH4="#F4511E" - SH5="#FF5722" SH6="#FF7043" SH7="#FF8A65" SH8="#FFAB91" - change_color -elif [[ $1 = "--deep-purple" ]]; then - SH1="#311B92" SH2="#4527A0" SH3="#512DA8" SH4="#5E35B1" - SH5="#673AB7" SH6="#7E57C2" SH7="#9575CD" SH8="#B39DDB" - change_color -elif [[ $1 = "--green" ]]; then - SH1="#1B5E20" SH2="#2E7D32" SH3="#388E3C" SH4="#43A047" - SH5="#4CAF50" SH6="#66BB6A" SH7="#81C784" SH8="#A5D6A7" - change_color -elif [[ $1 = "--gray" ]]; then - SH1="#212121" SH2="#424242" SH3="#616161" SH4="#757575" - SH5="#9E9E9E" SH6="#BDBDBD" SH7="#D4D4D4" SH8="#EEEEEE" - change_color -elif [[ $1 = "--indigo" ]]; then - SH1="#1A237E" SH2="#283593" SH3="#303F9F" SH4="#3949AB" - SH5="#3F51B5" SH6="#5C6BC0" SH7="#7986CB" SH8="#9FA8DA" - change_color -elif [[ $1 = "--light-blue" ]]; then - SH1="#01579B" SH2="#0277BD" SH3="#0288D1" SH4="#039BE5" - SH5="#03A9F4" SH6="#29B6F6" SH7="#4FC3F7" SH8="#81D4FA" - change_color -elif [[ $1 = "--light-green" ]]; then - SH1="#33691E" SH2="#558B2F" SH3="#689F38" SH4="#7CB342" - SH5="#8BC34A" SH6="#9CCC65" SH7="#AED581" SH8="#C5E1A5" - change_color -elif [[ $1 = "--lime" ]]; then - SH1="#827717" SH2="#9E9D24" SH3="#AFB42B" SH4="#C0CA33" - SH5="#CDDC39" SH6="#D4E157" SH7="#DCE775" SH8="#E6EE9C" - change_color -elif [[ $1 = "--orange" ]]; then - SH1="#E65100" SH2="#EF6C00" SH3="#F57C00" SH4="#FB8C00" - SH5="#FF9800" SH6="#FFA726" SH7="#FFB74D" SH8="#FFCC80" - change_color -elif [[ $1 = "--pink" ]]; then - SH1="#880E4F" SH2="#AD1457" SH3="#C2185B" SH4="#D81B60" - SH5="#E91E63" SH6="#EC407A" SH7="#F06292" SH8="#F48FB1" - change_color -elif [[ $1 = "--purple" ]]; then - SH1="#4A148C" SH2="#6A1B9A" SH3="#7B1FA2" SH4="#8E24AA" - SH5="#9C27B0" SH6="#AB47BC" SH7="#BA68C8" SH8="#CE93D8" - change_color -elif [[ $1 = "--red" ]]; then - SH1="#B71C1C" SH2="#C62828" SH3="#D32F2F" SH4="#E53935" - SH5="#EE413D" SH6="#EF5350" SH7="#E57373" SH8="#EF9A9A" - change_color -elif [[ $1 = "--teal" ]]; then - SH1="#004D40" SH2="#00695C" SH3="#00796B" SH4="#00897B" - SH5="#009688" SH6="#26A69A" SH7="#4DB6AC" SH8="#80CBC4" - change_color -elif [[ $1 = "--yellow" ]]; then - SH1="#F57F17" SH2="#F9A825" SH3="#FBC02D" SH4="#FDD835" - SH5="#FFEB3B" SH6="#FFEE58" SH7="#FFF176" SH8="#FFF59D" - change_color -else - cat <<- _EOF_ - No option specified, Available options: - --amber --blue --blue-gray --brown - --cyan --deep-orange --deep-purple --green - --gray --indigo --light-blue --light-green - --lime --orange --pink --purple - --red --teal --yellow - _EOF_ -fi diff --git a/config/polybar/shapes/scripts/launcher.sh b/config/polybar/shapes/scripts/launcher.sh deleted file mode 100755 index 207f045..0000000 --- a/config/polybar/shapes/scripts/launcher.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/shapes/scripts/rofi/launcher.rasi diff --git a/config/polybar/shapes/scripts/powermenu.sh b/config/polybar/shapes/scripts/powermenu.sh deleted file mode 100755 index 6a9bc53..0000000 --- a/config/polybar/shapes/scripts/powermenu.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="~/.config/polybar/shapes/scripts/rofi" -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -no-config -theme $dir/powermenu.rasi" - -# Options -shutdown=" Shutdown" -reboot=" Restart" -lock=" Lock" -suspend=" Sleep" -logout=" Logout" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -no-config\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/config/polybar/shapes/scripts/pywal.sh b/config/polybar/shapes/scripts/pywal.sh deleted file mode 100755 index db0a15a..0000000 --- a/config/polybar/shapes/scripts/pywal.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shapes/colors.ini" -RFILE="$HOME/.config/polybar/shapes/scripts/rofi/colors.rasi" -WFILE="$HOME/.cache/wal/colors.sh" - -# Get colors -pywal_get() { - wal -i "$1" -q -t -} - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - fg: ${FG}FF; - } - EOF - - polybar-msg cmd restart -} - -# Main -if [[ -x "`which wal`" ]]; then - if [[ "$1" ]]; then - pywal_get "$1" - - # Source the pywal color file - if [[ -e "$WFILE" ]]; then - . "$WFILE" - else - echo 'Color file does not exist, exiting...' - exit 1 - fi - - BG=`printf "%s\n" "$background"` - FG=`printf "%s\n" "$foreground"` - FGA=`printf "%s\n" "$foreground"` - SH1=`printf "%s\n" "$color1"` - SH2=`printf "%s\n" "$color2"` - SH3=`printf "%s\n" "$color1"` - SH4=`printf "%s\n" "$color2"` - SH5=`printf "%s\n" "$color1"` - SH6=`printf "%s\n" "$color2"` - SH7=`printf "%s\n" "$color1"` - SH8=`printf "%s\n" "$color7"` - - change_color - else - echo -e "[!] Please enter the path to wallpaper. \n" - echo "Usage : ./pywal.sh path/to/image" - fi -else - echo "[!] 'pywal' is not installed." -fi diff --git a/config/polybar/shapes/scripts/random.sh b/config/polybar/shapes/scripts/random.sh deleted file mode 100755 index e331207..0000000 --- a/config/polybar/shapes/scripts/random.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env bash - -# Color files -PFILE="$HOME/.config/polybar/shapes/colors.ini" -RFILE="$HOME/.config/polybar/shapes/scripts/rofi/colors.rasi" - -# Change colors -change_color() { - # polybar - sed -i -e "s/background = #.*/background = $BG/g" $PFILE - sed -i -e "s/foreground = #.*/foreground = $FG/g" $PFILE - sed -i -e "s/foreground-alt = #.*/foreground-alt = $FGA/g" $PFILE - sed -i -e "s/shade1 = #.*/shade1 = $SH1/g" $PFILE - sed -i -e "s/shade2 = #.*/shade2 = $SH2/g" $PFILE - sed -i -e "s/shade3 = #.*/shade3 = $SH3/g" $PFILE - sed -i -e "s/shade4 = #.*/shade4 = $SH4/g" $PFILE - sed -i -e "s/shade5 = #.*/shade5 = $SH5/g" $PFILE - sed -i -e "s/shade6 = #.*/shade6 = $SH6/g" $PFILE - sed -i -e "s/shade7 = #.*/shade7 = $SH7/g" $PFILE - sed -i -e "s/shade8 = #.*/shade8 = $SH8/g" $PFILE - - # rofi - cat > $RFILE <<- EOF - /* colors */ - - * { - al: #00000000; - bg: ${BG}FF; - bg1: ${SH2}FF; - bg2: ${SH3}FF; - bg3: ${SH4}FF; - fg: ${FG}FF; - } - EOF - - polybar-msg cmd restart -} - -get_random_number() { - RNUM=$(( ($RANDOM % $1) + 1 )) -} - -get_random_color() { - RCOLOR="#" - for i in 1 2 3 4 5 6 - do - get_random_number "16" - case $RNUM in - "1") NEXTDIGIT="1";; - "2") NEXTDIGIT="2";; - "3") NEXTDIGIT="3";; - "4") NEXTDIGIT="4";; - "5") NEXTDIGIT="5";; - "6") NEXTDIGIT="6";; - "7") NEXTDIGIT="7";; - "8") NEXTDIGIT="8";; - "9") NEXTDIGIT="9";; - "10") NEXTDIGIT="A";; - "11") NEXTDIGIT="B";; - "12") NEXTDIGIT="C";; - "13") NEXTDIGIT="D";; - "14") NEXTDIGIT="E";; - "15") NEXTDIGIT="F";; - "16") NEXTDIGIT="0";; - esac - RCOLOR="$RCOLOR$NEXTDIGIT" - done - echo $RCOLOR -} - -# Main -BG='#1f1f1f' # change to light bg -FG='#FFFFFF' # change to dark fg -FGA='#FFFFFF' # change to gray fg -SH1=`get_random_color` -SH2=`get_random_color` -SH3=`get_random_color` -SH4=`get_random_color` -SH5=`get_random_color` -SH6=`get_random_color` -SH7=`get_random_color` -SH8=`get_random_color` - -change_color diff --git a/config/polybar/shapes/scripts/rofi/colors.rasi b/config/polybar/shapes/scripts/rofi/colors.rasi deleted file mode 100644 index 7de2e5a..0000000 --- a/config/polybar/shapes/scripts/rofi/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #1F1F1FFF; - bg1: #1565C0FF; - bg2: #1976D2FF; - bg3: #1E88E5FF; - fg: #FFFFFFFF; -} diff --git a/config/polybar/shapes/scripts/rofi/confirm.rasi b/config/polybar/shapes/scripts/rofi/confirm.rasi deleted file mode 100644 index bdbac6b..0000000 --- a/config/polybar/shapes/scripts/rofi/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 225px; - padding: 25px; - border: 0px; - border-radius: 12px; - border-color: @bg1; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @bg2; -} diff --git a/config/polybar/shapes/scripts/rofi/launcher.rasi b/config/polybar/shapes/scripts/rofi/launcher.rasi deleted file mode 100644 index c61d583..0000000 --- a/config/polybar/shapes/scripts/rofi/launcher.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 350px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg1; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -entry { - background-color: @bg2; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px; - border-radius: 0px 12px 12px 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg2; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 10; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @bg1; -} diff --git a/config/polybar/shapes/scripts/rofi/message.rasi b/config/polybar/shapes/scripts/rofi/message.rasi deleted file mode 100644 index ecb84c3..0000000 --- a/config/polybar/shapes/scripts/rofi/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @bg; - text-color: @fg; - font: "Iosevka Nerd Font 10"; -} - -window { - width: 320px; - padding: 25px; - border: 0px; - border-radius: 12px; - border-color: @bg1; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @bg2; -} diff --git a/config/polybar/shapes/scripts/rofi/networkmenu.rasi b/config/polybar/shapes/scripts/rofi/networkmenu.rasi deleted file mode 100644 index 1428061..0000000 --- a/config/polybar/shapes/scripts/rofi/networkmenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 400px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg2; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @bg1; - text-color: #FFFFFF; - expand: false; - str: "直"; -} - -entry { - background-color: @bg2; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px; - border-radius: 0px 12px 12px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg2; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 8; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -5px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @bg1; -} diff --git a/config/polybar/shapes/scripts/rofi/powermenu.rasi b/config/polybar/shapes/scripts/rofi/powermenu.rasi deleted file mode 100644 index 779cf25..0000000 --- a/config/polybar/shapes/scripts/rofi/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg2; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @bg1; - text-color: #FFFFFF; - expand: false; - str: ""; -} - -entry { - background-color: @bg2; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 10px; - border-radius: 0px 12px 12px 0px; - blink: true; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @bg2; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 5; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -20px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @bg1; -} diff --git a/config/polybar/shapes/scripts/rofi/styles.rasi b/config/polybar/shapes/scripts/rofi/styles.rasi deleted file mode 100644 index d32a1fb..0000000 --- a/config/polybar/shapes/scripts/rofi/styles.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - fullscreen: false; - hide-scrollbar: true; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 300px; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 10px 15px 10px 15px; - background-color: @bg1; - text-color: #FFFFFF; - font: "Iosevka Nerd Font 10"; -} - -textbox-prompt-colon { - padding: 10px 15px 10px 15px; - font: "Iosevka Nerd Font 10"; - background-color: @bg1; - text-color: #FFFFFF; - expand: false; - str: ""; -} - -entry { - background-color: @bg2; - text-color: #FFFFFF; - placeholder-color: #FFFFFF; - expand: true; - horizontal-align: 0; - placeholder: "find..."; - padding: 10px; - border-radius: 0px 12px 12px 0px; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg2; - text-color: #FFFFFF; - expand: false; - border: 0px; - border-radius: 12px; - border-color: @ac; - spacing: 0px; -} - -listview { - background-color: @al; - padding: 10px 10px 10px 10px; - columns: 1; - lines: 6; - spacing: 5px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0px; - border-radius: 0px; - border-color: @bg4; - children: [ inputbar, listview ]; - spacing: 0px; - padding: 0px; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0px; - padding: 6px 6px 6px -20px; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - border: 0px; -} - -element-text { - background-color: transparent; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0px 2.5px 0px 2.5px; -} - -element selected { - background-color: @bg3; - text-color: @bg; - border: 0px 0px 0px 0px; - border-radius: 12px; - border-color: @bg1; -} diff --git a/config/polybar/shapes/scripts/style-switch.sh b/config/polybar/shapes/scripts/style-switch.sh deleted file mode 100755 index 9444131..0000000 --- a/config/polybar/shapes/scripts/style-switch.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -FILE="$HOME/.config/polybar/shapes/glyphs.ini" - -# Replace Glyphs -change_style() { - sed -i -e "s/gleft = .*/gleft = $1/g" $FILE - sed -i -e "s/gright = .*/gright = $2/g" $FILE - - polybar-msg cmd restart -} - - -# Launch Rofi -MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ --theme $HOME/.config/polybar/shapes/scripts/rofi/styles.rasi \ -<<< "♥ Style-1|♥ Style-2|♥ Style-3|♥ Style-4|♥ Style-5|♥ Style-6|♥ Style-7|♥ Style-8|♥ Style-9|♥ Style-10|♥ Style-11|♥ Style-12|")" - case "$MENU" in - ## Light Colors - *Style-1) change_style ;; - *Style-2) change_style ;; - *Style-3) change_style ;; - *Style-4) change_style ;; - *Style-5) change_style ;; - *Style-6) change_style ;; - *Style-7) change_style ;; - *Style-8) change_style ;; - *Style-9) change_style ;; - *Style-10) change_style ;; - *Style-11) change_style ;; - *Style-12) change_style ;; - esac diff --git a/config/polybar/shapes/scripts/updates.sh b/config/polybar/shapes/scripts/updates.sh deleted file mode 100755 index b3e3d7a..0000000 --- a/config/polybar/shapes/scripts/updates.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg - -get_total_updates() { UPDATES=$(~/.config/polybar/shapes/scripts/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 " None" - 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 " None" - sleep 1800 - get_total_updates - done -done diff --git a/config/polybar/shapes/user_modules.ini b/config/polybar/shapes/user_modules.ini deleted file mode 100644 index 66933ba..0000000 --- a/config/polybar/shapes/user_modules.ini +++ /dev/null @@ -1,247 +0,0 @@ -;; ┌──────────────────────────────────────────────────────────────────────────────-----┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -;; └──────────────────────────────────────────────────────────────────────────────-----┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/updates] -type = custom/script - -; Available tokens: -; %counter% -; Command to be executed (using "/usr/bin/env sh -c [command]") -exec = ~/.config/polybar/shapes/scripts/updates.sh - -; Conditional command that, if defined, needs to exit successfully -; before the main exec command is invoked. -; Default: "" -;;exec-if = "" - -; Will the script output continous content? -; Default: false -tail = true - -; Seconds to sleep between updates -; Default: 2 (0 if `tail = true`) -interval = 5 - -; Available tags: -; <output> - deprecated -; <label> (default) -format = <label> -format-prefix = -format-background = ${color.shade6} -format-padding = 1 - -; Available tokens: -; %output% -; Default: %output% -label = "%output% " - -; Available tokens: -; %counter% -; %pid% -; -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & -;;double-click-left = echo double left %counter% -;;double-click-middle = echo double middle %counter% -;;double-click-right = echo double right %counter% - -; Available tokens: -; %counter% -; %pid% -; -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" -;;scroll-up = echo scroll up %counter% -;;scroll-down = echo scroll down %counter% - - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/launcher] -type = custom/text -content = " " - -; "content" has the same properties as "format-NAME" -content-background = ${color.shade1} -content-foreground = ${color.foreground} -content-padding = 1 - -; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" -click-left = ~/.config/polybar/shapes/scripts/launcher.sh & -;;click-middle = ~/.config/polybar/shapes/scripts/launcher-full -click-right = ~/.config/polybar/shapes/scripts/color-switch.sh & - -; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" -;;scroll-up = ~/.config/polybar/shapes/scripts/launcher.sh & -;;scroll-down = ~/.config/polybar/shapes/scripts/color-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sysmenu] -type = custom/text -content = "襤 " - -content-background = ${color.shade1} -content-foreground = ${color.foreground} -content-padding = 1 - -click-left = ~/.config/polybar/shapes/scripts/powermenu.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/color-switch] -type = custom/text -content = " " - -content-background = ${color.shade7} -content-foreground = ${color.foreground} -content-padding = 1 - -click-left = ~/.config/polybar/shapes/scripts/color-switch.sh & -click-right = ~/.config/polybar/shapes/scripts/style-switch.sh & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/sep] -type = custom/text -content = " | " - -content-background = ${color.background} -content-foreground = ${color.shade1} -content-padding = 0 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/links] -type = custom/text -content-foreground = ${color.foreground-alt} -content-padding = 2 - -[module/google] -inherit = module/links -content = -click-left = exo-open https://www.google.com/ & - -[module/github] -inherit = module/links -content = -click-left = exo-open https://www.github.com/ & - -[module/reddit] -inherit = module/links -content = -click-left = exo-open https://www.reddit.com/ & - -[module/gmail] -inherit = module/links -content = -click-left = exo-open https://mail.google.com/ & - -[module/twitter] -inherit = module/links -content = -click-left = exo-open https://www.twitter.com/ & - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/powermenu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = shutdown -menu-0-1-exec = menu-open-2 - -menu-1-0 = back -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = shutdown -menu-2-0-exec = systemctl poweroff -menu-2-1 = back -menu-2-1-exec = menu-open-0 - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.shade1} -format-foreground = ${color.foreground} -format-padding = 1 - -label-open = "襤 " -label-close = "" - -; Optional item separator -; Default: none -label-separator = " | " - -;;label-open-foreground = ${color.foreground} -;;label-close-foreground = ${color.background} -;;label-separator-foreground = ${color.background} - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/menu] -type = custom/menu - -; If true, <label-toggle> will be to the left of the menu items (default). -; If false, it will be on the right of all the items. -expand-right = true - -; "menu-LEVEL-N" has the same properties as "label-NAME" with -; the additional "exec" property -; -; Available exec commands: -; menu-open-LEVEL -; menu-close -; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" -menu-0-0 = Menu -menu-0-0-exec = ~/.config/polybar/shapes/scripts/launcher.sh & -menu-0-1 = Files -menu-0-1-exec = thunar & -menu-0-2 = Terminal -menu-0-2-exec = termite & -menu-0-3 = Browser -menu-0-3-exec = firefox & - -; Available tags: -; <label-toggle> (default) - gets replaced with <label-(open|close)> -; <menu> (default) -; Note that if you use <label-toggle> you must also include -; the definition for <label-open> - -format = <label-toggle> <menu> -format-background = ${color.shade1} -format-foreground = ${color.foreground} -format-padding = 1 - -label-open = " " -label-close = " " - -; Optional item separator -; Default: none -label-separator = " | " - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/config/rofi/applets/bin/appasroot.sh b/config/rofi/applets/bin/appasroot.sh deleted file mode 100755 index f0e6944..0000000 --- a/config/rofi/applets/bin/appasroot.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Run Applications as Root - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Theme Elements -prompt='Applications' -mesg='Run Applications as Root' - -if [[ "$theme" == *'type-1'* ]]; then - list_col='1' - list_row='5' - win_width='400px' -elif [[ "$theme" == *'type-3'* ]]; then - list_col='1' - list_row='5' - win_width='120px' -elif [[ "$theme" == *'type-5'* ]]; then - list_col='1' - list_row='5' - win_width='520px' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='5' - list_row='1' - win_width='670px' -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Alacritty" - option_2=" Thunar" - option_3=" Geany" - option_4=" Ranger" - option_5=" Vim" -else - option_1="" - option_2="" - option_3="" - option_4="" - option_5="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "window {width: $win_width;}" \ - -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd -} - -# Execute Command -run_cmd() { - polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY" - if [[ "$1" == '--opt1' ]]; then - ${polkit_cmd} alacritty - elif [[ "$1" == '--opt2' ]]; then - ${polkit_cmd} dbus-run-session thunar - elif [[ "$1" == '--opt3' ]]; then - ${polkit_cmd} geany - elif [[ "$1" == '--opt4' ]]; then - ${polkit_cmd} alacritty -e ranger - elif [[ "$1" == '--opt5' ]]; then - ${polkit_cmd} alacritty -e vim - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; -esac - diff --git a/config/rofi/applets/bin/apps.sh b/config/rofi/applets/bin/apps.sh deleted file mode 100755 index 01d1e4d..0000000 --- a/config/rofi/applets/bin/apps.sh +++ /dev/null @@ -1,104 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Favorite Applications - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Theme Elements -prompt='Applications' -mesg="Installed Packages : `pacman -Q | wc -l` (pacman)" - -if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then - list_col='1' - list_row='6' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='6' - list_row='1' -fi - -# CMDs (add your apps here) -term_cmd='alacritty' -file_cmd='thunar' -text_cmd='geany' -web_cmd='firefox' -music_cmd='alacritty -e ncmpcpp' -setting_cmd='xfce4-settings-manager' - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Terminal <span weight='light' size='small'><i>($term_cmd)</i></span>" - option_2=" Files <span weight='light' size='small'><i>($file_cmd)</i></span>" - option_3=" Editor <span weight='light' size='small'><i>($text_cmd)</i></span>" - option_4=" Browser <span weight='light' size='small'><i>($web_cmd)</i></span>" - option_5=" Music <span weight='light' size='small'><i>($music_cmd)</i></span>" - option_6=" Settings <span weight='light' size='small'><i>($setting_cmd)</i></span>" -else - option_1="" - option_2="" - option_3="" - option_4="" - option_5="" - option_6="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - ${term_cmd} - elif [[ "$1" == '--opt2' ]]; then - ${file_cmd} - elif [[ "$1" == '--opt3' ]]; then - ${text_cmd} - elif [[ "$1" == '--opt4' ]]; then - ${web_cmd} - elif [[ "$1" == '--opt5' ]]; then - ${music_cmd} - elif [[ "$1" == '--opt6' ]]; then - ${setting_cmd} - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; - $option_6) - run_cmd --opt6 - ;; -esac diff --git a/config/rofi/applets/bin/battery.sh b/config/rofi/applets/bin/battery.sh deleted file mode 100755 index ef0dba6..0000000 --- a/config/rofi/applets/bin/battery.sh +++ /dev/null @@ -1,134 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Battery - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Battery Info -battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`" -status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`" -percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`" -time="`acpi -b | cut -d',' -f3`" - -if [[ -z "$time" ]]; then - time=' Fully Charged' -fi - -# Theme Elements -prompt="$status" -mesg="${battery}: ${percentage}%,${time}" - -if [[ "$theme" == *'type-1'* ]]; then - list_col='1' - list_row='4' - win_width='400px' -elif [[ "$theme" == *'type-3'* ]]; then - list_col='1' - list_row='4' - win_width='120px' -elif [[ "$theme" == *'type-5'* ]]; then - list_col='1' - list_row='4' - win_width='500px' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='4' - list_row='1' - win_width='550px' -fi - -# Charging Status -active="" -urgent="" -if [[ $status = *"Charging"* ]]; then - active="-a 1" - ICON_CHRG="" -elif [[ $status = *"Full"* ]]; then - active="-u 1" - ICON_CHRG="" -else - urgent="-u 1" - ICON_CHRG="" -fi - -# Discharging -if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then - ICON_DISCHRG="" -elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then - ICON_DISCHRG="" -elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then - ICON_DISCHRG="" -elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then - ICON_DISCHRG="" -elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then - ICON_DISCHRG="" -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Remaining ${percentage}%" - option_2=" $status" - option_3=" Power Manager" - option_4=" Diagnose" -else - option_1="$ICON_DISCHRG" - option_2="$ICON_CHRG" - option_3="" - option_4="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "window {width: $win_width;}" \ - -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - ${active} ${urgent} \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd -} - -# Execute Command -run_cmd() { - polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY" - if [[ "$1" == '--opt1' ]]; then - notify-send -u low " Remaining : ${percentage}%" - elif [[ "$1" == '--opt2' ]]; then - notify-send -u low "$ICON_CHRG Status : $status" - elif [[ "$1" == '--opt3' ]]; then - xfce4-power-manager-settings - elif [[ "$1" == '--opt4' ]]; then - ${polkit_cmd} alacritty -e powertop - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; -esac - - diff --git a/config/rofi/applets/bin/brightness.sh b/config/rofi/applets/bin/brightness.sh deleted file mode 100755 index 2c90a12..0000000 --- a/config/rofi/applets/bin/brightness.sh +++ /dev/null @@ -1,107 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Brightness - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Brightness Info -backlight="$(printf "%.0f\n" `light -G`)" -card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`" - -if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then - level="Low" -elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then - level="Optimal" -elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then - level="High" -elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then - level="Peak" -fi - -# Theme Elements -prompt="${backlight}%" -mesg="Device: ${card}, Level: $level" - -if [[ "$theme" == *'type-1'* ]]; then - list_col='1' - list_row='4' - win_width='400px' -elif [[ "$theme" == *'type-3'* ]]; then - list_col='1' - list_row='4' - win_width='120px' -elif [[ "$theme" == *'type-5'* ]]; then - list_col='1' - list_row='4' - win_width='425px' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='4' - list_row='1' - win_width='550px' -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Increase" - option_2=" Optimal" - option_3=" Decrease" - option_4=" Settings" -else - option_1="" - option_2="" - option_3="" - option_4="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "window {width: $win_width;}" \ - -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - light -A 5 - elif [[ "$1" == '--opt2' ]]; then - light -S 25 - elif [[ "$1" == '--opt3' ]]; then - light -U 5 - elif [[ "$1" == '--opt4' ]]; then - xfce4-power-manager-settings - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; -esac diff --git a/config/rofi/applets/bin/mpd.sh b/config/rofi/applets/bin/mpd.sh deleted file mode 100755 index ce6a9e9..0000000 --- a/config/rofi/applets/bin/mpd.sh +++ /dev/null @@ -1,131 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : MPD (music) - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Theme Elements -status="`mpc status`" -if [[ -z "$status" ]]; then - prompt='Offline' - mesg="MPD is Offline" -else - prompt="`mpc -f "%artist%" current`" - mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`" -fi - -if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then - list_col='1' - list_row='6' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='6' - list_row='1' -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - if [[ ${status} == *"[playing]"* ]]; then - option_1=" Pause" - else - option_1=" Play" - fi - option_2=" Stop" - option_3=" Previous" - option_4=" Next" - option_5=" Repeat" - option_6=" Random" -else - if [[ ${status} == *"[playing]"* ]]; then - option_1="" - else - option_1="" - fi - option_2="" - option_3="" - option_4="" - option_5="" - option_6="" -fi - -# Toggle Actions -active='' -urgent='' -# Repeat -if [[ ${status} == *"repeat: on"* ]]; then - active="-a 4" -elif [[ ${status} == *"repeat: off"* ]]; then - urgent="-u 4" -else - option_5=" Parsing Error" -fi -# Random -if [[ ${status} == *"random: on"* ]]; then - [ -n "$active" ] && active+=",5" || active="-a 5" -elif [[ ${status} == *"random: off"* ]]; then - [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" -else - option_6=" Parsing Error" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - ${active} ${urgent} \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - mpc -q toggle && notify-send -u low -t 1000 " `mpc current`" - elif [[ "$1" == '--opt2' ]]; then - mpc -q stop - elif [[ "$1" == '--opt3' ]]; then - mpc -q prev && notify-send -u low -t 1000 " `mpc current`" - elif [[ "$1" == '--opt4' ]]; then - mpc -q next && notify-send -u low -t 1000 " `mpc current`" - elif [[ "$1" == '--opt5' ]]; then - mpc -q repeat - elif [[ "$1" == '--opt6' ]]; then - mpc -q random - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; - $option_6) - run_cmd --opt6 - ;; -esac diff --git a/config/rofi/applets/bin/powermenu.sh b/config/rofi/applets/bin/powermenu.sh deleted file mode 100755 index 8ed9106..0000000 --- a/config/rofi/applets/bin/powermenu.sh +++ /dev/null @@ -1,129 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Power Menu - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Theme Elements -prompt="`hostname`" -mesg="Uptime : `uptime -p | sed -e 's/up //g'`" - -if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then - list_col='1' - list_row='6' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='6' - list_row='1' -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Lock" - option_2=" Logout" - option_3=" Suspend" - option_4=" Hibernate" - option_5=" Reboot" - option_6=" Shutdown" - yes=' Yes' - no=' No' -else - option_1="" - option_2="" - option_3="" - option_4="" - option_5="" - option_6="" - yes='' - no='' -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd -} - -# Confirmation CMD -confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ - -theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${theme} -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Confirm and execute -confirm_run () { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - ${1} && ${2} && ${3} - else - exit - fi -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - betterlockscreen -l - elif [[ "$1" == '--opt2' ]]; then - confirm_run 'kill -9 -1' - elif [[ "$1" == '--opt3' ]]; then - confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend' - elif [[ "$1" == '--opt4' ]]; then - confirm_run 'systemctl hibernate' - elif [[ "$1" == '--opt5' ]]; then - confirm_run 'systemctl reboot' - elif [[ "$1" == '--opt6' ]]; then - confirm_run 'systemctl poweroff' - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; - $option_6) - run_cmd --opt6 - ;; -esac - diff --git a/config/rofi/applets/bin/quicklinks.sh b/config/rofi/applets/bin/quicklinks.sh deleted file mode 100755 index 11a38a8..0000000 --- a/config/rofi/applets/bin/quicklinks.sh +++ /dev/null @@ -1,103 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Quick Links - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Theme Elements -prompt='Quick Links' -mesg="Using '$BROWSER' as web browser" - -if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then - list_col='1' - list_row='6' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='6' - list_row='1' -fi - -if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then - efonts="JetBrains Mono Nerd Font 10" -else - efonts="JetBrains Mono Nerd Font 28" -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Google" - option_2=" Gmail" - option_3=" Youtube" - option_4=" Github" - option_5=" Reddit" - option_6=" Twitter" -else - option_1="" - option_2="" - option_3="" - option_4="" - option_5="" - option_6="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -theme-str "element-text {font: \"$efonts\";}" \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - xdg-open 'https://www.google.com/' - elif [[ "$1" == '--opt2' ]]; then - xdg-open 'https://mail.google.com/' - elif [[ "$1" == '--opt3' ]]; then - xdg-open 'https://www.youtube.com/' - elif [[ "$1" == '--opt4' ]]; then - xdg-open 'https://www.github.com/' - elif [[ "$1" == '--opt5' ]]; then - xdg-open 'https://www.reddit.com/' - elif [[ "$1" == '--opt6' ]]; then - xdg-open 'https://www.twitter.com/' - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; - $option_6) - run_cmd --opt6 - ;; -esac diff --git a/config/rofi/applets/bin/screenshot.sh b/config/rofi/applets/bin/screenshot.sh deleted file mode 100755 index 5e5286b..0000000 --- a/config/rofi/applets/bin/screenshot.sh +++ /dev/null @@ -1,165 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Screenshot - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Theme Elements -prompt='Screenshot' -mesg="DIR: `xdg-user-dir PICTURES`/Screenshots" - -if [[ "$theme" == *'type-1'* ]]; then - list_col='1' - list_row='5' - win_width='400px' -elif [[ "$theme" == *'type-3'* ]]; then - list_col='1' - list_row='5' - win_width='120px' -elif [[ "$theme" == *'type-5'* ]]; then - list_col='1' - list_row='5' - win_width='520px' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='5' - list_row='1' - win_width='670px' -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Capture Desktop" - option_2=" Capture Area" - option_3=" Capture Window" - option_4=" Capture in 5s" - option_5=" Capture in 10s" -else - option_1="" - option_2="" - option_3="" - option_4="" - option_5="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "window {width: $win_width;}" \ - -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd -} - -# Screenshot -time=`date +%Y-%m-%d-%H-%M-%S` -geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` -dir="`xdg-user-dir PICTURES`/Screenshots" -file="Screenshot_${time}_${geometry}.png" - -if [[ ! -d "$dir" ]]; then - mkdir -p "$dir" -fi - -# notify and view screenshot -notify_view() { - notify_cmd_shot='dunstify -u low --replace=699' - ${notify_cmd_shot} "Copied to clipboard." - viewnior ${dir}/"$file" - if [[ -e "$dir/$file" ]]; then - ${notify_cmd_shot} "Screenshot Saved." - else - ${notify_cmd_shot} "Screenshot Deleted." - fi -} - -# Copy screenshot to clipboard -copy_shot () { - tee "$file" | xclip -selection clipboard -t image/png -} - -# countdown -countdown () { - for sec in `seq $1 -1 1`; do - dunstify -t 1000 --replace=699 "Taking shot in : $sec" - sleep 1 - done -} - -# take shots -shotnow () { - cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot - notify_view -} - -shot5 () { - countdown '5' - sleep 1 && cd ${dir} && maim -u -f png | copy_shot - notify_view -} - -shot10 () { - countdown '10' - sleep 1 && cd ${dir} && maim -u -f png | copy_shot - notify_view -} - -shotwin () { - cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot - notify_view -} - -shotarea () { - cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot - notify_view -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - shotnow - elif [[ "$1" == '--opt2' ]]; then - shotarea - elif [[ "$1" == '--opt3' ]]; then - shotwin - elif [[ "$1" == '--opt4' ]]; then - shot5 - elif [[ "$1" == '--opt5' ]]; then - shot10 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; -esac - - diff --git a/config/rofi/applets/bin/volume.sh b/config/rofi/applets/bin/volume.sh deleted file mode 100755 index a194592..0000000 --- a/config/rofi/applets/bin/volume.sh +++ /dev/null @@ -1,134 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Applets : Volume - -# Import Current Theme -source "$HOME"/.config/rofi/applets/shared/theme.bash -theme="$type/$style" - -# Volume Info -mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`" -speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`" -mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`" - -active="" -urgent="" - -# Speaker Info -amixer get Master | grep '\[on\]' &>/dev/null -if [[ "$?" == 0 ]]; then - active="-a 1" - stext='Unmute' - sicon='' -else - urgent="-u 1" - stext='Mute' - sicon='' -fi - -# Microphone Info -amixer get Capture | grep '\[on\]' &>/dev/null -if [[ "$?" == 0 ]]; then - [ -n "$active" ] && active+=",3" || active="-a 3" - mtext='Unmute' - micon='' -else - [ -n "$urgent" ] && urgent+=",3" || urgent="-u 3" - mtext='Mute' - micon='' -fi - -# Theme Elements -prompt="S:$stext, M:$mtext" -mesg="$mixer - Speaker: $speaker, Mic: $mic" - -if [[ "$theme" == *'type-1'* ]]; then - list_col='1' - list_row='5' - win_width='400px' -elif [[ "$theme" == *'type-3'* ]]; then - list_col='1' - list_row='5' - win_width='120px' -elif [[ "$theme" == *'type-5'* ]]; then - list_col='1' - list_row='5' - win_width='520px' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then - list_col='5' - list_row='1' - win_width='670px' -fi - -# Options -layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` -if [[ "$layout" == 'NO' ]]; then - option_1=" Increase" - option_2="$sicon $stext" - option_3=" Decrese" - option_4="$micon $mtext" - option_5=" Settings" -else - option_1="" - option_2="$sicon" - option_3="" - option_4="$micon" - option_5="" -fi - -# Rofi CMD -rofi_cmd() { - rofi -theme-str "window {width: $win_width;}" \ - -theme-str "listview {columns: $list_col; lines: $list_row;}" \ - -theme-str 'textbox-prompt-colon {str: "";}' \ - -dmenu \ - -p "$prompt" \ - -mesg "$mesg" \ - ${active} ${urgent} \ - -markup-rows \ - -theme ${theme} -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd -} - -# Execute Command -run_cmd() { - if [[ "$1" == '--opt1' ]]; then - amixer -Mq set Master,0 5%+ unmute - elif [[ "$1" == '--opt2' ]]; then - amixer set Master toggle - elif [[ "$1" == '--opt3' ]]; then - amixer -Mq set Master,0 5%- unmute - elif [[ "$1" == '--opt4' ]]; then - amixer set Capture toggle - elif [[ "$1" == '--opt5' ]]; then - pavucontrol - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $option_1) - run_cmd --opt1 - ;; - $option_2) - run_cmd --opt2 - ;; - $option_3) - run_cmd --opt3 - ;; - $option_4) - run_cmd --opt4 - ;; - $option_5) - run_cmd --opt5 - ;; -esac - diff --git a/config/rofi/applets/shared/colors.rasi b/config/rofi/applets/shared/colors.rasi deleted file mode 100644 index 2d763d2..0000000 --- a/config/rofi/applets/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/lovelace.rasi" diff --git a/config/rofi/applets/shared/fonts.rasi b/config/rofi/applets/shared/fonts.rasi deleted file mode 100644 index 430c73d..0000000 --- a/config/rofi/applets/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 10"; -} diff --git a/config/rofi/applets/shared/theme.bash b/config/rofi/applets/shared/theme.bash deleted file mode 100755 index 02b214b..0000000 --- a/config/rofi/applets/shared/theme.bash +++ /dev/null @@ -1,4 +0,0 @@ -## Current Theme - -type="$HOME/.config/rofi/applets/type-1" -style='style-6.rasi' diff --git a/config/rofi/applets/type-1/style-1.rasi b/config/rofi/applets/type-1/style-1.rasi deleted file mode 100644 index 2d3ee5f..0000000 --- a/config/rofi/applets/type-1/style-1.rasi +++ /dev/null @@ -1,152 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=NO -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 5px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -element normal.normal, -element alternate.normal { - background-color: var(background); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-1/style-2.rasi b/config/rofi/applets/type-1/style-2.rasi deleted file mode 100644 index 2c66bee..0000000 --- a/config/rofi/applets/type-1/style-2.rasi +++ /dev/null @@ -1,152 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=NO -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 12px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 12px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 12px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 5px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 10px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -element normal.normal, -element alternate.normal { - background-color: var(background); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-1/style-3.rasi b/config/rofi/applets/type-1/style-3.rasi deleted file mode 100644 index 285c376..0000000 --- a/config/rofi/applets/type-1/style-3.rasi +++ /dev/null @@ -1,152 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=NO -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 30px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 100%; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 5px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -element normal.normal, -element alternate.normal { - background-color: var(background); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-2/style-1.rasi b/config/rofi/applets/type-2/style-1.rasi deleted file mode 100644 index 30025a7..0000000 --- a/config/rofi/applets/type-2/style-1.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 28"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-2/style-2.rasi b/config/rofi/applets/type-2/style-2.rasi deleted file mode 100644 index a258620..0000000 --- a/config/rofi/applets/type-2/style-2.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 12px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 12px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 12px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 28"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-2/style-3.rasi b/config/rofi/applets/type-2/style-3.rasi deleted file mode 100644 index fb3a99c..0000000 --- a/config/rofi/applets/type-2/style-3.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 30px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 100%; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 28"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-3/style-1.rasi b/config/rofi/applets/type-3/style-1.rasi deleted file mode 100644 index 86b17ef..0000000 --- a/config/rofi/applets/type-3/style-1.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: east; - anchor: east; - fullscreen: false; - width: 120px; - x-offset: -20px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 15px; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 23px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-3/style-2.rasi b/config/rofi/applets/type-3/style-2.rasi deleted file mode 100644 index e4f07ba..0000000 --- a/config/rofi/applets/type-3/style-2.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: east; - anchor: east; - fullscreen: false; - width: 120px; - x-offset: -20px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 15px; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 23px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-3/style-3.rasi b/config/rofi/applets/type-3/style-3.rasi deleted file mode 100644 index 06f365f..0000000 --- a/config/rofi/applets/type-3/style-3.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "../shared/colors.rasi" -@import "../shared/fonts.rasi" - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: east; - anchor: east; - fullscreen: false; - width: 120px; - x-offset: -20px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 15px; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 23px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-4/style-1.rasi b/config/rofi/applets/type-4/style-1.rasi deleted file mode 100644 index 1823c56..0000000 --- a/config/rofi/applets/type-4/style-1.rasi +++ /dev/null @@ -1,164 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 20px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 25px; - padding: 100px 50px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - background-image: url("~/.config/rofi/images/a.png", width); - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy{ - background-color: transparent; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 20px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 28"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-4/style-2.rasi b/config/rofi/applets/type-4/style-2.rasi deleted file mode 100644 index 40a98ac..0000000 --- a/config/rofi/applets/type-4/style-2.rasi +++ /dev/null @@ -1,164 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #2D1B14; - background-alt: #462D23; - foreground: #FFFFFF; - selected: #E25F3E; - active: #716251; - urgent: #934A1C; -} - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 20px; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 25px; - padding: 100px 50px; - border: 0px; - border-radius: 20px; - border-color: @selected; - background-color: transparent; - background-image: url("~/.config/rofi/images/d.png", width); - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy{ - background-color: transparent; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 10px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 10px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 20px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 28"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-4/style-3.rasi b/config/rofi/applets/type-4/style-3.rasi deleted file mode 100644 index 0199650..0000000 --- a/config/rofi/applets/type-4/style-3.rasi +++ /dev/null @@ -1,164 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #131D1F; - background-alt: #183A43; - foreground: #FFFFFF; - selected: #649094; - active: #E9CC9D; - urgent: #FEA861; -} - -/* -USE_ICON=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 50px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 20px; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 25px; - padding: 100px 50px; - border: 0px; - border-radius: 40px; - border-color: @selected; - background-color: transparent; - background-image: url("~/.config/rofi/images/i.jpg", width); - text-color: @foreground; - children: [ "textbox-prompt-colon", "dummy", "prompt"]; -} - -dummy{ - background-color: transparent; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 100%; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 20px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 28"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -element normal.normal, -element alternate.normal { - background-color: var(background-alt); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-5/style-1.rasi b/config/rofi/applets/type-5/style-1.rasi deleted file mode 100644 index 0fdc43d..0000000 --- a/config/rofi/applets/type-5/style-1.rasi +++ /dev/null @@ -1,166 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #231419; - background-alt: #2D1E23; - foreground: #FFFFFF; - selected: #426647; - active: #2E3F34; - urgent: #D08261; -} - -/* -USE_ICON=NO -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - background-color: transparent; - background-image: url("~/.config/rofi/images/e.jpg", height); - children: [ "dummy", "inputbar", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - background-color: transparent; - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy{ - background-color: transparent; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 0px; - background-color: @active; - text-color: @foreground; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 5px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -element normal.normal, -element alternate.normal { - background-color: var(background); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(foreground); -} diff --git a/config/rofi/applets/type-5/style-2.rasi b/config/rofi/applets/type-5/style-2.rasi deleted file mode 100644 index 5b9c5b1..0000000 --- a/config/rofi/applets/type-5/style-2.rasi +++ /dev/null @@ -1,167 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/* -USE_ICON=NO -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - border-radius: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/j.jpg", height); - children: [ "dummy", "inputbar", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - background-color: transparent; - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy{ - background-color: transparent; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border-radius: 15px; - background-color: @urgent; - text-color: @foreground; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 15px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 5px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 10px; - border: 0px solid; - border-radius: 15px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -element normal.normal, -element alternate.normal { - background-color: var(background); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/applets/type-5/style-3.rasi b/config/rofi/applets/type-5/style-3.rasi deleted file mode 100644 index 416f51b..0000000 --- a/config/rofi/applets/type-5/style-3.rasi +++ /dev/null @@ -1,176 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #101010; - background-alt: #252525; - foreground: #FFFFFF; - selected: #505050; - active: #909090; - urgent: #707070; -} - -/* -USE_ICON=NO -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 30px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - border: 2px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - background-image: url("~/.config/rofi/images/g.png", height); - children: [ "dummy", "inputbar", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - background-color: transparent; - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy{ - background-color: transparent; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 13px; - border: 2px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; -} -prompt { - enabled: true; - padding: 10px; - border: 2px solid; - border-radius: 100%; - border-color: @foreground; - background-color: @foreground; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - scrollbar: false; - layout: vertical; - - spacing: 5px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 11px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -element normal.normal, -element alternate.normal { - background-color: var(background); - text-color: var(foreground); -} -element normal.urgent, -element alternate.urgent, -element selected.active { - background-color: var(urgent); - text-color: var(background); -} -element normal.active, -element alternate.active, -element selected.urgent { - background-color: var(active); - text-color: var(background); -} -element selected.normal { - border: 2px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: var(foreground); -} diff --git a/config/rofi/colors/adapta.rasi b/config/rofi/colors/adapta.rasi deleted file mode 100644 index dcde9e5..0000000 --- a/config/rofi/colors/adapta.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #222D32FF; - background-alt: #29353BFF; - foreground: #B8C2C6FF; - selected: #00BCD4FF; - active: #21FF90FF; - urgent: #FF4B60FF; -} diff --git a/config/rofi/colors/arc.rasi b/config/rofi/colors/arc.rasi deleted file mode 100644 index 0dfb773..0000000 --- a/config/rofi/colors/arc.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #2F343FFF; - background-alt: #383C4AFF; - foreground: #BAC5D0FF; - selected: #5294E2FF; - active: #98C379FF; - urgent: #E06B74FF; -} diff --git a/config/rofi/colors/black.rasi b/config/rofi/colors/black.rasi deleted file mode 100644 index fa7b76f..0000000 --- a/config/rofi/colors/black.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #000000FF; - background-alt: #101010FF; - foreground: #FFFFFFFF; - selected: #62AEEFFF; - active: #98C379FF; - urgent: #E06B74FF; -} diff --git a/config/rofi/colors/catppuccin.rasi b/config/rofi/colors/catppuccin.rasi deleted file mode 100644 index 62c5945..0000000 --- a/config/rofi/colors/catppuccin.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1E1D2FFF; - background-alt: #282839FF; - foreground: #D9E0EEFF; - selected: #7AA2F7FF; - active: #ABE9B3FF; - urgent: #F28FADFF; -} diff --git a/config/rofi/colors/cyberpunk.rasi b/config/rofi/colors/cyberpunk.rasi deleted file mode 100644 index f5fa0e7..0000000 --- a/config/rofi/colors/cyberpunk.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #000B1EFF; - background-alt: #0A1528FF; - foreground: #0ABDC6FF; - selected: #0ABDC6FF; - active: #00FF00FF; - urgent: #FF0000FF; -} diff --git a/config/rofi/colors/dracula.rasi b/config/rofi/colors/dracula.rasi deleted file mode 100644 index 7ae606d..0000000 --- a/config/rofi/colors/dracula.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1E1F29FF; - background-alt: #282A36FF; - foreground: #FFFFFFFF; - selected: #BD93F9FF; - active: #50FA7BFF; - urgent: #FF5555FF; -} diff --git a/config/rofi/colors/everforest.rasi b/config/rofi/colors/everforest.rasi deleted file mode 100644 index 83d4f71..0000000 --- a/config/rofi/colors/everforest.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #323D43FF; - background-alt: #3C474DFF; - foreground: #DAD1BEFF; - selected: #7FBBB3FF; - active: #A7C080FF; - urgent: #E67E80FF; -} diff --git a/config/rofi/colors/gruvbox.rasi b/config/rofi/colors/gruvbox.rasi deleted file mode 100644 index 2ee85d0..0000000 --- a/config/rofi/colors/gruvbox.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #282828FF; - background-alt: #353535FF; - foreground: #EBDBB2FF; - selected: #83A598FF; - active: #B8BB26FF; - urgent: #FB4934FF; -} diff --git a/config/rofi/colors/lovelace.rasi b/config/rofi/colors/lovelace.rasi deleted file mode 100644 index 80140ee..0000000 --- a/config/rofi/colors/lovelace.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1D1F28FF; - background-alt: #282A36FF; - foreground: #FDFDFDFF; - selected: #79E6F3FF; - active: #5ADECDFF; - urgent: #F37F97FF; -} diff --git a/config/rofi/colors/navy.rasi b/config/rofi/colors/navy.rasi deleted file mode 100644 index 1289f53..0000000 --- a/config/rofi/colors/navy.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #021B21FF; - background-alt: #0C252BFF; - foreground: #F2F1B9FF; - selected: #44B5B1FF; - active: #7CBF9EFF; - urgent: #C2454EFF; -} diff --git a/config/rofi/colors/nord.rasi b/config/rofi/colors/nord.rasi deleted file mode 100644 index c6bc05d..0000000 --- a/config/rofi/colors/nord.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #2E3440FF; - background-alt: #383E4AFF; - foreground: #E5E9F0FF; - selected: #81A1C1FF; - active: #A3BE8CFF; - urgent: #BF616AFF; -} diff --git a/config/rofi/colors/onedark.rasi b/config/rofi/colors/onedark.rasi deleted file mode 100644 index 7c76108..0000000 --- a/config/rofi/colors/onedark.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1E2127FF; - background-alt: #282B31FF; - foreground: #FFFFFFFF; - selected: #61AFEFFF; - active: #98C379FF; - urgent: #E06C75FF; -} diff --git a/config/rofi/colors/paper.rasi b/config/rofi/colors/paper.rasi deleted file mode 100644 index c3d76e8..0000000 --- a/config/rofi/colors/paper.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #F1F1F1FF; - background-alt: #E0E0E0FF; - foreground: #252525FF; - selected: #008EC4FF; - active: #10A778FF; - urgent: #C30771FF; -} diff --git a/config/rofi/colors/solarized.rasi b/config/rofi/colors/solarized.rasi deleted file mode 100644 index 9051e13..0000000 --- a/config/rofi/colors/solarized.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #002B36FF; - background-alt: #073642FF; - foreground: #EEE8D5FF; - selected: #268BD2FF; - active: #859900FF; - urgent: #DC322FFF; -} diff --git a/config/rofi/colors/tokyonight.rasi b/config/rofi/colors/tokyonight.rasi deleted file mode 100644 index 1145cbd..0000000 --- a/config/rofi/colors/tokyonight.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Levi Lacoss (fishyfishfish55) - * Github : @fishyfishfish55 - * - * Colors - **/ - -* { - background: #15161EFF; - background-alt: #1A1B26FF; - foreground: #C0CAF5FF; - selected: #33467CFF; - active: #414868FF; - urgent: #F7768EFF; -} diff --git a/config/rofi/colors/yousai.rasi b/config/rofi/colors/yousai.rasi deleted file mode 100644 index 757cab3..0000000 --- a/config/rofi/colors/yousai.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #F5E7DEFF; - background-alt: #EBDCD2FF; - foreground: #34302DFF; - selected: #D97742FF; - active: #BF8F60FF; - urgent: #B23636FF; -} diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi deleted file mode 100644 index 58a5e0d..0000000 --- a/config/rofi/config.rasi +++ /dev/null @@ -1,181 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Configuration For Rofi Version: 1.7.3 - **/ - -configuration { - /*---------- General setting ----------*/ - modi: "drun,run,filebrowser,window"; - case-sensitive: false; - cycle: true; - filter: ""; - scroll-method: 0; - normalize-match: true; - show-icons: true; - icon-theme: "Papirus"; -/* cache-dir: ;*/ - steal-focus: false; -/* dpi: -1;*/ - - /*---------- Matching setting ----------*/ - matching: "normal"; - tokenize: true; - - /*---------- SSH settings ----------*/ - ssh-client: "ssh"; - ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]"; - parse-hosts: true; - parse-known-hosts: true; - - /*---------- Drun settings ----------*/ - drun-categories: ""; - drun-match-fields: "name,generic,exec,categories,keywords"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - drun-show-actions: false; - drun-url-launcher: "xdg-open"; - drun-use-desktop-cache: false; - drun-reload-desktop-cache: false; - drun { - /** Parse user desktop files. */ - parse-user: true; - /** Parse system desktop files. */ - parse-system: true; - } - - /*---------- Run settings ----------*/ - run-command: "{cmd}"; - run-list-command: ""; - run-shell-command: "{terminal} -e {cmd}"; - - /*---------- Fallback Icon ----------*/ - run,drun { - fallback-icon: "application-x-addon"; - } - - /*---------- Window switcher settings ----------*/ - window-match-fields: "title,class,role,name,desktop"; - window-command: "wmctrl -i -R {window}"; - window-format: "{w} - {c} - {t:0}"; - window-thumbnail: false; - - /*---------- Combi settings ----------*/ -/* combi-modi: "window,run";*/ -/* combi-hide-mode-prefix: false;*/ -/* combi-display-format: "{mode} {text}";*/ - - /*---------- History and Sorting ----------*/ - disable-history: false; - sorting-method: "normal"; - max-history-size: 25; - - /*---------- Display setting ----------*/ - display-window: "Windows"; - display-windowcd: "Window CD"; - display-run: "Run"; - display-ssh: "SSH"; - display-drun: "Apps"; - display-combi: "Combi"; - display-keys: "Keys"; - display-filebrowser: "Files"; - - /*---------- Misc setting ----------*/ - terminal: "rofi-sensible-terminal"; - font: "Mono 12"; - sort: false; - threads: 0; - click-to-exit: true; -/* ignored-prefixes: "";*/ -/* pid: "/run/user/1000/rofi.pid";*/ - - /*---------- File browser settings ----------*/ - filebrowser { -/* directory: "/home";*/ - directories-first: true; - sorting-method: "name"; - } - - /*---------- Other settings ----------*/ - timeout { - action: "kb-cancel"; - delay: 0; - } - - /*---------- Keybindings ----------*/ -/* - kb-primary-paste: "Control+V,Shift+Insert"; - kb-secondary-paste: "Control+v,Insert"; - kb-clear-line: "Control+w"; - kb-move-front: "Control+a"; - kb-move-end: "Control+e"; - kb-move-word-back: "Alt+b,Control+Left"; - kb-move-word-forward: "Alt+f,Control+Right"; - kb-move-char-back: "Left,Control+b"; - kb-move-char-forward: "Right,Control+f"; - kb-remove-word-back: "Control+Alt+h,Control+BackSpace"; - kb-remove-word-forward: "Control+Alt+d"; - kb-remove-char-forward: "Delete,Control+d"; - kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h"; - kb-remove-to-eol: "Control+k"; - kb-remove-to-sol: "Control+u"; - kb-accept-entry: "Control+j,Control+m,Return,KP_Enter"; - kb-accept-custom: "Control+Return"; - kb-accept-custom-alt: "Control+Shift+Return"; - kb-accept-alt: "Shift+Return"; - kb-delete-entry: "Shift+Delete"; - kb-mode-next: "Shift+Right,Control+Tab"; - kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab"; - kb-mode-complete: "Control+l"; - kb-row-left: "Control+Page_Up"; - kb-row-right: "Control+Page_Down"; - kb-row-down: "Down,Control+n"; - kb-page-prev: "Page_Up"; - kb-page-next: "Page_Down"; - kb-row-first: "Home,KP_Home"; - kb-row-last: "End,KP_End"; - kb-row-select: "Control+space"; - kb-screenshot: "Alt+S"; - kb-ellipsize: "Alt+period"; - kb-toggle-case-sensitivity: "grave,dead_grave"; - kb-toggle-sort: "Alt+grave"; - kb-cancel: "Escape,Control+g,Control+bracketleft"; - kb-custom-1: "Alt+1"; - kb-custom-2: "Alt+2"; - kb-custom-3: "Alt+3"; - kb-custom-4: "Alt+4"; - kb-custom-5: "Alt+5"; - kb-custom-6: "Alt+6"; - kb-custom-7: "Alt+7"; - kb-custom-8: "Alt+8"; - kb-custom-9: "Alt+9"; - kb-custom-10: "Alt+0"; - kb-custom-11: "Alt+exclam"; - kb-custom-12: "Alt+at"; - kb-custom-13: "Alt+numbersign"; - kb-custom-14: "Alt+dollar"; - kb-custom-15: "Alt+percent"; - kb-custom-16: "Alt+dead_circumflex"; - kb-custom-17: "Alt+ampersand"; - kb-custom-18: "Alt+asterisk"; - kb-custom-19: "Alt+parenleft"; - kb-select-1: "Super+1"; - kb-select-2: "Super+2"; - kb-select-3: "Super+3"; - kb-select-4: "Super+4"; - kb-select-5: "Super+5"; - kb-select-6: "Super+6"; - kb-select-7: "Super+7"; - kb-select-8: "Super+8"; - kb-select-9: "Super+9"; - kb-select-10: "Super+0"; - ml-row-left: "ScrollLeft"; - ml-row-right: "ScrollRight"; - ml-row-up: "ScrollUp"; - ml-row-down: "ScrollDown"; - me-select-entry: "MousePrimary"; - me-accept-entry: "MouseDPrimary"; - me-accept-custom: "Control+MouseDPrimary"; -*/ -} diff --git a/config/rofi/images/a.png b/config/rofi/images/a.png Binary files differdeleted file mode 100644 index d70c5fb..0000000 --- a/config/rofi/images/a.png +++ /dev/null diff --git a/config/rofi/images/b.png b/config/rofi/images/b.png Binary files differdeleted file mode 100644 index 34214a2..0000000 --- a/config/rofi/images/b.png +++ /dev/null diff --git a/config/rofi/images/c.png b/config/rofi/images/c.png Binary files differdeleted file mode 100644 index 9e18e5f..0000000 --- a/config/rofi/images/c.png +++ /dev/null diff --git a/config/rofi/images/d.png b/config/rofi/images/d.png Binary files differdeleted file mode 100644 index 5f68a1b..0000000 --- a/config/rofi/images/d.png +++ /dev/null diff --git a/config/rofi/images/e.jpg b/config/rofi/images/e.jpg Binary files differdeleted file mode 100644 index 51995e4..0000000 --- a/config/rofi/images/e.jpg +++ /dev/null diff --git a/config/rofi/images/f.png b/config/rofi/images/f.png Binary files differdeleted file mode 100644 index fb69e73..0000000 --- a/config/rofi/images/f.png +++ /dev/null diff --git a/config/rofi/images/flowers-1.png b/config/rofi/images/flowers-1.png Binary files differdeleted file mode 100644 index 155b593..0000000 --- a/config/rofi/images/flowers-1.png +++ /dev/null diff --git a/config/rofi/images/flowers-2.png b/config/rofi/images/flowers-2.png Binary files differdeleted file mode 100644 index e4bf205..0000000 --- a/config/rofi/images/flowers-2.png +++ /dev/null diff --git a/config/rofi/images/flowers-3.png b/config/rofi/images/flowers-3.png Binary files differdeleted file mode 100644 index 2c6f3a6..0000000 --- a/config/rofi/images/flowers-3.png +++ /dev/null diff --git a/config/rofi/images/g.png b/config/rofi/images/g.png Binary files differdeleted file mode 100644 index d42e1f4..0000000 --- a/config/rofi/images/g.png +++ /dev/null diff --git a/config/rofi/images/gradient.png b/config/rofi/images/gradient.png Binary files differdeleted file mode 100644 index e51c308..0000000 --- a/config/rofi/images/gradient.png +++ /dev/null diff --git a/config/rofi/images/h.jpg b/config/rofi/images/h.jpg Binary files differdeleted file mode 100644 index 7829121..0000000 --- a/config/rofi/images/h.jpg +++ /dev/null diff --git a/config/rofi/images/i.jpg b/config/rofi/images/i.jpg Binary files differdeleted file mode 100644 index f31ee84..0000000 --- a/config/rofi/images/i.jpg +++ /dev/null diff --git a/config/rofi/images/j.jpg b/config/rofi/images/j.jpg Binary files differdeleted file mode 100644 index e70a715..0000000 --- a/config/rofi/images/j.jpg +++ /dev/null diff --git a/config/rofi/images/paper.png b/config/rofi/images/paper.png Binary files differdeleted file mode 100644 index 4e073fd..0000000 --- a/config/rofi/images/paper.png +++ /dev/null diff --git a/config/rofi/images/user.jpeg b/config/rofi/images/user.jpeg Binary files differdeleted file mode 100644 index 3490fed..0000000 --- a/config/rofi/images/user.jpeg +++ /dev/null diff --git a/config/rofi/launchers/type-1/launcher.sh b/config/rofi/launchers/type-1/launcher.sh deleted file mode 100755 index 04bb8fd..0000000 --- a/config/rofi/launchers/type-1/launcher.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 -## style-11 style-12 style-13 style-14 style-15 - -dir="$HOME/.config/rofi/launchers/type-1" -theme='style-6' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-1/shared/colors.rasi b/config/rofi/launchers/type-1/shared/colors.rasi deleted file mode 100644 index 2d763d2..0000000 --- a/config/rofi/launchers/type-1/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/lovelace.rasi" diff --git a/config/rofi/launchers/type-1/shared/fonts.rasi b/config/rofi/launchers/type-1/shared/fonts.rasi deleted file mode 100644 index 430c73d..0000000 --- a/config/rofi/launchers/type-1/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 10"; -} diff --git a/config/rofi/launchers/type-1/style-1.rasi b/config/rofi/launchers/type-1/style-1.rasi deleted file mode 100644 index 2fff263..0000000 --- a/config/rofi/launchers/type-1/style-1.rasi +++ /dev/null @@ -1,307 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser"; - show-icons: false; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 10px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 5px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 5px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 20px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-10.rasi b/config/rofi/launchers/type-1/style-10.rasi deleted file mode 100644 index e3f413b..0000000 --- a/config/rofi/launchers/type-1/style-10.rasi +++ /dev/null @@ -1,323 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(foreground); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: north; - anchor: north; - fullscreen: false; - width: 100%; - x-offset: 0px; - y-offset: 0px; - - children: [ horibox ]; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Horizontal Box -----*****/ -horibox { - spacing: 0px; - background-color: @background-colour; - text-color: @foreground-colour; - orientation: horizontal; - children: [ "prompt", "textbox-prompt-colon","entry", "listview" ]; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 10px; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 10px 0px 10px 0px; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 10px; - expand: false; - width: 20em; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 100; - cycle: true; - dynamic: true; - scrollbar: false; - layout: horizontal; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 8px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 10px 8px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; -} -button { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: transparent; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(normal-foreground); - text-color: var(normal-background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 8px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-11.rasi b/config/rofi/launchers/type-1/style-11.rasi deleted file mode 100644 index 59f8849..0000000 --- a/config/rofi/launchers/type-1/style-11.rasi +++ /dev/null @@ -1,307 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser"; - show-icons: false; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-12.rasi b/config/rofi/launchers/type-1/style-12.rasi deleted file mode 100644 index 8d30e4a..0000000 --- a/config/rofi/launchers/type-1/style-12.rasi +++ /dev/null @@ -1,325 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser"; - show-icons: false; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); - - /* For Screens with 1920x1080 resolution */ - screen-margin: 310px 400px; - box-spacing: 20px; - element-padding: 15px; - element-radius: 100%; - element-spacing: 15px; - - /* For Screens with 1366x768 resolution */ - /* - screen-margin: 190px 250px; - box-spacing: 20px; - element-padding: 10px; - element-radius: 100%; - element-spacing: 10px; - */ - /* Use this as reference and create for your screen resolution */ -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: @box-spacing; - margin: @screen-margin; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 10px ; - handle-color: @handle-colour; - border-radius: @element-radius; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: @element-padding; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-13.rasi b/config/rofi/launchers/type-1/style-13.rasi deleted file mode 100644 index 1b82aa2..0000000 --- a/config/rofi/launchers/type-1/style-13.rasi +++ /dev/null @@ -1,325 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: false; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); - - /* For Screens with 1920x1080 resolution */ - screen-margin: 310px 500px; - box-spacing: 20px; - element-padding: 15px; - element-radius: 8px; - element-spacing: 15px; - - /* For Screens with 1366x768 resolution */ - /* - screen-margin: 190px 350px; - box-spacing: 20px; - element-padding: 10px; - element-radius: 6px; - element-spacing: 10px; - */ - /* Use this as reference and create for your screen resolution */ -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: @box-spacing; - margin: @screen-margin; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ":"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 8px ; - handle-color: @handle-colour; - border-radius: @element-radius; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: @element-padding; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-14.rasi b/config/rofi/launchers/type-1/style-14.rasi deleted file mode 100644 index 2cbceca..0000000 --- a/config/rofi/launchers/type-1/style-14.rasi +++ /dev/null @@ -1,335 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); - - /* For Screens with 1920x1080 resolution */ - screen-margin: 275px 400px; - box-spacing: 20px; - list-padding: 8px; - element-padding: 15px; - element-radius: 8px; - element-spacing: 15px; - - /* For Screens with 1366x768 resolution */ - /* - screen-margin: 120px 225px; - box-spacing: 20px; - list-padding: 4px; - element-padding: 10px; - element-radius: 6px; - element-spacing: 10px; - */ - /* Use this as reference and create for your screen resolution */ -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: @box-spacing; - margin: @screen-margin; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry", "mode-switcher" ]; -} - -prompt { - enabled: true; - padding: @element-padding; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - padding: @element-padding; - str: ""; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; -} -entry { - enabled: true; - expand: true; - padding: @element-padding; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 8px ; - handle-color: @handle-colour; - border-radius: @element-radius; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @list-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: @element-padding; - width: 125px; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: @element-padding; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-15.rasi b/config/rofi/launchers/type-1/style-15.rasi deleted file mode 100644 index e443bb6..0000000 --- a/config/rofi/launchers/type-1/style-15.rasi +++ /dev/null @@ -1,345 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); - - /* For Screens with 1920x1080 resolution */ - screen-margin: 275px 400px; - box-spacing: 20px; - list-padding: 8px; - element-padding: 15px; - element-radius: 8px; - element-spacing: 15px; - - /* For Screens with 1366x768 resolution */ - /* - screen-margin: 180px 225px; - box-spacing: 20px; - list-padding: 4px; - element-padding: 10px; - element-radius: 6px; - element-spacing: 10px; - */ - /* Use this as reference and create for your screen resolution */ -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: @box-spacing; - margin: @screen-margin; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "custombox" ]; -} - -/*****----- A Custom Box -----*****/ -custombox { - spacing: @box-spacing; - background-color: @background-colour; - text-color: @foreground-colour; - orientation: horizontal; - children: [ "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - padding: @element-padding; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - padding: @element-padding; - str: ""; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; -} -entry { - enabled: true; - expand: true; - padding: @element-padding; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 8px ; - handle-color: @handle-colour; - border-radius: @element-radius; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @list-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - orientation: vertical; - spacing: @box-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: @element-padding; - width: 125px; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: @element-padding; - border: 0px solid; - border-radius: @element-radius; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: @element-padding; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-2.rasi b/config/rofi/launchers/type-1/style-2.rasi deleted file mode 100644 index 6f99d10..0000000 --- a/config/rofi/launchers/type-1/style-2.rasi +++ /dev/null @@ -1,307 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(foreground); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 8px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(normal-foreground); - text-color: var(normal-background); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-3.rasi b/config/rofi/launchers/type-1/style-3.rasi deleted file mode 100644 index 156e039..0000000 --- a/config/rofi/launchers/type-1/style-3.rasi +++ /dev/null @@ -1,307 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(foreground); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 8px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(normal-foreground); - text-color: var(normal-background); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(normal-foreground); - text-color: var(normal-background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-4.rasi b/config/rofi/launchers/type-1/style-4.rasi deleted file mode 100644 index 3e41328..0000000 --- a/config/rofi/launchers/type-1/style-4.rasi +++ /dev/null @@ -1,308 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(foreground); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 450px; - height: 100%; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 8px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(normal-foreground); - text-color: var(normal-background); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; -} -button { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: transparent; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(normal-foreground); - text-color: var(normal-background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 8px; - border: 0px solid; - border-radius: 4px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-5.rasi b/config/rofi/launchers/type-1/style-5.rasi deleted file mode 100644 index 4e88e83..0000000 --- a/config/rofi/launchers/type-1/style-5.rasi +++ /dev/null @@ -1,309 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry", "mode-switcher" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 5px 0px; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 5px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 5px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 8px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-6.rasi b/config/rofi/launchers/type-1/style-6.rasi deleted file mode 100644 index 51178bf..0000000 --- a/config/rofi/launchers/type-1/style-6.rasi +++ /dev/null @@ -1,310 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "mode-switcher", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 5px 0px; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 5px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 12px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 12px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 0px; - border: 2px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-7.rasi b/config/rofi/launchers/type-1/style-7.rasi deleted file mode 100644 index 6f8ef84..0000000 --- a/config/rofi/launchers/type-1/style-7.rasi +++ /dev/null @@ -1,313 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px 0px 10px 0px; - padding: 5px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 5px 0px; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 5px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 10px; - border: 0px 2px 2px 2px ; - border-radius: 0px 0px 10px 10px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 6px; - border: 0px solid; - border-radius: 6px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px 0px 2px 0px ; - border-radius: 10px 10px 0px 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: inherit; - cursor: pointer; -} -button selected { - border: 2px 2px 0px 2px ; - border-radius: 10px 10px 0px 0px; - border-color: @border-colour; - background-color: var(normal-background); - text-color: var(normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px 0px 10px 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-8.rasi b/config/rofi/launchers/type-1/style-8.rasi deleted file mode 100644 index ca5623a..0000000 --- a/config/rofi/launchers/type-1/style-8.rasi +++ /dev/null @@ -1,323 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,ssh,window"; - show-icons: false; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - display-ssh: " SSH"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "custombox" ]; -} - -/*****----- A Custom Box -----*****/ -custombox { - spacing: 10px; - background-color: @background-colour; - text-color: @foreground-colour; - orientation: horizontal; - children: [ "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px 12px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 5px 0px; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 5px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - orientation: vertical; - spacing: 10px; - margin: 0px; - padding: 0px 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 0px 20px 0px 20px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 12px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-1/style-9.rasi b/config/rofi/launchers/type-1/style-9.rasi deleted file mode 100644 index ebf79ca..0000000 --- a/config/rofi/launchers/type-1/style-9.rasi +++ /dev/null @@ -1,326 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,ssh,window"; - show-icons: false; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - display-ssh: " SSH"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 700px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "custombox" ]; -} - -/*****----- A Custom Box -----*****/ -custombox { - spacing: 0px; - background-color: @background-colour; - text-color: @foreground-colour; - orientation: horizontal; - children: [ "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px 12px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 5px 0px; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 5px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 10px; - border: 2px 2px 2px 0px; - border-radius: 0px 8px 8px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - orientation: vertical; - spacing: 0px; - margin: 0px; - padding: 0px 0px; - border: 0px solid; - border-radius: 8px 0px 0px 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; -} -button { - padding: 0px 20px 0px 20px; - border: 0px 2px 0px 0px; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - cursor: pointer; -} -button selected { - border: 2px 0px 2px 2px; - border-radius: 8px 0px 0px 8px; - border-color: @border-colour; - background-color: var(selected-normal-foreground); - text-color: var(selected-normal-background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 12px; - border: 0px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 8px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-2/launcher.sh b/config/rofi/launchers/type-2/launcher.sh deleted file mode 100755 index 3422cd7..0000000 --- a/config/rofi/launchers/type-2/launcher.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 -## style-11 style-12 style-13 style-14 style-15 - -dir="$HOME/.config/rofi/launchers/type-2" -theme='style-1' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-2/shared/colors.rasi b/config/rofi/launchers/type-2/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/config/rofi/launchers/type-2/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/config/rofi/launchers/type-2/shared/fonts.rasi b/config/rofi/launchers/type-2/shared/fonts.rasi deleted file mode 100644 index 50499c9..0000000 --- a/config/rofi/launchers/type-2/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "Iosevka Nerd Font 10"; -} diff --git a/config/rofi/launchers/type-2/style-1.rasi b/config/rofi/launchers/type-2/style-1.rasi deleted file mode 100644 index fe2c342..0000000 --- a/config/rofi/launchers/type-2/style-1.rasi +++ /dev/null @@ -1,171 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @selected; - text-color: @background; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-10.rasi b/config/rofi/launchers/type-2/style-10.rasi deleted file mode 100644 index 09e3a41..0000000 --- a/config/rofi/launchers/type-2/style-10.rasi +++ /dev/null @@ -1,194 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - /* For Screens with 1920x1080 resolution */ - screen-margin: 180px 150px; - box-spacing: 40px; - icon-size: 96px; - element-padding: 30px; - element-spacing: 15px; - - /* For Screens with 1366x768 resolution */ - /* - screen-margin: 120px 60px; - box-spacing: 40px; - icon-size: 64px; - element-padding: 20px; - element-spacing: 10px; - */ - /* Use this as reference and create for your screen resolution */ -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: @box-spacing; - margin: @screen-margin; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px 50% 0px 0px; - padding: 15px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @selected; - text-color: @background; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 8; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: @element-spacing; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: @element-spacing; - margin: 0px; - padding: @element-padding; - border: 0px solid; - border-radius: 30px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 4px 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: @icon-size; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 150px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-11.rasi b/config/rofi/launchers/type-2/style-11.rasi deleted file mode 100644 index 58fa61e..0000000 --- a/config/rofi/launchers/type-2/style-11.rasi +++ /dev/null @@ -1,183 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: "Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 150px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 12px; - border-radius: 100%; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 12px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 20px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background-alt; - text-color: @foreground; -} -element alternate.normal { - background-color: @background-alt; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 2px 2px; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @selected; -} -element-icon { - padding: 0px 0px 0px 0px; - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 100px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-12.rasi b/config/rofi/launchers/type-2/style-12.rasi deleted file mode 100644 index 858a905..0000000 --- a/config/rofi/launchers/type-2/style-12.rasi +++ /dev/null @@ -1,179 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: " Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 200px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 15px; - border-radius: 100%; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 350px; - padding: 15px 20px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 4; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - padding: 0px 0px 0px 0px; - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 100px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-13.rasi b/config/rofi/launchers/type-2/style-13.rasi deleted file mode 100644 index b21ca00..0000000 --- a/config/rofi/launchers/type-2/style-13.rasi +++ /dev/null @@ -1,179 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: " Apps"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 100%; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 50px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 15px; - border-radius: 15px; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 350px; - padding: 15px 20px; - border-radius: 15px; - background-color: @background-alt; - text-color: @foreground; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 10; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 30px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - padding: 0px 0px 0px 0px; - background-color: transparent; - text-color: inherit; - size: 96px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 50px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-14.rasi b/config/rofi/launchers/type-2/style-14.rasi deleted file mode 100644 index 049979b..0000000 --- a/config/rofi/launchers/type-2/style-14.rasi +++ /dev/null @@ -1,188 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: " Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1200px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; - orientation: horizontal; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - children: [ "prompt", "entry" ]; - orientation: vertical; -} - -prompt { - enabled: true; - expand: false; - padding: 15px 50px; - border-radius: 10px; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - padding: 15px 20px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 4; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - orientation: horizontal; - cursor: pointer; -} -element normal.normal { - background-color: @background-alt; - text-color: @foreground; -} -element alternate.normal { - background-color: @background-alt; - text-color: @foreground; -} -element selected.normal { - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @selected; - background-color: @background-alt; - text-color: @selected; -} -element-icon { - padding: 0px; - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-15.rasi b/config/rofi/launchers/type-2/style-15.rasi deleted file mode 100644 index 4b14fc1..0000000 --- a/config/rofi/launchers/type-2/style-15.rasi +++ /dev/null @@ -1,151 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: " Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 450px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "listview", "entry" ]; -} - -/*****----- Inputbar -----*****/ -entry { - enabled: true; - expand: false; - padding: 20px 0px; - background-color: @selected; - text-color: @background; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 20px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-2.rasi b/config/rofi/launchers/type-2/style-2.rasi deleted file mode 100644 index 49502a0..0000000 --- a/config/rofi/launchers/type-2/style-2.rasi +++ /dev/null @@ -1,171 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 700px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @background; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-3.rasi b/config/rofi/launchers/type-2/style-3.rasi deleted file mode 100644 index 5e3a6f9..0000000 --- a/config/rofi/launchers/type-2/style-3.rasi +++ /dev/null @@ -1,171 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @foreground; - text-color: @background; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 6px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @background; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-4.rasi b/config/rofi/launchers/type-2/style-4.rasi deleted file mode 100644 index f5ab848..0000000 --- a/config/rofi/launchers/type-2/style-4.rasi +++ /dev/null @@ -1,180 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: "Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 12px; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 12px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background-alt; - text-color: @foreground; -} -element alternate.normal { - background-color: @background-alt; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 0px 4px; - border-color: @selected; - background-color: @background-alt; - text-color: @selected; -} -element-icon { - padding: 0px 0px 0px 10px; - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-5.rasi b/config/rofi/launchers/type-2/style-5.rasi deleted file mode 100644 index 50ce121..0000000 --- a/config/rofi/launchers/type-2/style-5.rasi +++ /dev/null @@ -1,182 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: "Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 700px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 16px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 16px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 12px; - border-radius: 16px; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 12px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 7; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 16px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background-alt; - text-color: @foreground; -} -element alternate.normal { - background-color: @background-alt; - text-color: @foreground; -} -element selected.normal { - border: 0px 5px 0px 5px; - border-radius: 16px; - border-color: @selected; - background-color: @background-alt; - text-color: @selected; -} -element-icon { - padding: 0px 0px 0px 10px; - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 16px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-6.rasi b/config/rofi/launchers/type-2/style-6.rasi deleted file mode 100644 index 2f0ab2b..0000000 --- a/config/rofi/launchers/type-2/style-6.rasi +++ /dev/null @@ -1,172 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 450px; - height: 100%; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @selected; - text-color: @background; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 6px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-7.rasi b/config/rofi/launchers/type-2/style-7.rasi deleted file mode 100644 index 49e14be..0000000 --- a/config/rofi/launchers/type-2/style-7.rasi +++ /dev/null @@ -1,172 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 750px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @selected; - text-color: @background; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 20px 10px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: @background; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 12px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-8.rasi b/config/rofi/launchers/type-2/style-8.rasi deleted file mode 100644 index ee20df1..0000000 --- a/config/rofi/launchers/type-2/style-8.rasi +++ /dev/null @@ -1,184 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: " Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 40px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - padding: 15px; - border-radius: 100%; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - padding: 15px; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 15px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 20px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - background-color: transparent; - text-color: @foreground; -} -element-icon { - padding: 30px; - border-radius: 20px; - background-color: @background-alt; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - padding: 10px; - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element-text selected { - border-radius: 100%; - background-color: @selected; - text-color: @background; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 2px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-2/style-9.rasi b/config/rofi/launchers/type-2/style-9.rasi deleted file mode 100644 index 75dc924..0000000 --- a/config/rofi/launchers/type-2/style-9.rasi +++ /dev/null @@ -1,179 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: " Applications"; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 40px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - padding: 15px; - border-radius: 100%; - background-color: @selected; - text-color: @background; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - padding: 15px; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 15px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: horizontal; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border-radius: 100%; - background-color: @background-alt; - text-color: @selected; -} -element-icon { - padding: 10px; - border-radius: 100%; - background-color: @selected; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 2px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -textbox { - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/launcher.sh b/config/rofi/launchers/type-3/launcher.sh deleted file mode 100755 index ae97b5f..0000000 --- a/config/rofi/launchers/type-3/launcher.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 - -dir="$HOME/.config/rofi/launchers/type-3" -theme='style-10' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-3/shared/colors.rasi b/config/rofi/launchers/type-3/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/config/rofi/launchers/type-3/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/config/rofi/launchers/type-3/shared/fonts.rasi b/config/rofi/launchers/type-3/shared/fonts.rasi deleted file mode 100644 index 50499c9..0000000 --- a/config/rofi/launchers/type-3/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "Iosevka Nerd Font 10"; -} diff --git a/config/rofi/launchers/type-3/style-1.rasi b/config/rofi/launchers/type-3/style-1.rasi deleted file mode 100644 index 3688452..0000000 --- a/config/rofi/launchers/type-3/style-1.rasi +++ /dev/null @@ -1,172 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 750px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - background-color: black / 10%; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: white / 5%; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: transparent; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: transparent; - text-color: inherit; -} -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 20px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - background-color: white / 5%; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 15px; - border: 2px solid; - border-radius: 10px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-10.rasi b/config/rofi/launchers/type-3/style-10.rasi deleted file mode 100644 index 3344d36..0000000 --- a/config/rofi/launchers/type-3/style-10.rasi +++ /dev/null @@ -1,175 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px 500px 0px 0px; - padding: 12px; - border: 0px 0px 0px 4px; - border-radius: 0px 100% 100% 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 7; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 0px 4px; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 40px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-2.rasi b/config/rofi/launchers/type-3/style-2.rasi deleted file mode 100644 index 3a22461..0000000 --- a/config/rofi/launchers/type-3/style-2.rasi +++ /dev/null @@ -1,173 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 100px; - margin: 0px; - padding: 100px 225px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0% 25%; - padding: 18px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: white / 5%; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: transparent; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: transparent; - text-color: inherit; -} -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 8; - lines: 4; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 35px 10px; - border: 0px solid; - border-radius: 15px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - background-color: white / 5%; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 72px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 100px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-3.rasi b/config/rofi/launchers/type-3/style-3.rasi deleted file mode 100644 index c604a4b..0000000 --- a/config/rofi/launchers/type-3/style-3.rasi +++ /dev/null @@ -1,173 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 100px; - margin: 0px; - padding: 100px 225px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0% 28%; - padding: 10px; - border: 1px solid; - border-radius: 6px; - border-color: white / 25%; - background-color: white / 5%; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: transparent; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: transparent; - text-color: inherit; -} -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 7; - lines: 4; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 35px 10px; - border: 0px solid; - border-radius: 15px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - background-color: white / 5%; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 72px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 100px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-4.rasi b/config/rofi/launchers/type-3/style-4.rasi deleted file mode 100644 index db9386b..0000000 --- a/config/rofi/launchers/type-3/style-4.rasi +++ /dev/null @@ -1,175 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 750px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 12px; - border: 1px solid; - border-radius: 4px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 20px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border: 1px solid; - border-radius: 4px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 10px; - border: 1px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-5.rasi b/config/rofi/launchers/type-3/style-5.rasi deleted file mode 100644 index 01b6d47..0000000 --- a/config/rofi/launchers/type-3/style-5.rasi +++ /dev/null @@ -1,175 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: north; - anchor: north; - fullscreen: false; - width: 750px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 1px solid; - border-radius: 4px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 7; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: horizontal; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border: 1px solid; - border-radius: 4px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-6.rasi b/config/rofi/launchers/type-3/style-6.rasi deleted file mode 100644 index 1c6c33b..0000000 --- a/config/rofi/launchers/type-3/style-6.rasi +++ /dev/null @@ -1,174 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 500px; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; - children: [ "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 20px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 128px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-7.rasi b/config/rofi/launchers/type-3/style-7.rasi deleted file mode 100644 index b516c5f..0000000 --- a/config/rofi/launchers/type-3/style-7.rasi +++ /dev/null @@ -1,176 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 600px; - height: 100%; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 40px 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 12px 16px; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search Apps"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 2px 0px; - border-radius: 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-8.rasi b/config/rofi/launchers/type-3/style-8.rasi deleted file mode 100644 index d9bb6de..0000000 --- a/config/rofi/launchers/type-3/style-8.rasi +++ /dev/null @@ -1,175 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 500px; - x-offset: 20px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 30px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 12px 16px; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search Apps"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 4; - lines: 4; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 2px 0px; - border-radius: 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-3/style-9.rasi b/config/rofi/launchers/type-3/style-9.rasi deleted file mode 100644 index dbf1a4e..0000000 --- a/config/rofi/launchers/type-3/style-9.rasi +++ /dev/null @@ -1,176 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: east; - anchor: east; - fullscreen: false; - width: 180px; - height: 100%; - x-offset: 0px; - y-offset: 0px; - - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - cursor: "default"; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 30px 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 12px 16px; - border: 0px 0px 2px 0px; - border-radius: 4px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @selected; - border-radius: 0px; - background-color: @background-alt; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - orientation: vertical; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: @foreground; -} -element selected.normal { - border: 0px 0px 2px 0px; - border-radius: 4px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: black / 10%; - text-color: @foreground; -} -textbox { - background-color: transparent; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; -} diff --git a/config/rofi/launchers/type-4/launcher.sh b/config/rofi/launchers/type-4/launcher.sh deleted file mode 100755 index 6572cda..0000000 --- a/config/rofi/launchers/type-4/launcher.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 - -dir="$HOME/.config/rofi/launchers/type-4" -theme='style-1' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-4/shared/colors.rasi b/config/rofi/launchers/type-4/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/config/rofi/launchers/type-4/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/config/rofi/launchers/type-4/shared/fonts.rasi b/config/rofi/launchers/type-4/shared/fonts.rasi deleted file mode 100644 index 50499c9..0000000 --- a/config/rofi/launchers/type-4/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "Iosevka Nerd Font 10"; -} diff --git a/config/rofi/launchers/type-4/style-1.rasi b/config/rofi/launchers/type-4/style-1.rasi deleted file mode 100644 index 1aaa5b9..0000000 --- a/config/rofi/launchers/type-4/style-1.rasi +++ /dev/null @@ -1,274 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-10.rasi b/config/rofi/launchers/type-4/style-10.rasi deleted file mode 100644 index b4ec747..0000000 --- a/config/rofi/launchers/type-4/style-10.rasi +++ /dev/null @@ -1,284 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: false; - display-drun: " Apps"; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: north; - anchor: north; - fullscreen: false; - width: 100%; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 5px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "prompt", "entry", "listview" ]; - orientation: horizontal; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 5px 10px; - border: 0px; - border-radius: 100%; - border-color: @border-colour; - background-color: @border-colour; - text-color: @background-colour; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - padding: 5px 10px; - width: 200px; - border-radius: 100%; - background-color: @alternate-background; - text-color: @foreground-colour; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - lines: 100; - cycle: true; - dynamic: true; - scrollbar: false; - layout: horizontal; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-2.rasi b/config/rofi/launchers/type-4/style-2.rasi deleted file mode 100644 index 78ad79e..0000000 --- a/config/rofi/launchers/type-4/style-2.rasi +++ /dev/null @@ -1,274 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 5px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px 0px 1px dash 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-3.rasi b/config/rofi/launchers/type-4/style-3.rasi deleted file mode 100644 index 3f24a03..0000000 --- a/config/rofi/launchers/type-4/style-3.rasi +++ /dev/null @@ -1,274 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 50px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px 0px 2px dash 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(alternate-background); - text-color: var(selected-normal-background); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-4.rasi b/config/rofi/launchers/type-4/style-4.rasi deleted file mode 100644 index e84ec56..0000000 --- a/config/rofi/launchers/type-4/style-4.rasi +++ /dev/null @@ -1,274 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px 0px 10px 10px; - border: 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: ""; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(alternate-background); - text-color: var(foreground-colour); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-5.rasi b/config/rofi/launchers/type-4/style-5.rasi deleted file mode 100644 index 70e602d..0000000 --- a/config/rofi/launchers/type-4/style-5.rasi +++ /dev/null @@ -1,279 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: "drun"; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @alternate-background; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - padding: 15px; - border: 0px 1px 0px 0px; - border-radius: 0px; - border-color: @alternate-background; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 15px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: ""; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px 15px; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @alternate-background; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(alternate-background); - text-color: var(foreground-colour); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-6.rasi b/config/rofi/launchers/type-4/style-6.rasi deleted file mode 100644 index 6034b34..0000000 --- a/config/rofi/launchers/type-4/style-6.rasi +++ /dev/null @@ -1,275 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: "drun :"; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 35%; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: ""; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(alternate-background); - text-color: var(foreground-colour); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 100px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-7.rasi b/config/rofi/launchers/type-4/style-7.rasi deleted file mode 100644 index 9cdc9c1..0000000 --- a/config/rofi/launchers/type-4/style-7.rasi +++ /dev/null @@ -1,277 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: "drun :"; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - height: 768px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 0px; - padding: 25% 35%; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px; - border-radius: 20px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "entry" ]; -} - -prompt { - enabled: true; - background-color: transparent; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: "::"; - background-color: transparent; - text-color: inherit; -} -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Type here to search for apps"; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 20px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 12px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: white / 5%; - text-color: var(foreground-colour); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: transparent; - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 100px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-8.rasi b/config/rofi/launchers/type-4/style-8.rasi deleted file mode 100644 index 75178de..0000000 --- a/config/rofi/launchers/type-4/style-8.rasi +++ /dev/null @@ -1,274 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser"; - show-icons: false; - display-drun: "drun"; - display-run: "run"; - display-filebrowser: "files"; - display-window: "windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px 5px; - border: 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "prompt", "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ":"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-foreground); - text-color: var(selected-normal-background); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(alternate-background); - text-color: var(selected-normal-background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @border-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-4/style-9.rasi b/config/rofi/launchers/type-4/style-9.rasi deleted file mode 100644 index 73f73c0..0000000 --- a/config/rofi/launchers/type-4/style-9.rasi +++ /dev/null @@ -1,274 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: false; - display-drun: "drun"; - display-run: "run"; - display-filebrowser: "files"; - display-window: "windows"; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - cursor: "default"; - background-color: @background-colour; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 40px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px 5px; - border: 0px 0px 1px 0px; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; - children: [ "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ":"; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "search..."; - placeholder-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: true; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 1px ; - handle-color: @handle-colour; - border-radius: 0px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 2px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-foreground); - text-color: var(urgent-background); -} -element normal.active { - background-color: var(active-foreground); - text-color: var(active-background); -} -element selected.normal { - background-color: var(selected-normal-foreground); - text-color: var(selected-normal-background); -} -element selected.urgent { - background-color: var(selected-urgent-foreground); - text-color: var(selected-urgent-background); -} -element selected.active { - background-color: var(selected-active-foreground); - text-color: var(selected-active-background); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-foreground); - text-color: var(alternate-urgent-background); -} -element alternate.active { - background-color: var(alternate-active-foreground); - text-color: var(alternate-active-background); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 5px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @border-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/config/rofi/launchers/type-5/launcher.sh b/config/rofi/launchers/type-5/launcher.sh deleted file mode 100755 index e9d0a3a..0000000 --- a/config/rofi/launchers/type-5/launcher.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 - -dir="$HOME/.config/rofi/launchers/type-5" -theme='style-1' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-5/style-1.rasi b/config/rofi/launchers/type-5/style-1.rasi deleted file mode 100644 index 21d8cba..0000000 --- a/config/rofi/launchers/type-5/style-1.rasi +++ /dev/null @@ -1,190 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: false; - display-drun: "Applications"; - drun-display-format: ">> {name} [<span weight='light' size='small'><i>({generic})</i></span>]"; -} - -/*****----- Global Properties -----*****/ -* { - font: "Grape Nuts 14"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 860px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: black; - cursor: "default"; - background-image: url("~/.config/rofi/images/paper.png", none); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: black; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 95px 0px 0px 0px; - padding: 0px 30px; - border: 0px; - border-radius: 0px; - border-color: #D79290; - background-color: transparent; - text-color: black; - children: [ "prompt", "entry", "num-filtered-rows", "textbox-num-sep", "num-rows" ]; -} - -prompt { - enabled: true; - font: "Grape Nuts Bold 14"; - background-color: transparent; - text-color: inherit; -} -entry { - enabled: true; - expand: true; - padding: 0px 10px 0px 40px; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: transparent; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: transparent; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: transparent; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 15; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 4px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: black; - background-color: transparent; - text-color: black; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: black; - border-radius: 0px; - background-color: transparent; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px 0px 0px 100px; - border: 0px solid; - border-radius: 0px; - border-color: black; - background-color: transparent; - text-color: black; - cursor: pointer; -} -element normal.normal { - background-color: transparent; - text-color: black; -} -element selected.normal { - background-color: transparent; - text-color: #D76A67; -} -element alternate.normal { - background-color: transparent; - text-color: black; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: black; - background-color: white; - text-color: black; -} -textbox { - vertical-align: 0.5; - horizontal-align: 0.0; -} diff --git a/config/rofi/launchers/type-5/style-2.rasi b/config/rofi/launchers/type-5/style-2.rasi deleted file mode 100644 index 185718f..0000000 --- a/config/rofi/launchers/type-5/style-2.rasi +++ /dev/null @@ -1,177 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}\n[<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "Class : {c}\nWorkspace : {w}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "Iosevka Nerd Font 10"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border-radius: 12px; - cursor: "default"; - background-image: url("~/.config/rofi/images/gradient.png", width); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - margin: 40px; - padding: 40px; - border-radius: 12px; - background-color: white/50%; - children: [ "inputbar", "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px 10%; - padding: 0px 0px 10px 0px; - border: 0px 0px 2px 0px; - border-radius: 0px; - border-color: gray/20%; - background-color: transparent; - children: [ "entry" ]; -} - -entry { - enabled: true; - background-color: transparent; - text-color: gray; - cursor: text; - placeholder: "Type to filter"; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 40px; - margin: 0px; - padding: 20px 0px 0px 0px; - border: 0px solid; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 15px; - border: 1px solid; - border-radius: 8px; - border-color: gray/30%; - background-color: white; - text-color: black; - cursor: pointer; -} -element normal.active { - background-color: #67FF80; - text-color: black; -} -element selected.normal { - background-color: #FDD66F; - text-color: black; -} -element selected.active { - background-color: #FF7F7C; - text-color: black; -} -element-icon { - background-color: transparent; - size: 48px; - cursor: inherit; -} -element-text { - background-color: inherit; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - spacing: 20px; - margin: 0px 10%; - background-color: transparent; - text-color: white; -} -button { - font: "Iosevka Nerd Font Bold 10"; - padding: 6px; - border: 0px solid; - border-radius: 100%; - background-color: #719DF9; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: #F37277; - text-color: inherit; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - background-color: transparent; - text-color: black; -} -textbox { - padding: 20px; - border-radius: 12px; - background-color: white/30%; - text-color: black; - vertical-align: 0.5; - horizontal-align: 0.0; -} diff --git a/config/rofi/launchers/type-5/style-3.rasi b/config/rofi/launchers/type-5/style-3.rasi deleted file mode 100644 index b1563a4..0000000 --- a/config/rofi/launchers/type-5/style-3.rasi +++ /dev/null @@ -1,179 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,filebrowser,window"; - show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; - drun-display-format: "{name}\n[<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "Class : {c}\nWorkspace : {w}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "Iosevka Nerd Font 10"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 500px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border-radius: 10px; - cursor: "default"; - background-color: white; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - padding: 30px; - background-color: transparent; - children: [ "inputbar", "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - background-color: transparent; - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - padding: 12px 16px; - border: 0px; - border-radius: 10px; - border-color: gray/30%; - background-color: gray/15%; - text-color: black; - str: ""; -} -entry { - enabled: true; - padding: 12px 16px; - border: 0px; - border-radius: 10px; - border-color: gray/30%; - background-color: gray/15%; - text-color: black; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 10px; - background-color: transparent; - text-color: black; - cursor: pointer; -} -element normal.active { - background-image: linear-gradient(to right, #19B466, #7BF4B7); - text-color: black; -} -element selected.normal { - border-radius: 10px; - background-image: linear-gradient(to right, #FF9030, #FFC99B); - text-color: black; -} -element selected.active { - background-image: linear-gradient(to right, #EA5553, #EAACAB); - text-color: black; -} -element-icon { - background-color: transparent; - size: 48px; - cursor: inherit; -} -element-text { - background-color: inherit; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - spacing: 15px; - background-color: transparent; -} -button { - font: "Iosevka Nerd Font Bold 10"; - padding: 10px; - border-radius: 100%; - background-image: linear-gradient(to right, #C03FF2, #EEC2FF); - text-color: white; - cursor: pointer; -} -button selected { - background-image: linear-gradient(to right, #44A2F0, #BDDDF8); - text-color: black; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - background-color: white; - text-color: black; -} -textbox { - padding: 0px; - border-radius: 0px; - text-color: black; - vertical-align: 0.5; - horizontal-align: 0.0; -} diff --git a/config/rofi/launchers/type-5/style-4.rasi b/config/rofi/launchers/type-5/style-4.rasi deleted file mode 100644 index bc1e59d..0000000 --- a/config/rofi/launchers/type-5/style-4.rasi +++ /dev/null @@ -1,185 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} {c} {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "Iosevka Nerd Font 10"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border-radius: 20px; - cursor: "default"; - background-color: #22272C; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 25px; - padding: 50px; - background-color: transparent; - children: [ "inputbar", "message","listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px 200px; - padding: 5px; - border: 1px; - border-radius: 100%; - border-color: gray/25%; - background-color: transparent; - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - padding: 8px 11px; - border-radius: 100%; - background-color: white; - text-color: black; - str: ""; -} -entry { - enabled: true; - padding: 8px 12px; - border: 0px; - background-color: transparent; - text-color: white; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px; - border: 0px; - border-radius: 100%; - border-color: gray/15%; - background-color: transparent; - text-color: gray; - cursor: pointer; -} -element normal.active { - background-image: linear-gradient(to right, #4C4F52, #2E343B); - text-color: #19B466; -} -element selected.normal { - background-image: linear-gradient(to right, #4C4F52, #2E343B); - text-color: #FF9030; -} -element selected.active { - background-image: linear-gradient(to right, #4C4F52, #2E343B); - text-color: #EA5553; -} -element-icon { - background-color: transparent; - size: 24px; - cursor: inherit; -} -element-text { - background-color: inherit; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - spacing: 0px; - margin: 0px 200px; - padding: 12px; - border-radius: 100%; - background-color: #2E343B; -} -button { - background-color: inherit; - text-color: white; - cursor: pointer; -} -button selected { - background-color: inherit; - text-color: #FF9030; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - background-color: #22272C; - text-color: white; -} -message { - padding: 0px; - background-color: inherit; - text-color: #FF9030; -} -textbox { - padding: 0px; - border-radius: 0px; - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} diff --git a/config/rofi/launchers/type-5/style-5.rasi b/config/rofi/launchers/type-5/style-5.rasi deleted file mode 100644 index 60e4e22..0000000 --- a/config/rofi/launchers/type-5/style-5.rasi +++ /dev/null @@ -1,163 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; - window-format: "{w} {c} {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "Iosevka Nerd Font 10"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border-radius: 20px; - cursor: "default"; - background-color: #162022; - background-image: url("~/.config/rofi/images/flowers-1.png", width); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 20px; - padding: 40px; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px 200px 0px 0px; - padding: 25px; - border: 2px; - border-radius: 20px; - border-color: white; - background-image: url("~/.config/rofi/images/flowers-3.png", none); - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - padding: 8px 11px; - border-radius: 8px; - background-color: white; - text-color: black; - str: ""; -} -entry { - enabled: true; - padding: 8px 12px; - border: 0px; - background-color: transparent; - text-color: white; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px 200px 0px 0px; - padding: 10px; - border: 2px; - border-radius: 20px; - border-color: white; - background-image: url("~/.config/rofi/images/flowers-2.png", width); - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 5px 10px; - border: 0px; - border-radius: 18px; - border-color: white; - background-color: transparent; - text-color: #162022; - cursor: pointer; -} -element selected.normal { - background-color: #162022; - text-color: white; -} -element-icon { - background-color: transparent; - size: 32px; - cursor: inherit; -} -element-text { - background-color: inherit; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -error-message { - padding: 20px; - background-color: transparent; - text-color: white; -} -message { - padding: 0px; - background-color: inherit; - text-color: #FF9030; -} -textbox { - padding: 0px; - border-radius: 0px; - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} diff --git a/config/rofi/launchers/type-6/launcher.sh b/config/rofi/launchers/type-6/launcher.sh deleted file mode 100755 index 5f8e6c4..0000000 --- a/config/rofi/launchers/type-6/launcher.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 - -dir="$HOME/.config/rofi/launchers/type-6" -theme='style-10' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-6/style-1.rasi b/config/rofi/launchers/type-6/style-1.rasi deleted file mode 100644 index 198a4e0..0000000 --- a/config/rofi/launchers/type-6/style-1.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #201A41; - background-alt: #392684; - foreground: #FFFFFF; - selected: #F801E8; - active: #00CCF5; - urgent: #8D0083; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/a.png", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-10.rasi b/config/rofi/launchers/type-6/style-10.rasi deleted file mode 100644 index 07c375d..0000000 --- a/config/rofi/launchers/type-6/style-10.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/j.jpg", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-2.rasi b/config/rofi/launchers/type-6/style-2.rasi deleted file mode 100644 index 66a1de6..0000000 --- a/config/rofi/launchers/type-6/style-2.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #180F39; - background-alt: #32197D; - foreground: #FFFFFF; - selected: #FF00F1; - active: #9878FF; - urgent: #7D0075; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/b.png", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-3.rasi b/config/rofi/launchers/type-6/style-3.rasi deleted file mode 100644 index a623e2f..0000000 --- a/config/rofi/launchers/type-6/style-3.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #09164C; - background-alt: #102886; - foreground: #FFFFFF; - selected: #FA00E9; - active: #3860FF; - urgent: #BB00AF; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/c.png", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-4.rasi b/config/rofi/launchers/type-6/style-4.rasi deleted file mode 100644 index ddf2be1..0000000 --- a/config/rofi/launchers/type-6/style-4.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #2D1B14; - background-alt: #462D23; - foreground: #FFFFFF; - selected: #E25F3E; - active: #7B6C5B; - urgent: #934A1C; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/d.png", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-5.rasi b/config/rofi/launchers/type-6/style-5.rasi deleted file mode 100644 index afc90fb..0000000 --- a/config/rofi/launchers/type-6/style-5.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #231419; - background-alt: #2D1E23; - foreground: #FFFFFF; - selected: #426647; - active: #2E3F34; - urgent: #D08261; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/e.jpg", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-6.rasi b/config/rofi/launchers/type-6/style-6.rasi deleted file mode 100644 index 7056c85..0000000 --- a/config/rofi/launchers/type-6/style-6.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #D0D0D0; - background-alt: #E9E9E9; - foreground: #161616; - selected: #BEBEBE; - active: #999999; - urgent: #808080; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/f.png", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-7.rasi b/config/rofi/launchers/type-6/style-7.rasi deleted file mode 100644 index 77eed40..0000000 --- a/config/rofi/launchers/type-6/style-7.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #101010; - background-alt: #252525; - foreground: #FFFFFF; - selected: #505050; - active: #909090; - urgent: #707070; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/g.png", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-8.rasi b/config/rofi/launchers/type-6/style-8.rasi deleted file mode 100644 index 235dad7..0000000 --- a/config/rofi/launchers/type-6/style-8.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #030B16; - background-alt: #0A1B37; - foreground: #FFFFFF; - selected: #CB43A6; - active: #095873; - urgent: #2FC6D8; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/h.jpg", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-6/style-9.rasi b/config/rofi/launchers/type-6/style-9.rasi deleted file mode 100644 index e30583f..0000000 --- a/config/rofi/launchers/type-6/style-9.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOW"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #131D1F; - background-alt: #183A43; - foreground: #FFFFFF; - selected: #649094; - active: #E9CC9D; - urgent: #FEA861; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listbox" ]; -} - -imagebox { - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/i.jpg", height); - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -dummy { - background-color: transparent; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/launcher.sh b/config/rofi/launchers/type-7/launcher.sh deleted file mode 100755 index aa45aa9..0000000 --- a/config/rofi/launchers/type-7/launcher.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 - -dir="$HOME/.config/rofi/launchers/type-7" -theme='style-1' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/config/rofi/launchers/type-7/style-1.rasi b/config/rofi/launchers/type-7/style-1.rasi deleted file mode 100644 index 092f4f8..0000000 --- a/config/rofi/launchers/type-7/style-1.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 700px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 80px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/a.png", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 250px; - padding: 12px 16px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 45px; - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 7; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 4px; - border-radius: 100%; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-10.rasi b/config/rofi/launchers/type-7/style-10.rasi deleted file mode 100644 index 124df89..0000000 --- a/config/rofi/launchers/type-7/style-10.rasi +++ /dev/null @@ -1,207 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 400px; - x-offset: 20px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 0px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 10px; - padding: 10px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - padding: 100px 40px; - background-color: transparent; - background-image: url("~/.config/rofi/images/j.jpg", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 8px 12px; - border: 0px 2px 2px 2px; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: true; - padding: 8px 12px; - border: 2px 2px 0px 0px; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 8px; - border-radius: 0px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 8px; - border-radius: 0px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 8px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 8px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-2.rasi b/config/rofi/launchers/type-7/style-2.rasi deleted file mode 100644 index 40a2375..0000000 --- a/config/rofi/launchers/type-7/style-2.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #180F39; - background-alt: #32197D; - foreground: #FFFFFF; - selected: #FF00F1; - active: #9878FF; - urgent: #7D0075; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 80px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/b.png", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 300px; - padding: 12px 16px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 80px; - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 4px; - border-radius: 100%; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-3.rasi b/config/rofi/launchers/type-7/style-3.rasi deleted file mode 100644 index 6ac4900..0000000 --- a/config/rofi/launchers/type-7/style-3.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #09164C; - background-alt: #102886; - foreground: #FFFFFF; - selected: #FA00E9; - active: #3860FF; - urgent: #BB00AF; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 10px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 15px; - padding: 15px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 100px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/c.png", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 12px; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 150px; - padding: 12px 16px; - border-radius: 12px; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 40px; - padding: 12px; - border-radius: 12px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 6px; - border-radius: 10px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 10px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-4.rasi b/config/rofi/launchers/type-7/style-4.rasi deleted file mode 100644 index 9657878..0000000 --- a/config/rofi/launchers/type-7/style-4.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #2D1B14; - background-alt: #462D23; - foreground: #FFFFFF; - selected: #E25F3E; - active: #7B6C5B; - urgent: #934A1C; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 500px; - height: 100%; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 0px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox", "mode-switcher" ]; -} - -listbox { - spacing: 15px; - padding: 15px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 40px 40px 155px; - background-color: transparent; - background-image: url("~/.config/rofi/images/d.png", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 0px; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: true; - padding: 12px 16px; - border-radius: 0px; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - padding: 15px; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 12px; - border-radius: 0px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 10; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 8px; - border-radius: 0px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-5.rasi b/config/rofi/launchers/type-7/style-5.rasi deleted file mode 100644 index 0edb39d..0000000 --- a/config/rofi/launchers/type-7/style-5.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #231419; - background-alt: #2D1E23; - foreground: #FFFFFF; - selected: #426647; - active: #2E3F34; - urgent: #D08261; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 600px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 80px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/e.jpg", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 250px; - padding: 12px 16px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 45px; - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 7; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 4px; - border-radius: 100%; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-6.rasi b/config/rofi/launchers/type-7/style-6.rasi deleted file mode 100644 index d500569..0000000 --- a/config/rofi/launchers/type-7/style-6.rasi +++ /dev/null @@ -1,210 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: "APPS"; - display-run: "RUN"; - display-filebrowser: "FILES"; - display-window: "WINDOWS"; - drun-display-format: "{name}"; - window-format: "{w} · {c}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #D0D0D0; - background-alt: #E9E9E9; - foreground: #161616; - selected: #BEBEBE; - active: #999999; - urgent: #808080; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 15px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 100px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/f.png", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 300px; - padding: 12px 16px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 80px; - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 15px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; - orientation: vertical; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 64px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 15px; - border-radius: 15px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 15px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-7.rasi b/config/rofi/launchers/type-7/style-7.rasi deleted file mode 100644 index 98d135b..0000000 --- a/config/rofi/launchers/type-7/style-7.rasi +++ /dev/null @@ -1,203 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #101010; - background-alt: #252525; - foreground: #FFFFFF; - selected: #505050; - active: #909090; - urgent: #707070; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview", "mode-switcher" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 100px 40px; - background-color: transparent; - background-image: url("~/.config/rofi/images/g.png", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: true; - padding: 12px 16px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 12px; - border-radius: 100%; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 15px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-8.rasi b/config/rofi/launchers/type-7/style-8.rasi deleted file mode 100644 index 0ed4797..0000000 --- a/config/rofi/launchers/type-7/style-8.rasi +++ /dev/null @@ -1,209 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: false; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #030B16; - background-alt: #0A1B37; - foreground: #FFFFFF; - selected: #CB43A6; - active: #095873; - urgent: #2FC6D8; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 30px 5px 30px 5px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 100px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/h.jpg", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 15px 5px 15px 5px; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 250px; - padding: 12px 16px; - border-radius: 5px 15px 5px 15px; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 45px; - padding: 12px; - border-radius: 15px 5px 15px 5px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - padding: 12px; - border-radius: 15px 5px 15px 5px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 15px 5px 15px 5px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/launchers/type-7/style-9.rasi b/config/rofi/launchers/type-7/style-9.rasi deleted file mode 100644 index ff3bf0a..0000000 --- a/config/rofi/launchers/type-7/style-9.rasi +++ /dev/null @@ -1,210 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,filebrowser,window"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - window-format: "{w}: {c}"; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #131D1F; - background-alt: #183A43; - foreground: #FFFFFF; - selected: #649094; - active: #E9CC9D; - urgent: #FEA861; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 700px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "listbox" ]; -} - -listbox { - spacing: 20px; - padding: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - padding: 80px 60px; - background-color: transparent; - background-image: url("~/.config/rofi/images/i.jpg", width); - text-color: @foreground; - orientation: horizontal; - children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; -} -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; -} -entry { - enabled: true; - expand: false; - width: 250px; - padding: 12px 16px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} -dummy { - expand: true; - background-color: transparent; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; - text-color: @foreground; -} -button { - width: 45px; - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 15px; - padding: 35px 10px; - border-radius: 20px; - background-color: transparent; - text-color: @foreground; - cursor: pointer; - orientation: vertical; -} -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} -element selected.normal { - background-color: @selected; - text-color: @foreground; -} -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} -element selected.active { - background-color: @urgent; - text-color: @foreground; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 96px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; -} -textbox { - padding: 12px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/powermenu/type-1/powermenu.sh b/config/rofi/powermenu/type-1/powermenu.sh deleted file mode 100755 index dd978af..0000000 --- a/config/rofi/powermenu/type-1/powermenu.sh +++ /dev/null @@ -1,110 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-1" -theme='style-1' - -# CMDs -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -shutdown=' Shutdown' -reboot=' Reboot' -lock=' Lock' -suspend=' Suspend' -logout=' Logout' -yes=' Yes' -no=' No' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p "$host" \ - -mesg "Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \ - -theme-str 'mainbox {children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/${theme}.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/config/rofi/powermenu/type-1/shared/colors.rasi b/config/rofi/powermenu/type-1/shared/colors.rasi deleted file mode 100644 index 2d763d2..0000000 --- a/config/rofi/powermenu/type-1/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/lovelace.rasi" diff --git a/config/rofi/powermenu/type-1/shared/fonts.rasi b/config/rofi/powermenu/type-1/shared/fonts.rasi deleted file mode 100644 index 430c73d..0000000 --- a/config/rofi/powermenu/type-1/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 10"; -} diff --git a/config/rofi/powermenu/type-1/style-1.rasi b/config/rofi/powermenu/type-1/style-1.rasi deleted file mode 100644 index 2a59b18..0000000 --- a/config/rofi/powermenu/type-1/style-1.rasi +++ /dev/null @@ -1,161 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 400px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 14px; - border-radius: 10px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 10px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-1/style-2.rasi b/config/rofi/powermenu/type-1/style-2.rasi deleted file mode 100644 index f9499a3..0000000 --- a/config/rofi/powermenu/type-1/style-2.rasi +++ /dev/null @@ -1,161 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 500px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 2px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 100%; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-1/style-3.rasi b/config/rofi/powermenu/type-1/style-3.rasi deleted file mode 100644 index d67c5bd..0000000 --- a/config/rofi/powermenu/type-1/style-3.rasi +++ /dev/null @@ -1,161 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 350px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 1px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 8px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 8px 12px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 8px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 8px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 8px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-1/style-4.rasi b/config/rofi/powermenu/type-1/style-4.rasi deleted file mode 100644 index daee803..0000000 --- a/config/rofi/powermenu/type-1/style-4.rasi +++ /dev/null @@ -1,161 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 500px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 30px 10px 30px 10px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 14px; - border-radius: 15px 10px 15px 10px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 10px 15px 10px 15px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 15px 10px 15px 10px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 15px 10px 15px 10px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-1/style-5.rasi b/config/rofi/powermenu/type-1/style-5.rasi deleted file mode 100644 index dd330dd..0000000 --- a/config/rofi/powermenu/type-1/style-5.rasi +++ /dev/null @@ -1,167 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 605px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 4px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", dummy, "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 10px 14px; - border-radius: 4px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 10px; - border-radius: 4px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 4px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 10px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 10px; - border: 0px solid; - border-radius: 4px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - border: 0px 2px 0px 2px; - border-radius: 4px; - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/powermenu.sh b/config/rofi/powermenu/type-2/powermenu.sh deleted file mode 100755 index 23d0795..0000000 --- a/config/rofi/powermenu/type-2/powermenu.sh +++ /dev/null @@ -1,111 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-2" -theme='style-1' - -# CMDs -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -shutdown='' -reboot='' -lock='' -suspend='' -logout='' -yes='' -no='' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p "Uptime: $uptime" \ - -mesg "Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ - -theme-str 'mainbox {children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/${theme}.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/config/rofi/powermenu/type-2/shared/colors.rasi b/config/rofi/powermenu/type-2/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/config/rofi/powermenu/type-2/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/config/rofi/powermenu/type-2/shared/fonts.rasi b/config/rofi/powermenu/type-2/shared/fonts.rasi deleted file mode 100644 index 430c73d..0000000 --- a/config/rofi/powermenu/type-2/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 10"; -} diff --git a/config/rofi/powermenu/type-2/style-1.rasi b/config/rofi/powermenu/type-2/style-1.rasi deleted file mode 100644 index e310106..0000000 --- a/config/rofi/powermenu/type-2/style-1.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 40px 10px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-10.rasi b/config/rofi/powermenu/type-2/style-10.rasi deleted file mode 100644 index d3fd8fd..0000000 --- a/config/rofi/powermenu/type-2/style-10.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1200px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: transparent; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 25px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 20px 24px; - border-radius: 100% 0px 0px 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 20px; - border-radius: 0px 100% 100% 0px; - background-color: @background; - text-color: @active; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px 50px; - padding: 15px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 70px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 48"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-2.rasi b/config/rofi/powermenu/type-2/style-2.rasi deleted file mode 100644 index f64703e..0000000 --- a/config/rofi/powermenu/type-2/style-2.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 100%; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 40px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-3.rasi b/config/rofi/powermenu/type-2/style-3.rasi deleted file mode 100644 index 26d2c77..0000000 --- a/config/rofi/powermenu/type-2/style-3.rasi +++ /dev/null @@ -1,172 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 15px 15px 0px 15px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 15px 15px 15px 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 15px 5px 15px 5px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 40px 10px; - border: 0px solid; - border-radius: 50px 20px 50px 20px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - border: 0px 0px 2px 2px ; - border-color: @selected; - background-color: var(background-alt); - text-color: var(selected); -} diff --git a/config/rofi/powermenu/type-2/style-4.rasi b/config/rofi/powermenu/type-2/style-4.rasi deleted file mode 100644 index fbb4ebb..0000000 --- a/config/rofi/powermenu/type-2/style-4.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: east; - anchor: east; - fullscreen: false; - width: 115px; - x-offset: -15px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 20px 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-5.rasi b/config/rofi/powermenu/type-2/style-5.rasi deleted file mode 100644 index 6caffaa..0000000 --- a/config/rofi/powermenu/type-2/style-5.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: west; - anchor: west; - fullscreen: false; - width: 115px; - x-offset: 15px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 20px 0px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-6.rasi b/config/rofi/powermenu/type-2/style-6.rasi deleted file mode 100644 index d54b32e..0000000 --- a/config/rofi/powermenu/type-2/style-6.rasi +++ /dev/null @@ -1,172 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: south; - anchor: south; - fullscreen: false; - width: 500px; - x-offset: 0px; - y-offset: -15px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 12px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px 2px dash 0px 2px dash; - border-radius: 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 20px 0px; - border: 0px; - border-radius: 30px 12px 30px 12px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - border: 0px 10px dash 0px 10px dash; - border-color: @selected; - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-7.rasi b/config/rofi/powermenu/type-2/style-7.rasi deleted file mode 100644 index 8e8352f..0000000 --- a/config/rofi/powermenu/type-2/style-7.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: transparent; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px 100px; - padding: 15px; - border: 0px solid; - border-radius: 15px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 45px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-8.rasi b/config/rofi/powermenu/type-2/style-8.rasi deleted file mode 100644 index 4af18b3..0000000 --- a/config/rofi/powermenu/type-2/style-8.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: east; - anchor: east; - fullscreen: false; - width: 95px; - x-offset: -20px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: transparent; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 25px 10px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-2/style-9.rasi b/config/rofi/powermenu/type-2/style-9.rasi deleted file mode 100644 index 8b2e483..0000000 --- a/config/rofi/powermenu/type-2/style-9.rasi +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: north; - anchor: north; - fullscreen: false; - width: 530px; - x-offset: 0px; - y-offset: 20px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: transparent; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border: 0px solid; - border-radius: 15px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 25px 10px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 24"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-3/powermenu.sh b/config/rofi/powermenu/type-3/powermenu.sh deleted file mode 100755 index 8c1e47f..0000000 --- a/config/rofi/powermenu/type-3/powermenu.sh +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-3" -theme='style-1' - -# CMDs -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -shutdown='' -reboot='' -lock='' -suspend='' -logout='' -yes='' -no='' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p "Uptime: $uptime" \ - -mesg "Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/shared/confirm.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/config/rofi/powermenu/type-3/shared/colors.rasi b/config/rofi/powermenu/type-3/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/config/rofi/powermenu/type-3/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/config/rofi/powermenu/type-3/shared/confirm.rasi b/config/rofi/powermenu/type-3/shared/confirm.rasi deleted file mode 100644 index 9f74f2a..0000000 --- a/config/rofi/powermenu/type-3/shared/confirm.rasi +++ /dev/null @@ -1,93 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "colors.rasi" -@import "fonts.rasi" - -/*****----- Main Window -----*****/ -window { - location: center; - anchor: center; - fullscreen: false; - width: 500px; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - spacing: 30px; - padding: 30px; - background-color: transparent; - children: [ "message", "listview" ]; -} - -/*****----- Message -----*****/ -message { - margin: 0px; - padding: 20px; - border-radius: 20px; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} - -/*****----- Listview -----*****/ -listview { - columns: 2; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - padding: 60px 10px; - border-radius: 20px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 48"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-3/shared/fonts.rasi b/config/rofi/powermenu/type-3/shared/fonts.rasi deleted file mode 100644 index 68fd613..0000000 --- a/config/rofi/powermenu/type-3/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 12"; -} diff --git a/config/rofi/powermenu/type-3/style-1.rasi b/config/rofi/powermenu/type-3/style-1.rasi deleted file mode 100644 index 702ce83..0000000 --- a/config/rofi/powermenu/type-3/style-1.rasi +++ /dev/null @@ -1,179 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - /* Resolution : 1920x1080 */ - box-spacing: 30px; - box-margin: 300px 100px; - inputbar-spacing: 30px; - list-spacing: 30px; - general-padding: 20px; - element-padding: 100px 10px; - element-radius: 0px; - general-radius: 0px; - element-font: "feather 64"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(box-spacing); - margin: 0px; - padding: var(box-margin); - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: var(inputbar-spacing); - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "SYSTEM"; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(list-spacing); - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: var(element-padding); - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: var(element-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-3/style-2.rasi b/config/rofi/powermenu/type-3/style-2.rasi deleted file mode 100644 index 1652e04..0000000 --- a/config/rofi/powermenu/type-3/style-2.rasi +++ /dev/null @@ -1,179 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - /* Resolution : 1920x1080 */ - box-spacing: 50px; - box-margin: 300px 200px; - inputbar-spacing: 0px; - list-spacing: 30px; - general-padding: 20px; - element-padding: 80px 10px; - element-radius: 100%; - general-radius: 100%; - element-font: "feather 64"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(box-spacing); - margin: 0px; - padding: var(box-margin); - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: var(inputbar-spacing); - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "SYSTEM"; - padding: var(general-padding); - border-radius: 100% 0px 0px 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: var(general-padding); - border-radius: 0px 100% 100% 0px; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(list-spacing); - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: var(element-padding); - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: var(element-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-3/style-3.rasi b/config/rofi/powermenu/type-3/style-3.rasi deleted file mode 100644 index 340472d..0000000 --- a/config/rofi/powermenu/type-3/style-3.rasi +++ /dev/null @@ -1,180 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - /* Resolution : 1920x1080 */ - box-spacing: 50px; - box-margin: 370px 350px; - message-margin: 0px 350px; - inputbar-spacing: 0px; - list-spacing: 50px; - general-padding: 20px; - element-padding: 55px 10px; - element-radius: 20px; - general-radius: 100%; - element-font: "feather 48"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(box-spacing); - margin: 0px; - padding: var(box-margin); - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: var(inputbar-spacing); - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "SYSTEM"; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(general-padding); - border: 0px; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(list-spacing); - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: var(element-padding); - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: var(element-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-3/style-4.rasi b/config/rofi/powermenu/type-3/style-4.rasi deleted file mode 100644 index 4c06d8e..0000000 --- a/config/rofi/powermenu/type-3/style-4.rasi +++ /dev/null @@ -1,180 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - /* Resolution : 1920x1080 */ - box-spacing: 70px; - box-margin: 300px 350px; - message-margin: 0px 400px; - inputbar-spacing: 0px; - list-spacing: 40px; - general-padding: 20px; - element-padding: 60px 10px; - element-radius: 80px; - general-radius: 100%; - element-font: "feather 48"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(box-spacing); - margin: 0px; - padding: var(box-margin); - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: var(inputbar-spacing); - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon" ]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "SYSTEM"; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(general-padding); - border: 0px; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(list-spacing); - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: var(element-padding); - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: var(element-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-3/style-5.rasi b/config/rofi/powermenu/type-3/style-5.rasi deleted file mode 100644 index 70ce743..0000000 --- a/config/rofi/powermenu/type-3/style-5.rasi +++ /dev/null @@ -1,181 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - /* Resolution : 1920x1080 */ - box-spacing: 50px; - box-margin: 300px 250px; - box-padding: 50px; - message-margin: 0px 400px; - inputbar-spacing: 0px; - list-spacing: 0px; - general-padding: 20px; - element-padding: 90px 10px; - element-radius: 80px; - general-radius: 100%; - element-font: "feather 48"; -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - width: 1366px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(box-spacing); - margin: var(box-margin); - padding: var(box-padding); - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: @background-alt; - children: [ "inputbar", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: var(inputbar-spacing); - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "dummy", "prompt" ]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "SYSTEM"; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @background; - text-color: @urgent; -} -prompt { - enabled: true; - padding: var(general-padding); - border-radius: var(general-radius); - background-color: @background; - text-color: @active; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(general-padding); - border: 0px; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: var(general-padding); - border: 0px solid; - border-radius: var(general-radius); - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(list-spacing); - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: @background; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: var(element-padding); - border: 0px solid; - border-radius: var(element-radius); - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: var(element-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-4/powermenu.sh b/config/rofi/powermenu/type-4/powermenu.sh deleted file mode 100755 index 17f20c7..0000000 --- a/config/rofi/powermenu/type-4/powermenu.sh +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-4" -theme='style-5' - -# CMDs -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -shutdown='' -reboot='' -lock='' -suspend='' -logout='' -yes='' -no='' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p "Goodbye ${USER}" \ - -mesg "Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/shared/confirm.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/config/rofi/powermenu/type-4/shared/colors.rasi b/config/rofi/powermenu/type-4/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/config/rofi/powermenu/type-4/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/config/rofi/powermenu/type-4/shared/confirm.rasi b/config/rofi/powermenu/type-4/shared/confirm.rasi deleted file mode 100644 index 9f74f2a..0000000 --- a/config/rofi/powermenu/type-4/shared/confirm.rasi +++ /dev/null @@ -1,93 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "colors.rasi" -@import "fonts.rasi" - -/*****----- Main Window -----*****/ -window { - location: center; - anchor: center; - fullscreen: false; - width: 500px; - border-radius: 20px; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - spacing: 30px; - padding: 30px; - background-color: transparent; - children: [ "message", "listview" ]; -} - -/*****----- Message -----*****/ -message { - margin: 0px; - padding: 20px; - border-radius: 20px; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; - placeholder-color: @foreground; - blink: true; - markup: true; -} - -/*****----- Listview -----*****/ -listview { - columns: 2; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - background-color: transparent; - text-color: @foreground; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - padding: 60px 10px; - border-radius: 20px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather 48"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-4/shared/fonts.rasi b/config/rofi/powermenu/type-4/shared/fonts.rasi deleted file mode 100644 index 68fd613..0000000 --- a/config/rofi/powermenu/type-4/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 12"; -} diff --git a/config/rofi/powermenu/type-4/style-1.rasi b/config/rofi/powermenu/type-4/style-1.rasi deleted file mode 100644 index 66dbe42..0000000 --- a/config/rofi/powermenu/type-4/style-1.rasi +++ /dev/null @@ -1,131 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - /* Resolution : 1920x1080 */ - mainbox-spacing: 100px; - mainbox-margin: 100px 300px; - message-margin: 0px 400px; - message-padding: 15px; - message-border-radius: 100%; - listview-spacing: 50px; - element-padding: 55px 60px; - element-border-radius: 100%; - - prompt-font: "JetBrains Mono Nerd Font Bold Italic 64"; - textbox-font: "JetBrains Mono Nerd Font 16"; - element-text-font: "feather 64"; - - background-window: black/5%; - background-normal: white/5%; - background-selected: white/15%; - foreground-normal: white; - foreground-selected: white; -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - cursor: "default"; - background-color: var(background-window); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(mainbox-spacing); - margin: var(mainbox-margin); - background-color: transparent; - children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - background-color: transparent; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - enabled: true; - font: var(prompt-font); - background-color: transparent; - text-color: var(foreground-normal); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(message-padding); - border-radius: var(message-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); -} -textbox { - font: var(textbox-font); - background-color: transparent; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - expand: false; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(listview-spacing); - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: var(element-padding); - border-radius: var(element-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); - cursor: pointer; -} -element-text { - font: var(element-text-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(background-selected); - text-color: var(foreground-selected); -} diff --git a/config/rofi/powermenu/type-4/style-2.rasi b/config/rofi/powermenu/type-4/style-2.rasi deleted file mode 100644 index 20d4336..0000000 --- a/config/rofi/powermenu/type-4/style-2.rasi +++ /dev/null @@ -1,131 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - /* Resolution : 1920x1080 */ - mainbox-spacing: 100px; - mainbox-margin: 150px 400px; - message-margin: 0px 350px; - message-padding: 15px; - message-border-radius: 15px; - listview-spacing: 50px; - element-padding: 35px 40px; - element-border-radius: 20px; - - prompt-font: "Iosevka Nerd Font Bold 72"; - textbox-font: "Iosevka Nerd Font 14"; - element-text-font: "feather 64"; - - background-window: black/30%; - background-normal: white/5%; - background-selected: white/15%; - foreground-normal: white; - foreground-selected: white; -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - cursor: "default"; - background-color: var(background-window); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(mainbox-spacing); - margin: var(mainbox-margin); - background-color: transparent; - children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - background-color: transparent; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - enabled: true; - font: var(prompt-font); - background-color: transparent; - text-color: var(foreground-normal); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(message-padding); - border-radius: var(message-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); -} -textbox { - font: var(textbox-font); - background-color: transparent; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - expand: false; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(listview-spacing); - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: var(element-padding); - border-radius: var(element-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); - cursor: pointer; -} -element-text { - font: var(element-text-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(background-selected); - text-color: var(foreground-selected); -} diff --git a/config/rofi/powermenu/type-4/style-3.rasi b/config/rofi/powermenu/type-4/style-3.rasi deleted file mode 100644 index 1ade61a..0000000 --- a/config/rofi/powermenu/type-4/style-3.rasi +++ /dev/null @@ -1,133 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - /* Resolution : 1920x1080 */ - mainbox-spacing: 50px; - mainbox-margin: 50px; - message-margin: 0px 300px; - message-padding: 12px; - message-border-radius: 12px; - listview-spacing: 25px; - element-padding: 35px 0px; - element-border-radius: 60px; - - prompt-font: "Iosevka Nerd Font Bold 48"; - textbox-font: "Iosevka Nerd Font 12"; - element-text-font: "feather 48"; - - background-window: black/20%; - background-normal: white/5%; - background-selected: white/15%; - foreground-normal: white; - foreground-selected: white; -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - border-radius: 50px; - cursor: "default"; - background-color: var(background-window); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(mainbox-spacing); - margin: var(mainbox-margin); - background-color: transparent; - children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - background-color: transparent; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - enabled: true; - font: var(prompt-font); - background-color: transparent; - text-color: var(foreground-normal); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(message-padding); - border-radius: var(message-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); -} -textbox { - font: var(textbox-font); - background-color: transparent; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - expand: false; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(listview-spacing); - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: var(element-padding); - border-radius: var(element-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); - cursor: pointer; -} -element-text { - font: var(element-text-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(background-selected); - text-color: var(foreground-selected); -} diff --git a/config/rofi/powermenu/type-4/style-4.rasi b/config/rofi/powermenu/type-4/style-4.rasi deleted file mode 100644 index 9234684..0000000 --- a/config/rofi/powermenu/type-4/style-4.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - /* Resolution : 1920x1080 */ - mainbox-spacing: 100px; - mainbox-margin: 150px 400px; - message-margin: 0px 350px; - message-padding: 20px; - message-border-radius: 100%; - listview-spacing: 50px; - element-padding: 35px 40px; - element-border-radius: 80px; - - prompt-font: "Iosevka Nerd Font Bold Italic 72"; - textbox-font: "Iosevka Nerd Font 16"; - element-text-font: "feather Bold 64"; - - /* Gradients */ - gradient-1: linear-gradient(45, #1E98FD, #06FDA5); - gradient-2: linear-gradient(0, #F971C6, #7A72EC); - gradient-3: linear-gradient(70, #FFD56F, #FF6861); - gradient-4: linear-gradient(135, #44C6FA, #3043A1); - gradient-5: linear-gradient(to left, #bdc3c7, #2c3e50); - gradient-6: linear-gradient(to right, #0F2027, #203A43, #2C5364); - gradient-7: linear-gradient(to top, #12c2e9, #c471ed, #f64f59); - gradient-8: linear-gradient(to bottom, #FF0099, #493240); - gradient-9: linear-gradient(0, #1a2a6c, #b21f1f, #fdbb2d); - gradient-10: linear-gradient(0, #283c86, #45a247); - gradient-11: linear-gradient(0, #77A1D3, #79CBCA, #E684AE); - gradient-12: linear-gradient(0, #ff6e7f, #bfe9ff); - gradient-13: linear-gradient(0, #D31027, #EA384D); - gradient-14: linear-gradient(0, #DA22FF, #9733EE); - gradient-15: linear-gradient(0, #1D976C, #93F9B9); - gradient-16: linear-gradient(0, #232526, #414345); - gradient-17: linear-gradient(0, #833ab4, #fd1d1d, #fcb045); - gradient-18: linear-gradient(0, #667db6, #0082c8, #0082c8, #667db6); - gradient-19: linear-gradient(0, #03001e, #7303c0, #ec38bc, #fdeff9); - gradient-20: linear-gradient(0, #780206, #061161); - - background-window: var(gradient-19); - background-normal: white/10%; - background-selected: white/20%; - foreground-normal: white; - foreground-selected: white; -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - cursor: "default"; - background-image: var(background-window); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(mainbox-spacing); - margin: var(mainbox-margin); - background-color: transparent; - children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - background-color: transparent; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - enabled: true; - font: var(prompt-font); - background-color: transparent; - text-color: var(foreground-normal); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(message-padding); - border-radius: var(message-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); -} -textbox { - font: var(textbox-font); - background-color: transparent; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - expand: false; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(listview-spacing); - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: var(element-padding); - border-radius: var(element-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); - cursor: pointer; -} -element-text { - font: var(element-text-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(background-selected); - text-color: var(foreground-selected); -} diff --git a/config/rofi/powermenu/type-4/style-5.rasi b/config/rofi/powermenu/type-4/style-5.rasi deleted file mode 100644 index 96b483c..0000000 --- a/config/rofi/powermenu/type-4/style-5.rasi +++ /dev/null @@ -1,163 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - /* Resolution : 1920x1080 */ - mainbox-spacing: 50px; - mainbox-margin: 0px 470px; - message-margin: 0px 350px; - message-padding: 15px; - message-border-radius: 100%; - listview-spacing: 25px; - element-padding: 45px 40px; - element-border-radius: 100%; - - prompt-font: "Iosevka Nerd Font Bold 32"; - textbox-font: "Iosevka Nerd Font 12"; - element-text-font: "feather Bold 48"; - - /* Gradients */ - gradient-1: linear-gradient(45, #1E98FD, #06FDA5); - gradient-2: linear-gradient(0, #F971C6, #7A72EC); - gradient-3: linear-gradient(70, #FFD56F, #FF6861); - gradient-4: linear-gradient(135, #44C6FA, #3043A1); - gradient-5: linear-gradient(to left, #bdc3c7, #2c3e50); - gradient-6: linear-gradient(to right, #0F2027, #203A43, #2C5364); - gradient-7: linear-gradient(to top, #12c2e9, #c471ed, #f64f59); - gradient-8: linear-gradient(to bottom, #FF0099, #493240); - gradient-9: linear-gradient(0, #1a2a6c, #b21f1f, #fdbb2d); - gradient-10: linear-gradient(0, #283c86, #45a247); - gradient-11: linear-gradient(0, #77A1D3, #79CBCA, #E684AE); - gradient-12: linear-gradient(0, #ff6e7f, #bfe9ff); - gradient-13: linear-gradient(0, #D31027, #EA384D); - gradient-14: linear-gradient(0, #DA22FF, #9733EE); - gradient-15: linear-gradient(0, #1D976C, #93F9B9); - gradient-16: linear-gradient(0, #232526, #414345); - gradient-17: linear-gradient(0, #833ab4, #fd1d1d, #fcb045); - gradient-18: linear-gradient(0, #667db6, #0082c8, #0082c8, #667db6); - gradient-19: linear-gradient(0, #03001e, #7303c0, #ec38bc, #fdeff9); - gradient-20: linear-gradient(0, #780206, #061161); - - background-window: var(gradient-6); - background-normal: white/10%; - background-selected: white/20%; - foreground-normal: white; - foreground-selected: white; -} - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: true; - cursor: "default"; - background-image: var(background-window); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: var(mainbox-spacing); - margin: var(mainbox-margin); - background-color: transparent; - children: [ "dummy", "userimage", "inputbar", "listview", "message", "dummy" ]; -} - -/*****----- User -----*****/ -userimage { - margin: 0px 400px; - border: 2px; - border-radius: 100%; - border-color: white; - background-color: transparent; - background-image: url("~/.config/rofi/images/user.jpeg", both); -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - background-color: transparent; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - enabled: true; - font: var(prompt-font); - background-color: transparent; - text-color: var(foreground-normal); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: var(message-margin); - padding: var(message-padding); - border-radius: var(message-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); -} -textbox { - font: var(textbox-font); - background-color: transparent; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - expand: false; - columns: 5; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: var(listview-spacing); - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: var(element-padding); - border-radius: var(element-border-radius); - background-color: var(background-normal); - text-color: var(foreground-normal); - cursor: pointer; -} -element-text { - font: var(element-text-font); - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(background-selected); - text-color: var(foreground-selected); -} diff --git a/config/rofi/powermenu/type-5/powermenu.sh b/config/rofi/powermenu/type-5/powermenu.sh deleted file mode 100755 index 561e30c..0000000 --- a/config/rofi/powermenu/type-5/powermenu.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-5" -theme='style-1' - -# CMDs -lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -hibernate='' -shutdown='' -reboot='' -lock='' -suspend='' -logout='' -yes='' -no='' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p " $USER@$host" \ - -mesg " Last Login: $lastlogin | Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ - -theme-str 'mainbox {children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/${theme}.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$hibernate\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--hibernate' ]]; then - systemctl hibernate - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $hibernate) - run_cmd --hibernate - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/config/rofi/powermenu/type-5/style-1.rasi b/config/rofi/powermenu/type-5/style-1.rasi deleted file mode 100644 index ed3633c..0000000 --- a/config/rofi/powermenu/type-5/style-1.rasi +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - padding: 100px 80px; - background-color: transparent; - background-image: url("~/.config/rofi/images/a.png", width); - children: [ "textbox-prompt-colon", "dummy","prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: " System"; - padding: 12px; - border-radius: 12px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 12px; - background-color: @active; - text-color: @background; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border-radius: 12px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} diff --git a/config/rofi/powermenu/type-5/style-2.rasi b/config/rofi/powermenu/type-5/style-2.rasi deleted file mode 100644 index ae737ca..0000000 --- a/config/rofi/powermenu/type-5/style-2.rasi +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #2D1B14; - background-alt: #462D23; - foreground: #FFFFFF; - selected: #E25F3E; - active: #716251; - urgent: #934A1C; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - padding: 100px 80px; - background-color: transparent; - background-image: url("~/.config/rofi/images/d.png", width); - children: [ "textbox-prompt-colon", "dummy","prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: " System"; - padding: 12px; - border-radius: 100%; - background-color: @urgent; - text-color: @foreground; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 100%; - background-color: @active; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 28px 10px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px 15px 15px 15px; - padding: 15px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} diff --git a/config/rofi/powermenu/type-5/style-3.rasi b/config/rofi/powermenu/type-5/style-3.rasi deleted file mode 100644 index 6f80ee1..0000000 --- a/config/rofi/powermenu/type-5/style-3.rasi +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #231419; - background-alt: #2D1E23; - foreground: #FFFFFF; - selected: #426647; - active: #2E3F34; - urgent: #D08261; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 550px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - padding: 100px 40px; - background-color: transparent; - background-image: url("~/.config/rofi/images/e.jpg", width); - children: [ "textbox-prompt-colon", "dummy","prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: " System"; - padding: 12px; - border-radius: 5px; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 5px; - background-color: @active; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 2; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 15px; - margin: 15px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 30px 10px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} diff --git a/config/rofi/powermenu/type-5/style-4.rasi b/config/rofi/powermenu/type-5/style-4.rasi deleted file mode 100644 index 247693a..0000000 --- a/config/rofi/powermenu/type-5/style-4.rasi +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #131D1F; - background-alt: #183A43; - foreground: #FFFFFF; - selected: #649094; - active: #E9CC9D; - urgent: #FEA861; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 0px; - padding: 150px 40px; - background-color: transparent; - background-image: url("~/.config/rofi/images/i.jpg", width); - children: [ "textbox-prompt-colon", "dummy","prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: " System"; - padding: 15px; - border: 0px 5px 5px 0px; - border-radius: 15px 5px 15px 5px; - border-color: @selected; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 15px; - border: 0px 0px 5px 5px; - border-radius: 5px 15px 5px 15px; - border-color: @selected; - background-color: @active; - text-color: @background; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 25px; - margin: 25px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 40px 10px; - border-radius: 15px 30px 15px 30px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - border: 0px 0px 5px 5px; - border-color: @urgent; - background-color: var(background-alt); - text-color: var(urgent); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} diff --git a/config/rofi/powermenu/type-5/style-5.rasi b/config/rofi/powermenu/type-5/style-5.rasi deleted file mode 100644 index 4492512..0000000 --- a/config/rofi/powermenu/type-5/style-5.rasi +++ /dev/null @@ -1,151 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "listview", "message" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 20px; - padding: 100px 40px; - background-color: transparent; - background-image: url("~/.config/rofi/images/j.jpg", width); - children: [ "textbox-prompt-colon", "prompt"]; -} - -dummy { - background-color: transparent; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: " System"; - padding: 15px; - border: 0px 0px 0px 10px; - border-radius: 100% 100% 0px 100%; - border-color: @selected; - background-color: @urgent; - text-color: @foreground; -} -prompt { - enabled: true; - padding: 15px; - border: 0px; - border-radius: 0px 100% 100% 100%; - border-color: @selected; - background-color: @active; - text-color: @background; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 6; - lines: 1; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - margin: 30px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 35px 10px; - border-radius: 55px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} diff --git a/config/rofi/powermenu/type-6/powermenu.sh b/config/rofi/powermenu/type-6/powermenu.sh deleted file mode 100755 index ad93faf..0000000 --- a/config/rofi/powermenu/type-6/powermenu.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-6" -theme='style-1' - -# CMDs -lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -hibernate='' -shutdown='' -reboot='' -lock='' -suspend='' -logout='' -yes='' -no='' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p " $USER@$host" \ - -mesg " Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ - -theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/${theme}.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$hibernate\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--hibernate' ]]; then - systemctl hibernate - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $hibernate) - run_cmd --hibernate - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/config/rofi/powermenu/type-6/style-1.rasi b/config/rofi/powermenu/type-6/style-1.rasi deleted file mode 100644 index 2af8289..0000000 --- a/config/rofi/powermenu/type-6/style-1.rasi +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 15px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - spacing: 30px; - padding: 30px; - background-color: transparent; - background-image: url("~/.config/rofi/images/a.png", height); - children: [ "inputbar", "dummy", "message" ]; -} - -/*****----- User -----*****/ -userimage { - margin: 0px 0px; - border: 10px; - border-radius: 10px; - border-color: @background-alt; - background-color: transparent; - background-image: url("~/.config/rofi/images/a.png", height); -} - -/*****----- Inputbar -----*****/ -inputbar { - padding: 15px; - border-radius: 10px; - background-color: @urgent; - text-color: @foreground; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - background-color: inherit; - text-color: inherit; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 10px; - background-color: @active; - text-color: @background; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - margin: 30px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 40px 10px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-6/style-2.rasi b/config/rofi/powermenu/type-6/style-2.rasi deleted file mode 100644 index f437590..0000000 --- a/config/rofi/powermenu/type-6/style-2.rasi +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #2D1B14; - background-alt: #462D23; - foreground: #FFFFFF; - selected: #E25F3E; - active: #716251; - urgent: #934A1C; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 1000px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 24px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - spacing: 20px; - padding: 20px; - background-color: transparent; - background-image: url("~/.config/rofi/images/d.png", height); - children: [ "inputbar", "dummy", "message" ]; -} - -/*****----- User -----*****/ -userimage { - margin: 0px 0px; - border: 10px; - border-radius: 10px; - border-color: @background-alt; - background-color: transparent; - background-image: url("~/.config/rofi/images/d.png", height); -} - -/*****----- Inputbar -----*****/ -inputbar { - padding: 15px; - border-radius: 100%; - background-color: @urgent; - text-color: @foreground; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - background-color: inherit; - text-color: inherit; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 100%; - background-color: @active; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 2; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 20px; - margin: 20px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 40px 10px; - border-radius: 100%; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-6/style-3.rasi b/config/rofi/powermenu/type-6/style-3.rasi deleted file mode 100644 index c03a032..0000000 --- a/config/rofi/powermenu/type-6/style-3.rasi +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #231419; - background-alt: #2D1E23; - foreground: #FFFFFF; - selected: #426647; - active: #2E3F34; - urgent: #D08261; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - spacing: 0px; - padding: 30px; - background-color: transparent; - background-image: url("~/.config/rofi/images/e.jpg", width); - children: [ "inputbar", "dummy", "message" ]; -} - -/*****----- User -----*****/ -userimage { - margin: 0px 0px; - border: 10px; - border-radius: 10px; - border-color: @background-alt; - background-color: transparent; - background-image: url("~/.config/rofi/images/e.jpg", height); -} - -/*****----- Inputbar -----*****/ -inputbar { - padding: 15px; - border-radius: 10px; - background-color: @urgent; - text-color: @background; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - background-color: inherit; - text-color: inherit; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 15px; - border-radius: 10px; - background-color: @active; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 3; - lines: 2; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - margin: 30px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 18px 10px; - border-radius: 20px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-6/style-4.rasi b/config/rofi/powermenu/type-6/style-4.rasi deleted file mode 100644 index 89978d1..0000000 --- a/config/rofi/powermenu/type-6/style-4.rasi +++ /dev/null @@ -1,149 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #131D1F; - background-alt: #183A43; - foreground: #FFFFFF; - selected: #649094; - active: #E9CC9D; - urgent: #FEA861; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - background-color: transparent; - orientation: horizontal; - children: [ "imagebox", "listview" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - expand: false; - width: 640px; - spacing: 0px; - padding: 100px; - background-color: transparent; - background-image: url("~/.config/rofi/images/i.jpg", height); - children: [ "inputbar", "dummy", "message" ]; -} - -/*****----- User -----*****/ -userimage { - margin: 0px 0px; - border: 10px; - border-radius: 0px; - border-color: @background-alt; - background-color: transparent; - background-image: url("~/.config/rofi/images/i.jpg", height); -} - -/*****----- Inputbar -----*****/ -inputbar { - padding: 20px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - background-color: inherit; - text-color: inherit; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 20px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - margin: 30px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 20px 10px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/powermenu/type-6/style-5.rasi b/config/rofi/powermenu/type-6/style-5.rasi deleted file mode 100644 index ad5525a..0000000 --- a/config/rofi/powermenu/type-6/style-5.rasi +++ /dev/null @@ -1,149 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -* { - font: "JetBrains Mono Nerd Font 10"; - background: #11092D; - background-alt: #281657; - foreground: #FFFFFF; - selected: #DF5296; - active: #6E77FF; - urgent: #8E3596; -} - -/* -USE_BUTTONS=YES -*/ - -/*****----- Main Window -----*****/ -window { - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - background-color: transparent; - orientation: horizontal; - children: [ "listview", "imagebox" ]; -} - -/*****----- Imagebox -----*****/ -imagebox { - expand: false; - width: 500px; - spacing: 0px; - padding: 100px; - background-color: transparent; - background-image: url("~/.config/rofi/images/j.jpg", height); - children: [ "inputbar", "dummy", "message" ]; -} - -/*****----- User -----*****/ -userimage { - margin: 0px 0px; - border: 10px; - border-radius: 0px; - border-color: @background-alt; - background-color: transparent; - background-image: url("~/.config/rofi/images/j.jpg", height); -} - -/*****----- Inputbar -----*****/ -inputbar { - padding: 20px; - border-radius: 0px; - background-color: @urgent; - text-color: @background; - children: [ "dummy", "prompt", "dummy"]; -} - -dummy { - background-color: transparent; -} - -prompt { - background-color: inherit; - text-color: inherit; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 20px; - border-radius: 0px; - background-color: @active; - text-color: @background; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 2; - lines: 3; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 30px; - margin: 30px; - background-color: transparent; - cursor: "default"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - padding: 20px 10px; - border-radius: 0px; - background-color: @background-alt; - text-color: @foreground; - cursor: pointer; -} -element-text { - font: "feather bold 32"; - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.5; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/config/rofi/scripts/launcher_t1 b/config/rofi/scripts/launcher_t1 deleted file mode 120000 index 9a28f03..0000000 --- a/config/rofi/scripts/launcher_t1 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-1/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/launcher_t2 b/config/rofi/scripts/launcher_t2 deleted file mode 120000 index 4574d1d..0000000 --- a/config/rofi/scripts/launcher_t2 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-2/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/launcher_t3 b/config/rofi/scripts/launcher_t3 deleted file mode 120000 index e1c334c..0000000 --- a/config/rofi/scripts/launcher_t3 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-3/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/launcher_t4 b/config/rofi/scripts/launcher_t4 deleted file mode 120000 index e6cb56e..0000000 --- a/config/rofi/scripts/launcher_t4 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-4/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/launcher_t5 b/config/rofi/scripts/launcher_t5 deleted file mode 120000 index fc78e94..0000000 --- a/config/rofi/scripts/launcher_t5 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-5/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/launcher_t6 b/config/rofi/scripts/launcher_t6 deleted file mode 120000 index 3b8d494..0000000 --- a/config/rofi/scripts/launcher_t6 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-6/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/launcher_t7 b/config/rofi/scripts/launcher_t7 deleted file mode 120000 index dde37fe..0000000 --- a/config/rofi/scripts/launcher_t7 +++ /dev/null @@ -1 +0,0 @@ -../launchers/type-7/launcher.sh
\ No newline at end of file diff --git a/config/rofi/scripts/powermenu_t1 b/config/rofi/scripts/powermenu_t1 deleted file mode 120000 index 9d864f6..0000000 --- a/config/rofi/scripts/powermenu_t1 +++ /dev/null @@ -1 +0,0 @@ -../powermenu/type-1/powermenu.sh
\ No newline at end of file diff --git a/config/rofi/scripts/powermenu_t2 b/config/rofi/scripts/powermenu_t2 deleted file mode 120000 index 2833c51..0000000 --- a/config/rofi/scripts/powermenu_t2 +++ /dev/null @@ -1 +0,0 @@ -../powermenu/type-2/powermenu.sh
\ No newline at end of file diff --git a/config/rofi/scripts/powermenu_t3 b/config/rofi/scripts/powermenu_t3 deleted file mode 120000 index 4386fa2..0000000 --- a/config/rofi/scripts/powermenu_t3 +++ /dev/null @@ -1 +0,0 @@ -../powermenu/type-3/powermenu.sh
\ No newline at end of file diff --git a/config/rofi/scripts/powermenu_t4 b/config/rofi/scripts/powermenu_t4 deleted file mode 120000 index e3e1703..0000000 --- a/config/rofi/scripts/powermenu_t4 +++ /dev/null @@ -1 +0,0 @@ -../powermenu/type-4/powermenu.sh
\ No newline at end of file diff --git a/config/rofi/scripts/powermenu_t5 b/config/rofi/scripts/powermenu_t5 deleted file mode 120000 index a20c500..0000000 --- a/config/rofi/scripts/powermenu_t5 +++ /dev/null @@ -1 +0,0 @@ -../powermenu/type-5/powermenu.sh
\ No newline at end of file diff --git a/config/rofi/scripts/powermenu_t6 b/config/rofi/scripts/powermenu_t6 deleted file mode 120000 index 3be8c2a..0000000 --- a/config/rofi/scripts/powermenu_t6 +++ /dev/null @@ -1 +0,0 @@ -../powermenu/type-6/powermenu.sh
\ No newline at end of file diff --git a/config/zathura/zathurarc b/config/zathura/zathurarc deleted file mode 100644 index f93e7e4..0000000 --- a/config/zathura/zathurarc +++ /dev/null @@ -1,4 +0,0 @@ -set selection-clipboard clipboard - -map <C-i> zoom in -map <C-o> zoom out diff --git a/etc/lightdm/slick-greeter.conf b/etc/lightdm/slick-greeter.conf deleted file mode 100644 index f95ded1..0000000 --- a/etc/lightdm/slick-greeter.conf +++ /dev/null @@ -1,11 +0,0 @@ -[Greeter] -background=/usr/share/anhgelus/oppressive-city.jpg -draw-user-backgrounds=false -draw-grid=true -theme-name=Arc-Dark -icon-theme-name=Qogir -cursor-theme-name=Qogir -cursor-theme-size=16 -show-a11y=false -show-power=false -background-color=#000000 diff --git a/install.sh b/install.sh deleted file mode 100644 index a01e1a3..0000000 --- a/install.sh +++ /dev/null @@ -1,37 +0,0 @@ -dotfiles=$HOMES/dotfiles - -cp $dotfiles/config/polybar/config.ini $HOME/.config/polybar/config.ini -cp $dotfiles/config/i3/config $HOME/.config/i3/config -cp $dotfiles/config/picom/picom.conf $HOME/.config/picom/picom.conf -cp $dotfiles/config/nvim/init.vim $HOME/.config/nvim/init.vim -sudo cp $dotfiles/etc/lightdm/slick-greeter.conf /etc/lightdm/slick-greeter.conf - -# Install yay -git clone https://aur.archlinux.org/yay.git -cd yay -makepkg -si -cd .. -rm -fr yay/ - -# Install basic apps -yay -Sy snap flatpak picom-jonaburg-git polybar rofi feh xbindkeys alacritty fish xclip -flatpak install io.bassi.Amberol - -# Install oh my fish and setup the fish's theme -curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish - -omf install slacker && omf theme slacker - -# Install vim config -cp $dotfiles/.vimrc $HOME/.vimrc -mkdir -p $HOME/.vim/colors $HOME/.vim/autoload -# Install vundle -git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim -# Install all vim plugins -vim +PluginInstall +qall -nvim +PluginInstall +qall - -# Install vim theme -curl https://raw.githubusercontent.com/joshdick/onedark.vim/main/colors/onedark.vim > $HOME/.vim/colors/onedark.vim -curl https://raw.githubusercontent.com/joshdick/onedark.vim/main/autoload/onedark.vim > $HOME/.vim/autoload/onedark.vim - diff --git a/update.sh b/update.sh deleted file mode 100644 index 5492f39..0000000 --- a/update.sh +++ /dev/null @@ -1,13 +0,0 @@ -dotfiles=$HOME/dotfiles - -# Config -cp -r $HOME/.config/polybar/ $dotfiles/config/ -cp $HOME/.config/i3/config $dotfiles/config/i3/config -cp -r $HOME/.config/rofi $dotfiles/config/ -cp $HOME/.config/picom/picom.conf $dotfiles/config/picom/picom.conf -cp $HOME/.config/nvim/init.vim $dotfiles/config/nvim/init.vim -cp /etc/lightdm/slick-greeter.conf $dotfiles/etc/lightdm/slick-greeter.conf - -# Vim -cp $HOME/.vimrc $dotfiles/.vimrc - |
