1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Compare commits

..

No commits in common. "ef4b739af1088840895d0e2740b67d7d97d9378b" and "55e492cd8f23cb3d31380d029b97b8568a78e1bd" have entirely different histories.

4 changed files with 11 additions and 10 deletions

View File

@ -24,7 +24,7 @@
], ],
"bug_report_endpoint_url": "https://riot.im/bugreports/submit", "bug_report_endpoint_url": "https://riot.im/bugreports/submit",
"defaultCountryCode": "GB", "defaultCountryCode": "GB",
"showLabsSettings": true, "showLabsSettings": false,
"features": { "features": {
"feature_font_scaling": "labs", "feature_font_scaling": "labs",
"feature_pinning": "labs", "feature_pinning": "labs",

View File

@ -302,7 +302,7 @@ alias xresources="\$EDITOR \$XDG_CONFIG_HOME/X11/xresources ; xrdb merge \$XDG_C
alias sshc="\$EDITOR ~/.ssh/config" alias sshc="\$EDITOR ~/.ssh/config"
alias dotfiles="cd \$XDG_CONFIG_HOME" alias dotfiles="cd \$XDG_CONFIG_HOME"
alias i3c="\$EDITOR \$XDG_CONFIG_HOME/i3/config; systemctl --user reload i3" alias i3c="\$EDITOR \$XDG_CONFIG_HOME/i3/config; systemctl --user reload i3"
alias polybarc="\$EDITOR \$XDG_CONFIG_HOME/polybar/config.ini; systemctl --user reload polybar@i3bar" alias polybarc="\$EDITOR \$XDG_CONFIG_HOME/polybar/config; systemctl --user reload polybar@i3bar"
alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'" alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'"

View File

@ -1,5 +1,5 @@
[colours] [colours]
background = #0000 background = transparent
text = #eceff1 text = #eceff1
icon = #147a82 icon = #147a82
warning = #ffcb00 warning = #ffcb00
@ -16,6 +16,7 @@ format-offset = 0
screenchange-reload = true screenchange-reload = true
[bar/i3bar] [bar/i3bar]
monitor = ${env:MONITOR:HDMI-0}
dpi = ${xrdb:Xft.dpi:96} dpi = ${xrdb:Xft.dpi:96}
fixed-center = false fixed-center = false
enable-ipc = true enable-ipc = true
@ -45,14 +46,14 @@ line-colour = #f00
modules-left = i3 modules-left = i3
modules-center = modules-center =
# modules-right = volume updates weather xkeyboard wlan gateway eth memory cpu xbacklight battery cputemp gputemp date # modules-right = volume updates weather xkeyboard wlan gateway eth memory cpu xbacklight battery cputemp gputemp date
modules-right = volume updates weather wlan eth memory cpu xbacklight battery cputemp gputemp date modules-right = volume updates weather wlan gateway eth memory cpu xbacklight battery cputemp gputemp date
tray-position = right tray-position = right
tray-detached = false tray-detached = false
tray-background = ${colours.background} tray-background = ${colours.background}
#tray-offset-x = -20 #tray-offset-x = -20
#tray-offset-y = 0 #tray-offset-y = 0
tray-maxsize = 16pt tray-maxsize = 12pt
tray-padding = 8pt tray-padding = 8pt
tray-scale = 1.0 tray-scale = 1.0
@ -187,10 +188,10 @@ ramp-signal-foreground = ${colours.icon}
[module/eth] [module/eth]
type = internal/network type = internal/network
interface = lan interface = eth0
interval = 10.0 interval = 3.0
label-connected = %local_ip% & %local_ip6% label-connected = %local_ip%
format-connected-prefix = " " format-connected-prefix = " "
format-connected-prefix-foreground = ${colours.icon} format-connected-prefix-foreground = ${colours.icon}
format-connected-underline = ${colours.background} format-connected-underline = ${colours.background}

View File

@ -1,11 +1,11 @@
[Unit] [Unit]
Description=Polybar bar %i Description=Polybar
Requires=graphical-session.target Requires=graphical-session.target
After=graphical-session.target pulseaudio.socket i3.service After=graphical-session.target pulseaudio.socket i3.service
[Service] [Service]
ExecStart=/usr/bin/polybar --reload --log=warning %i ExecStart=/usr/bin/polybar --reload --log=warning %i
ExecReload=/usr/bin/polybar-msg -p $MAINPID cmd restart ExecReload=/usr/bin/polybar-msg cmd restart -p $MAINPID
Restart=always Restart=always
Slice=session.slice Slice=session.slice