diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com> | 2023-07-25 23:46:05 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com> | 2023-07-25 23:46:05 +0200 |
| commit | c57e8ab185623510e527400a34d729b313daffc4 (patch) | |
| tree | 7b67d44894255ce4810d8074d68fce88f66d37d0 /config/polybar/panels | |
| parent | 9f004955033387eebf3f58aec2501fba5020f307 (diff) | |
feat(polybar): update polybar style
Diffstat (limited to 'config/polybar/panels')
122 files changed, 16108 insertions, 0 deletions
diff --git a/config/polybar/panels/config.ini b/config/polybar/panels/config.ini new file mode 100644 index 0000000..02a4972 --- /dev/null +++ b/config/polybar/panels/config.ini @@ -0,0 +1,657 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100755 index 0000000..2cb3adb --- /dev/null +++ b/config/polybar/panels/launch.sh @@ -0,0 +1,14 @@ +#!/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 new file mode 100644 index 0000000..d11ae7d --- /dev/null +++ b/config/polybar/panels/menu/budgie/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..fc1dee0 --- /dev/null +++ b/config/polybar/panels/menu/budgie/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..39fe6a2 --- /dev/null +++ b/config/polybar/panels/menu/budgie/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..658433d --- /dev/null +++ b/config/polybar/panels/menu/budgie/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..ebbeb55 --- /dev/null +++ b/config/polybar/panels/menu/budgie/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..5543ca9 --- /dev/null +++ b/config/polybar/panels/menu/budgie/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..82ac8be --- /dev/null +++ b/config/polybar/panels/menu/budgie/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..f4404ac --- /dev/null +++ b/config/polybar/panels/menu/deepin/colors.rasi @@ -0,0 +1,8 @@ +/* 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 new file mode 100644 index 0000000..a037ad7 --- /dev/null +++ b/config/polybar/panels/menu/deepin/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..c2888b0 --- /dev/null +++ b/config/polybar/panels/menu/deepin/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..839bfca --- /dev/null +++ b/config/polybar/panels/menu/deepin/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..6d20609 --- /dev/null +++ b/config/polybar/panels/menu/deepin/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..db65474 --- /dev/null +++ b/config/polybar/panels/menu/deepin/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..2ea46a5 --- /dev/null +++ b/config/polybar/panels/menu/deepin/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..c4d19c7 --- /dev/null +++ b/config/polybar/panels/menu/elementary/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..cdcb9ea --- /dev/null +++ b/config/polybar/panels/menu/elementary/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..f6899e5 --- /dev/null +++ b/config/polybar/panels/menu/elementary/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..e571507 --- /dev/null +++ b/config/polybar/panels/menu/elementary/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..76b20c3 --- /dev/null +++ b/config/polybar/panels/menu/elementary/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..048a09e --- /dev/null +++ b/config/polybar/panels/menu/elementary/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..ebd4b37 --- /dev/null +++ b/config/polybar/panels/menu/elementary/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..e53a570 --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..cdcb9ea --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..f6899e5 --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..e571507 --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..76b20c3 --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..048a09e --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..ebd4b37 --- /dev/null +++ b/config/polybar/panels/menu/elementary_dark/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..27c66a2 --- /dev/null +++ b/config/polybar/panels/menu/gnome/colors.rasi @@ -0,0 +1,10 @@ +/* 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 new file mode 100644 index 0000000..76daf50 --- /dev/null +++ b/config/polybar/panels/menu/gnome/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..b909517 --- /dev/null +++ b/config/polybar/panels/menu/gnome/launcher.rasi @@ -0,0 +1,125 @@ +/* + * + * 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 new file mode 100644 index 0000000..f876635 --- /dev/null +++ b/config/polybar/panels/menu/gnome/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..38553e7 --- /dev/null +++ b/config/polybar/panels/menu/gnome/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..89d04b6 --- /dev/null +++ b/config/polybar/panels/menu/gnome/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..9a97988 --- /dev/null +++ b/config/polybar/panels/menu/gnome/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..91ebdf7 --- /dev/null +++ b/config/polybar/panels/menu/kde/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..0a8bc84 --- /dev/null +++ b/config/polybar/panels/menu/kde/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..ec94f98 --- /dev/null +++ b/config/polybar/panels/menu/kde/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..d7de455 --- /dev/null +++ b/config/polybar/panels/menu/kde/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..be5ba17 --- /dev/null +++ b/config/polybar/panels/menu/kde/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..0e6d31c --- /dev/null +++ b/config/polybar/panels/menu/kde/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..8823cdd --- /dev/null +++ b/config/polybar/panels/menu/kde/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..4334141 --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..0a8bc84 --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..847ae0c --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..d7de455 --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..be5ba17 --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..0e6d31c --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..8823cdd --- /dev/null +++ b/config/polybar/panels/menu/kde_dark/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..0b9516a --- /dev/null +++ b/config/polybar/panels/menu/liri/colors.rasi @@ -0,0 +1,11 @@ +/* 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 new file mode 100644 index 0000000..944b3f2 --- /dev/null +++ b/config/polybar/panels/menu/liri/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..291b992 --- /dev/null +++ b/config/polybar/panels/menu/liri/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..0fc1bdc --- /dev/null +++ b/config/polybar/panels/menu/liri/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..d987a12 --- /dev/null +++ b/config/polybar/panels/menu/liri/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..c9c57a5 --- /dev/null +++ b/config/polybar/panels/menu/liri/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..770b2fb --- /dev/null +++ b/config/polybar/panels/menu/liri/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..b60c1c2 --- /dev/null +++ b/config/polybar/panels/menu/mint/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..db3beb6 --- /dev/null +++ b/config/polybar/panels/menu/mint/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..76f8ae5 --- /dev/null +++ b/config/polybar/panels/menu/mint/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..c2ccdb3 --- /dev/null +++ b/config/polybar/panels/menu/mint/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..5c87e28 --- /dev/null +++ b/config/polybar/panels/menu/mint/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..e690d40 --- /dev/null +++ b/config/polybar/panels/menu/mint/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..cd940e8 --- /dev/null +++ b/config/polybar/panels/menu/mint/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..f4404ac --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/colors.rasi @@ -0,0 +1,8 @@ +/* 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 new file mode 100644 index 0000000..db39c05 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..6040a6d --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..31241a3 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..8309987 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..0d477b8 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..690be36 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_gnome/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..66c32b8 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..7e92b3f --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..8b48c99 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..29746d9 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..74ffe73 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..b17cd16 --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..64fe9bc --- /dev/null +++ b/config/polybar/panels/menu/ubuntu_unity/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..58f5b26 --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/colors.rasi @@ -0,0 +1,10 @@ +/* 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 new file mode 100644 index 0000000..889d051 --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..4626a7a --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..931e631 --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..40bd9ba --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..8ce6857 --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..33812c4 --- /dev/null +++ b/config/polybar/panels/menu/xubuntu/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..e81d227 --- /dev/null +++ b/config/polybar/panels/menu/zorin/colors.rasi @@ -0,0 +1,9 @@ +/* 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 new file mode 100644 index 0000000..5580399 --- /dev/null +++ b/config/polybar/panels/menu/zorin/confirm.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..aa6277a --- /dev/null +++ b/config/polybar/panels/menu/zorin/launcher.rasi @@ -0,0 +1,119 @@ +/* + * + * 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 new file mode 100644 index 0000000..faaf79b --- /dev/null +++ b/config/polybar/panels/menu/zorin/message.rasi @@ -0,0 +1,25 @@ +/* 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 new file mode 100644 index 0000000..59f3d91 --- /dev/null +++ b/config/polybar/panels/menu/zorin/networkmenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..5e17218 --- /dev/null +++ b/config/polybar/panels/menu/zorin/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..2876c22 --- /dev/null +++ b/config/polybar/panels/menu/zorin/styles.rasi @@ -0,0 +1,127 @@ +/* + * + * 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 new file mode 100644 index 0000000..02a4972 --- /dev/null +++ b/config/polybar/panels/panel/budgie.ini @@ -0,0 +1,657 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..cb61bb5 --- /dev/null +++ b/config/polybar/panels/panel/deepin.ini @@ -0,0 +1,639 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..247d9ea --- /dev/null +++ b/config/polybar/panels/panel/elementary.ini @@ -0,0 +1,564 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..61e9c9a --- /dev/null +++ b/config/polybar/panels/panel/elementary_dark.ini @@ -0,0 +1,564 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..e90940e --- /dev/null +++ b/config/polybar/panels/panel/gnome.ini @@ -0,0 +1,571 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..0baf518 --- /dev/null +++ b/config/polybar/panels/panel/kde.ini @@ -0,0 +1,580 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..93885cb --- /dev/null +++ b/config/polybar/panels/panel/kde_dark.ini @@ -0,0 +1,580 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..d913023 --- /dev/null +++ b/config/polybar/panels/panel/liri.ini @@ -0,0 +1,630 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..5289739 --- /dev/null +++ b/config/polybar/panels/panel/mint.ini @@ -0,0 +1,612 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..d852b6e --- /dev/null +++ b/config/polybar/panels/panel/ubuntu_gnome.ini @@ -0,0 +1,571 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..1754ff2 --- /dev/null +++ b/config/polybar/panels/panel/ubuntu_unity.ini @@ -0,0 +1,577 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..cefbe10 --- /dev/null +++ b/config/polybar/panels/panel/xubuntu.ini @@ -0,0 +1,616 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100644 index 0000000..aea0117 --- /dev/null +++ b/config/polybar/panels/panel/zorin.ini @@ -0,0 +1,641 @@ +;; ┌────────────────────────────────────────────────────────────┐ +;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│ +;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│ +;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│ +;; │░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 new file mode 100755 index 0000000..2d4ac1b --- /dev/null +++ b/config/polybar/panels/scripts/launcher.sh @@ -0,0 +1,64 @@ +#!/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 new file mode 100755 index 0000000..a8c9e73 --- /dev/null +++ b/config/polybar/panels/scripts/powermenu.sh @@ -0,0 +1,139 @@ +#!/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 new file mode 100755 index 0000000..1a11840 --- /dev/null +++ b/config/polybar/panels/scripts/style-switch.sh @@ -0,0 +1,69 @@ +#!/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 new file mode 100755 index 0000000..fc627c7 --- /dev/null +++ b/config/polybar/panels/scripts/styles.sh @@ -0,0 +1,88 @@ +#!/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 differnew file mode 100644 index 0000000..24b6c29 --- /dev/null +++ b/config/polybar/panels/wallpapers/budgie.jpg diff --git a/config/polybar/panels/wallpapers/deepin.jpg b/config/polybar/panels/wallpapers/deepin.jpg Binary files differnew file mode 100644 index 0000000..7c6870d --- /dev/null +++ b/config/polybar/panels/wallpapers/deepin.jpg diff --git a/config/polybar/panels/wallpapers/elementary.jpg b/config/polybar/panels/wallpapers/elementary.jpg Binary files differnew file mode 100644 index 0000000..b8696e3 --- /dev/null +++ b/config/polybar/panels/wallpapers/elementary.jpg diff --git a/config/polybar/panels/wallpapers/elementary_2.jpg b/config/polybar/panels/wallpapers/elementary_2.jpg Binary files differnew file mode 100644 index 0000000..2fd51c3 --- /dev/null +++ b/config/polybar/panels/wallpapers/elementary_2.jpg diff --git a/config/polybar/panels/wallpapers/gnome.jpg b/config/polybar/panels/wallpapers/gnome.jpg Binary files differnew file mode 100644 index 0000000..b9b8d69 --- /dev/null +++ b/config/polybar/panels/wallpapers/gnome.jpg diff --git a/config/polybar/panels/wallpapers/kde.jpg b/config/polybar/panels/wallpapers/kde.jpg Binary files differnew file mode 100644 index 0000000..13d1b47 --- /dev/null +++ b/config/polybar/panels/wallpapers/kde.jpg diff --git a/config/polybar/panels/wallpapers/kde_2.jpg b/config/polybar/panels/wallpapers/kde_2.jpg Binary files differnew file mode 100644 index 0000000..b555447 --- /dev/null +++ b/config/polybar/panels/wallpapers/kde_2.jpg diff --git a/config/polybar/panels/wallpapers/liri.png b/config/polybar/panels/wallpapers/liri.png Binary files differnew file mode 100644 index 0000000..8d657b9 --- /dev/null +++ b/config/polybar/panels/wallpapers/liri.png diff --git a/config/polybar/panels/wallpapers/mint.jpg b/config/polybar/panels/wallpapers/mint.jpg Binary files differnew file mode 100644 index 0000000..6ab13d4 --- /dev/null +++ b/config/polybar/panels/wallpapers/mint.jpg diff --git a/config/polybar/panels/wallpapers/ubuntu.jpg b/config/polybar/panels/wallpapers/ubuntu.jpg Binary files differnew file mode 100644 index 0000000..ac1f05e --- /dev/null +++ b/config/polybar/panels/wallpapers/ubuntu.jpg diff --git a/config/polybar/panels/wallpapers/xubuntu.png b/config/polybar/panels/wallpapers/xubuntu.png Binary files differnew file mode 100644 index 0000000..9fd6833 --- /dev/null +++ b/config/polybar/panels/wallpapers/xubuntu.png diff --git a/config/polybar/panels/wallpapers/zorin.png b/config/polybar/panels/wallpapers/zorin.png Binary files differnew file mode 100644 index 0000000..2c7eac3 --- /dev/null +++ b/config/polybar/panels/wallpapers/zorin.png |
