added public ip script to polybar
This commit is contained in:
@@ -12,7 +12,7 @@ rate 59.99
|
||||
output DP-1
|
||||
crtc 1
|
||||
gamma 0.909:0.833:0.769
|
||||
mode 2560x1600
|
||||
mode 2560x1440
|
||||
pos 3840x0
|
||||
rate 59.97
|
||||
rate 59.95
|
||||
transform 1.500000,0.000000,0.000000,0.000000,1.500000,0.000000,0.000000,0.000000,1.000000
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DP-1 00ffffffffffff0022f06c280101010127150104b5402878e28d85ad4f35b1250e505400000001010101010101010101010101010101e26800a0a0402e603020360081902100001abc1b00a0502017303020360081902100001a000000fc004850205a523330770a20202020000000ff00434e34313339304254420a20200028
|
||||
DP-1 00ffffffffffff004c2d810b3239333032180103803d23782a5fb1a2574fa2280f5054bfef80714f810081c081809500a9c0b300010104740030f2705a80b0588a0060592100001e000000fd00184b1e5a1e000a202020202020000000fc00553238443539300a2020202020000000ff0048344d464330323037360a2020011a020323f14890041f130312202223090707830100006d030c001000803c201060010203023a801871382d40582c450060592100001e023a80d072382d40102c458060592100001e011d007251d01e206e28550060592100001e565e00a0a0a029503020350060592100001a000000000000000000000000000000000000000047
|
||||
eDP-1 00ffffffffffff004d10d01400000000031e0104b52215780adf0eaa5233b8250d4f550000000101010101010101010101010101010172e700a0f06045903020360050d21000001828b900a0f06045903020360050d210000018000000fe003930543032804c513135365231000000000002410332011200000b010a202001d802030f00e3058000e606050160602800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa
|
||||
|
||||
@@ -21,7 +21,7 @@ if [[ "$current_profile" == *'oled'* ]]; then
|
||||
xset s noblank
|
||||
xset s 300
|
||||
xset -dpms
|
||||
xset s on
|
||||
#xset s on
|
||||
|
||||
# add timer to auto hide polybar
|
||||
auto_hide_polybar "true"
|
||||
|
||||
@@ -162,7 +162,7 @@ font-2 = "xos4 Terminus:size=22;1"
|
||||
|
||||
modules-left = workspaces cpu cpu_temp memory filesystem
|
||||
modules-center = title
|
||||
modules-right = pulseaudio mic_status network battery date
|
||||
modules-right = pulseaudio mic_status network public_ip_city battery date
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator =
|
||||
|
||||
@@ -9,6 +9,12 @@
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
[module/public_ip_city]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/public_ip_city
|
||||
interval=30
|
||||
label=%output%
|
||||
|
||||
[module/mic_status]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/get_mic_status
|
||||
@@ -18,7 +24,7 @@ label=%output%
|
||||
[module/cpu_temp]
|
||||
type = custom/script
|
||||
exec = sensors | awk '/Core/ {printf "%.0f\n", $3}' | tail -n1
|
||||
interval=1
|
||||
interval=4
|
||||
label= @ %output%C
|
||||
|
||||
[module/checknetwork]
|
||||
|
||||
@@ -6,7 +6,8 @@ xrandr --dpi 210
|
||||
export GDK_SCALE=1.5
|
||||
export ELM_SCALE=1.5
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1.5
|
||||
MOZ_USE_XINPUT2=1
|
||||
exoprt MOZ_USE_XINPUT2=1
|
||||
export MESA_LOADER_DRIVER_OVERRIDE=i965
|
||||
|
||||
(sleep 5 && xset dpms 300 300 300) &
|
||||
|
||||
|
||||
Reference in New Issue
Block a user