Added polybar + rofi configs and symlinks
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
;==========================================================
|
||||
; Polybar config - Qogir themed
|
||||
; Place at ~/.config/polybar/config.ini
|
||||
;==========================================================
|
||||
|
||||
[colors]
|
||||
background = #282A33
|
||||
background-alt = #3c3c3c
|
||||
foreground = #d3dae3
|
||||
foreground-alt = #000000
|
||||
accent = #5294e2
|
||||
accent-alt = #6ba0e8
|
||||
red = #e35b5b
|
||||
green = #98c379
|
||||
yellow = #e5c07b
|
||||
disabled = #707880
|
||||
|
||||
[bar/main]
|
||||
width = 100%
|
||||
height = 35px
|
||||
radius = 0
|
||||
fixed-center = true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 0px
|
||||
line-color = ${colors.accent}
|
||||
|
||||
border-size = 0px
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator = "|"
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = "JetBrainsMono Nerd Font:size=14;3"
|
||||
font-1 = "JetBrainsMono Nerd Font:size=14;3"
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
modules-right = filesystem pulseaudio memory cpu eth date tray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
;==========================================================
|
||||
; Workspaces
|
||||
;==========================================================
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = " %name% "
|
||||
label-active-background = ${colors.accent}
|
||||
label-active-foreground = ${colors.background}
|
||||
label-active-underline = ${colors.accent-alt}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = " %name% "
|
||||
label-occupied-foreground = #ffffff
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = " %name% "
|
||||
label-urgent-background = ${colors.red}
|
||||
label-urgent-foreground = ${colors.background}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = " %name% "
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Focused window title - focus indicator
|
||||
;==========================================================
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title%
|
||||
label-foreground = #ffffff
|
||||
label-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Date / time
|
||||
;==========================================================
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
;date = %Y-%m-%d %H:%M:%S
|
||||
date = %Y-%m-%d %H:%M
|
||||
date-alt = %H:%M
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.foreground}
|
||||
label-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Pulseaudio
|
||||
;==========================================================
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.accent}
|
||||
format-volume = <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
label-volume-padding = 1
|
||||
|
||||
label-muted = "MUTED"
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
label-muted-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Pulseaudio
|
||||
;==========================================================
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
tray-maxsize = 16
|
||||
tray-padding = 4
|
||||
tray-background = ${colors.background}
|
||||
|
||||
;==========================================================
|
||||
; Settings
|
||||
;==========================================================
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = false
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
pkill -x polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
polybar main &
|
||||
@@ -0,0 +1,142 @@
|
||||
configuration {
|
||||
display-run: "# ";
|
||||
display-drun: "App ";
|
||||
font: "Inter 14";
|
||||
auto-select: false;
|
||||
terminal: "terminator";
|
||||
run-shell-command: "{terminal} -e \"bash -c '{cmd};bash'\"";
|
||||
separator-style: "solid";
|
||||
show-icons: true;
|
||||
kb-row-last: "";
|
||||
kb-row-first: "";
|
||||
kb-move-front: "Home";
|
||||
kb-move-end: "End";
|
||||
kb-element-next: "Alt+Tab";
|
||||
kb-element-prev: "Alt+Shift+Tab";
|
||||
kb-row-select: "Tab";
|
||||
kb-row-down: "Control+n";
|
||||
kb-row-up: "Control+p";
|
||||
kb-clear-line: "Control+a";
|
||||
click-to-exit: false;
|
||||
disable-history: false;
|
||||
run,drun {
|
||||
fallback-icon: "exec";
|
||||
}
|
||||
}
|
||||
|
||||
window {
|
||||
width: 700px;
|
||||
background-color: #282A33;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
children: [ vertbox ];
|
||||
orientation: vertical;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
mode-switcher {
|
||||
margin: 0;
|
||||
expand: true;
|
||||
}
|
||||
|
||||
button {
|
||||
font: "Inter 13";
|
||||
expand: false;
|
||||
padding: 3px 15px 7px 20px;
|
||||
text-color: #707880;
|
||||
border: 2px 0 0 0;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
button selected.normal {
|
||||
text-color: #d3dae3;
|
||||
border-color: #5294e2;
|
||||
border: 2px 0 0 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
error-message {
|
||||
border: 0;
|
||||
background-color: #282A33;
|
||||
padding: 10px 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
font: "Inter 15";
|
||||
background-color: #282A33;
|
||||
border-color: #1c1c1c;
|
||||
border: 0 0 1px solid 0;
|
||||
padding: 10px 15px;
|
||||
children: [ prompt, entry, num-filtered-rows, textbox-slash, num-rows ];
|
||||
}
|
||||
|
||||
textbox-slash {
|
||||
padding: 0 5px;
|
||||
content: "/";
|
||||
expand: false;
|
||||
text-color: #707880;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "";
|
||||
text-color: #d3dae3;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: #5294e2;
|
||||
}
|
||||
|
||||
num-filtered-rows,
|
||||
num-rows {
|
||||
text-color: #707880;
|
||||
}
|
||||
|
||||
listview {
|
||||
scrollbar: false;
|
||||
expand: true;
|
||||
border: 0 0 1px 0;
|
||||
border-color: #1c1c1c;
|
||||
padding: 0;
|
||||
background-color: #282A33;
|
||||
children: [element-icon, element-text];
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
handle-color: #707880;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
toolbar {
|
||||
orientation: horizontal;
|
||||
children: [ mode-switcher ];
|
||||
expand: false;
|
||||
padding: 0 5px 3px 0;
|
||||
background-color: #282A33;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 9px 10px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
element.normal.normal,
|
||||
element.normal.urgent,
|
||||
element.normal.active,
|
||||
element.alternate.normal,
|
||||
element.alternate.urgent,
|
||||
element.alternate.active {
|
||||
background-color: #282A33;
|
||||
text-color: #d3dae3;
|
||||
}
|
||||
|
||||
element.selected.normal,
|
||||
element.selected.urgent,
|
||||
element.selected.active {
|
||||
background-color: #282A33;
|
||||
text-color: #d3dae3;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
padding: 0 7px 0 0;
|
||||
}
|
||||
Reference in New Issue
Block a user