add i3 and polybar conf, add new rofi logout screen
This commit is contained in:
6
polybar/modules/battery.ini
Normal file
6
polybar/modules/battery.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
[module/battery]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/battery.sh
|
||||
format-font = 1
|
||||
interval = 10
|
||||
click-right = xfce4-power-manager-settings
|
||||
9
polybar/modules/bluetooth.ini
Normal file
9
polybar/modules/bluetooth.ini
Normal file
@@ -0,0 +1,9 @@
|
||||
[module/bluetooth]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/bluetooth.sh
|
||||
format-font = 4
|
||||
format-background = ${colors.background}
|
||||
format-foreground = ${colors.cyan}
|
||||
format-padding = 1
|
||||
click-left = $HOME/.config/polybar/scripts/bluetooth_toogle.sh
|
||||
click-right = blueman-manager
|
||||
10
polybar/modules/cpu.ini
Normal file
10
polybar/modules/cpu.ini
Normal file
@@ -0,0 +1,10 @@
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format = <label>
|
||||
label = " %{F#40C4FF}CPU %percentage%%"
|
||||
label-foreground = ${colors.bluegreen}
|
||||
label-background = ${colors.background}
|
||||
label-font = 2
|
||||
label-padding-left = 0
|
||||
label-padding-right = 1
|
||||
11
polybar/modules/date.ini
Normal file
11
polybar/modules/date.ini
Normal file
@@ -0,0 +1,11 @@
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = "%{F#FFE082}%{T1} %{T2}%a, %b %d"
|
||||
|
||||
time = "%{T1} %{T2}%H:%M"
|
||||
|
||||
label = %date% - %time%
|
||||
label-foreground = ${colors.green}
|
||||
label-font = 2
|
||||
11
polybar/modules/gpu.ini
Normal file
11
polybar/modules/gpu.ini
Normal file
@@ -0,0 +1,11 @@
|
||||
[module/gpu-nvidia]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/gpu-nvidia.sh
|
||||
interval = 2
|
||||
format-font = 2
|
||||
format-foreground = #69F0AE
|
||||
|
||||
[module/gpu-intel]
|
||||
type = custom/script
|
||||
#exec = $HOME/.config/polybar/scripts/gpu-intel.sh
|
||||
interval = 2
|
||||
24
polybar/modules/i3.ini
Normal file
24
polybar/modules/i3.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
pin-workspaces = true
|
||||
|
||||
label-focused-font = 4
|
||||
label-unfocused-font = 4
|
||||
label-visible-font = 4
|
||||
label-urgent-font = 4
|
||||
|
||||
label-focused = "%{T1}%{F#00fff9}%{B#212121}%{T4}%{F#212121}%{B#00fff9} %name% %{T1}%{F#00fff9}%{B#212121}"
|
||||
|
||||
label-unfocused = "%{T1}%{F#9600ff}%{B#212121}%{T4}%{F#212121}%{B#9600ff} %name% %{T1}%{F#9600ff}%{B#212121}"
|
||||
label-unfocused-foreground = #00ACC1
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = "%{T1}%{F#00b8ff}%{B#212121}%{T4}%{F#212121}%{B#00b8ff} %name% %{T1}%{F#00b8ff}%{B#212121}"
|
||||
label-visible-foreground = #00E5FF
|
||||
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = "%{T1}%{F#ff00c1}%{B#212121}%{T4}%{F#212121}%{B#ff00c1} %name% %{T1}%{F#ff00c1}%{B#212121}"
|
||||
label-urgent-foreground = #FF5252
|
||||
8
polybar/modules/memory.ini
Normal file
8
polybar/modules/memory.ini
Normal file
@@ -0,0 +1,8 @@
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 3
|
||||
format = <label>
|
||||
label = " %{F#FFFF00} %{T2}RAM %gb_used% | %gb_total% "
|
||||
label-font = 1
|
||||
label-padding-left = 0
|
||||
label-padding-right = 0
|
||||
15
polybar/modules/modules.ini
Normal file
15
polybar/modules/modules.ini
Normal file
@@ -0,0 +1,15 @@
|
||||
[global/wm]
|
||||
include-file = ~/.config/polybar/modules/i3.ini
|
||||
include-file = ~/.config/polybar/modules/separators.ini
|
||||
include-file = ~/.config/polybar/modules/network.ini
|
||||
include-file = ~/.config/polybar/modules/xwindow.ini
|
||||
include-file = ~/.config/polybar/modules/date.ini
|
||||
include-file = ~/.config/polybar/modules/sound.ini
|
||||
include-file = ~/.config/polybar/modules/battery.ini
|
||||
include-file = ~/.config/polybar/modules/bluetooth.ini
|
||||
include-file = ~/.config/polybar/modules/cpu.ini
|
||||
include-file = ~/.config/polybar/modules/memory.ini
|
||||
include-file = ~/.config/polybar/modules/powermenu.ini
|
||||
include-file = ~/.config/polybar/modules/player-mpris-tail.ini
|
||||
include-file = ~/.config/polybar/modules/gpu.ini
|
||||
include-file = ~/.config/polybar/modules/screen.ini
|
||||
35
polybar/modules/network.ini
Normal file
35
polybar/modules/network.ini
Normal file
@@ -0,0 +1,35 @@
|
||||
[module/wlan]
|
||||
type = custom/script
|
||||
exec=$HOME/.config/polybar/scripts/wifi.sh
|
||||
format-foreground = ${colors.background}
|
||||
format-background = ${colors.yellow}
|
||||
format-font = 2
|
||||
format-padding = 2
|
||||
interval = 5
|
||||
|
||||
[module/wlanstrength]
|
||||
type = custom/script
|
||||
exec=$HOME/.config/polybar/scripts/wifistrength.sh
|
||||
format-foreground = ${colors.green}
|
||||
format-background = ${colors.background}
|
||||
format-font = 2
|
||||
click-left = $HOME/.config/polybar/scripts/wifi_toggle.sh
|
||||
click-right = gnome-control-center wifi
|
||||
|
||||
[module/networkactivity]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/network_speed.sh
|
||||
format-foreground = ${colors.yellow}
|
||||
|
||||
[module/eth]
|
||||
type = internal/network
|
||||
interface = eno1
|
||||
interval = 3.0
|
||||
format-connected = <label-connected>
|
||||
label-connected = "%{F#FFAB40} %{T2}%ifname%: %local_ip% "
|
||||
format-connected-font = 1
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-underline = ${self.format-connected-underline}
|
||||
label-disconnected = "%{F#FFAB40} %{T2}%ifname%: disconnected "
|
||||
format-disconnected-font = 1
|
||||
6
polybar/modules/player-mpris-tail.ini
Normal file
6
polybar/modules/player-mpris-tail.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
[module/player-mpris-tail]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/player-mpris-tail.py -f ' {:title:t30:{title}:} - {:artist:t30:{artist}:} %{A1:$HOME/.config/polybar/scripts/player-mpris-tail.py previous:}玲%{A}%{A1:$HOME/.config/polybar/scripts/player-mpris-tail.py play-pause:} 懶 {icon-reversed}%{A}%{A1:$HOME/.config/polybar/scripts/player-mpris-tail.py next:}怜%{A}'
|
||||
tail = true
|
||||
format-foreground = ${colors.pink}
|
||||
interval = 5
|
||||
4
polybar/modules/powermenu.ini
Normal file
4
polybar/modules/powermenu.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
[module/powermenu]
|
||||
type = custom/script
|
||||
exec = echo "%{F#FF5252} "
|
||||
click-left = "rofi -show power-menu -modi power-menu:~/.config/rofi/rofi-power-menu -theme ~/.config/rofi/powermenu/powermenu.rasi"
|
||||
6
polybar/modules/screen.ini
Normal file
6
polybar/modules/screen.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
[module/toggle_screen]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/scripts/check_screen.sh
|
||||
format-font = 4
|
||||
format-foreground = ${colors.pink}
|
||||
click-left = $HOME/.config/polybar/scripts/toggle_screen.sh
|
||||
35
polybar/modules/separators.ini
Normal file
35
polybar/modules/separators.ini
Normal file
@@ -0,0 +1,35 @@
|
||||
[module/separator1]
|
||||
type = custom/text
|
||||
content = %{T6}/%{T-}
|
||||
content-font = 3
|
||||
content-foreground = #FF5252
|
||||
|
||||
[module/separator2]
|
||||
type = custom/text
|
||||
content = %{T6}/%{T-}
|
||||
content-font = 3
|
||||
content-foreground = #FFAB40
|
||||
|
||||
[module/separator3]
|
||||
type = custom/text
|
||||
content = %{T6}/%{T-}
|
||||
content-font = 3
|
||||
content-foreground = #40C4FF
|
||||
|
||||
[module/separator4]
|
||||
type = custom/text
|
||||
content = %{T6}/%{T-}
|
||||
content-font = 3
|
||||
content-foreground = #69F0AE
|
||||
|
||||
[module/separator5]
|
||||
type = custom/text
|
||||
content = %{T6}/%{T-}
|
||||
content-font = 3
|
||||
content-foreground = #FFFF00
|
||||
|
||||
[module/separator6]
|
||||
type = custom/text
|
||||
content = %{T6}/%{T-}
|
||||
content-font = 3
|
||||
content-foreground = #18FFFF
|
||||
21
polybar/modules/sound.ini
Normal file
21
polybar/modules/sound.ini
Normal file
@@ -0,0 +1,21 @@
|
||||
[module/sound]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume = <ramp-volume><label-volume>
|
||||
label-volume = "%{F#18FFFF}%percentage%% "
|
||||
label-volume-padding-right = 0
|
||||
label-volume-padding-left = 1
|
||||
label-volume-font = 2
|
||||
|
||||
format-mutes = <label-muted>
|
||||
label-muted-padding-right = 0
|
||||
label-muted-font = 1
|
||||
label-muted = "%{F#18FFFF} ﱝ %{T2}0% "
|
||||
|
||||
ramp-volume-0 = "%{F#18FFFF} "
|
||||
ramp-volume-1 = "%{F#18FFFF} 墳"
|
||||
ramp-volume-2 = "%{F#18FFFF} "
|
||||
ramp-volume-font = 1
|
||||
use-ui-max = true
|
||||
|
||||
click-right = pavucontrol
|
||||
4
polybar/modules/xwindow.ini
Normal file
4
polybar/modules/xwindow.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = " %{T2}%{F#64FFDA}%title%"
|
||||
label-maxlen = 48
|
||||
Reference in New Issue
Block a user