adding wal
This commit is contained in:
parent
a13601966b
commit
876880e6c6
@ -145,13 +145,13 @@ opacity-rule = [
|
|||||||
# Fade windows during opacity changes.
|
# Fade windows during opacity changes.
|
||||||
fading = true;
|
fading = true;
|
||||||
# The time between steps in a fade in milliseconds. (default 10).
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
fade-delta = 4;
|
fade-delta = 10;
|
||||||
# Opacity change between steps while fading in. (default 0.028).
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
fade-in-step = 0.03;
|
fade-in-step = 0.03;
|
||||||
# Opacity change between steps while fading out. (default 0.03).
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.03;
|
||||||
# Fade windows in/out when opening/closing
|
# Fade windows in/out when opening/closing
|
||||||
# no-fading-openclose = true;
|
no-fading-openclose = false;
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
fade-exclude = [ ];
|
fade-exclude = [ ];
|
||||||
|
31
i3/config
31
i3/config
@ -9,21 +9,23 @@
|
|||||||
#
|
#
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
exec --no-startup-id wal -R
|
||||||
|
|
||||||
set $wsSpotify "100:spotify"
|
set $wsSpotify "100:spotify"
|
||||||
|
|
||||||
#new_window 1pixel
|
#new_window 1pixel
|
||||||
hide_edge_borders smart
|
hide_edge_borders smart
|
||||||
workspace_auto_back_and_forth yes
|
workspace_auto_back_and_forth yes
|
||||||
gaps inner 15
|
gaps inner 10
|
||||||
gaps outer 5
|
gaps outer 3
|
||||||
|
|
||||||
smart_gaps on
|
smart_gaps on
|
||||||
|
|
||||||
bindsym Control+$alt+Right workspace next
|
bindsym Control+$alt+Right workspace next
|
||||||
bindsym Control+$alt+Left workspace prev
|
bindsym Control+$alt+Left workspace prev
|
||||||
|
|
||||||
bindsym $mod+n exec --no-startup-id i3-sensible-terminal -e ranger
|
bindsym $mod+n exec --no-startup-id termite -e ranger
|
||||||
bindsym $mod+i exec --no-startup-id i3-sensible-terminal -e nmtui
|
bindsym $mod+i exec --no-startup-id termite -e nmtui
|
||||||
bindsym $mod+m exec --no-startup-id spotify
|
bindsym $mod+m exec --no-startup-id spotify
|
||||||
bindsym $mod+c exec --no-startup-id firefox
|
bindsym $mod+c exec --no-startup-id firefox
|
||||||
bindsym $mod+o exec --no-startup-id obs --startrecording
|
bindsym $mod+o exec --no-startup-id obs --startrecording
|
||||||
@ -194,11 +196,24 @@ mode "resize" {
|
|||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
client.focused #FFFFFF #FFFFFF #000000 #FFFFFF #FFFFFF
|
set_from_resource $fg i3wm.color2 #f0f0f0
|
||||||
client.focused_inactive #a5a5a5 #a5a5a5 #000000 #FFFFFF #a5a5a5
|
set_from_resource $bg i3wm.color7 #f0f0f0
|
||||||
client.unfocused #a5a5a5 #a5a5a5 #000000 #FFFFFF #a5a5a5
|
|
||||||
|
|
||||||
for_window [class="^.*"] border pixel 3
|
|
||||||
|
# class border backgr. text indicator child_border
|
||||||
|
client.focused $bg $bg $fg $bg $bg
|
||||||
|
client.focused_inactive $fg $bg $fg $bg $fg
|
||||||
|
client.unfocused $fg $bg $fg $bg $fg
|
||||||
|
client.urgent $bg $bg $fg $bg $bg
|
||||||
|
client.placeholder $bg $bg $fg $bg $bg
|
||||||
|
|
||||||
|
client.background $bg
|
||||||
|
|
||||||
|
#client.focused #FFFFFF #FFFFFF #000000 #FFFFFF #FFFFFF
|
||||||
|
#client.focused_inactive #a5a5a5 #a5a5a5 #000000 #FFFFFF #a5a5a5
|
||||||
|
#client.unfocused #a5a5a5 #a5a5a5 #000000 #FFFFFF #a5a5a5
|
||||||
|
|
||||||
|
for_window [class="^.*"] border pixel 6
|
||||||
|
|
||||||
#exec_always --no-startup-id killall polybar; polybar -r bar
|
#exec_always --no-startup-id killall polybar; polybar -r bar
|
||||||
exec_always --no-startup-id compton -b --config ~/.config/i3/compton.conf
|
exec_always --no-startup-id compton -b --config ~/.config/i3/compton.conf
|
||||||
|
153
polybar/config
153
polybar/config
@ -1,11 +1,18 @@
|
|||||||
[colors]
|
[colors]
|
||||||
#background = #3b4c6d
|
#background = #2d2d2d
|
||||||
background = rgba(0,0,0,0)
|
#background = rgba(0,0,0,0)
|
||||||
foreground = #eee
|
#foreground = #f2f2f2
|
||||||
separator = #66ffffff
|
#separator = #66ffffff
|
||||||
linecolor = #8e8e8e
|
#linecolor = #8e8e8e
|
||||||
bordercolor = #333
|
#bordercolor = #333
|
||||||
accent = #e60053
|
#accent = #e60053
|
||||||
|
|
||||||
|
background = ${xrdb:color0:#222}
|
||||||
|
foreground = ${xrdb:color7:#222}
|
||||||
|
foreground-alt = ${xrdb:color7:#222}
|
||||||
|
primary = ${xrdb:color1:#222}
|
||||||
|
secondary = ${xrdb:color2:#222}
|
||||||
|
alert = ${xrdb:color3:#222}
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
@ -20,45 +27,37 @@ screenchange-reload = true
|
|||||||
;compositing-border = over
|
;compositing-border = over
|
||||||
|
|
||||||
[global/wm]
|
[global/wm]
|
||||||
margin-top = 0
|
;margin-top = 0
|
||||||
margin-bottom = 0
|
;margin-bottom = 0
|
||||||
|
|
||||||
[bar/top]
|
[bar/top]
|
||||||
enable-ipc = true
|
|
||||||
monitor = ${env:MONITOR:eDP1}
|
monitor = ${env:MONITOR:eDP1}
|
||||||
width = 100%
|
height = 26
|
||||||
height = 24
|
radius = 7.0
|
||||||
;radius = 3.0
|
|
||||||
;fixed-center = false
|
;fixed-center = false
|
||||||
;override-redirect = true
|
;override-redirect = true
|
||||||
separator = /
|
|
||||||
|
padding = 2
|
||||||
|
module-margin = 2
|
||||||
|
line-size = 2
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
;background-0 = #333
|
;line-color = ${colors.linecolor}
|
||||||
;background-1 = #222
|
;underline-size = 1
|
||||||
;background-2 = ${self.background-1}
|
;overline-size = 2
|
||||||
;background-3 = ${self.background-1}
|
|
||||||
;background-4 = ${self.background-1}
|
|
||||||
;background-5 = ${self.background-1}
|
|
||||||
;background-6 = ${self.background-1}
|
|
||||||
;background-7 = #111
|
|
||||||
|
|
||||||
line-color = ${colors.linecolor}
|
#border-size = 3
|
||||||
underline-size = 1
|
|
||||||
overline-size = 2
|
|
||||||
|
|
||||||
border-size = 5
|
|
||||||
;border-color = 0
|
;border-color = 0
|
||||||
;border-bottom-size = 0
|
#border-top-size = 4
|
||||||
border-bottom-size = 2
|
;border-bottom-size = 2
|
||||||
;border-bottom-color = ${colors.bordercolor}
|
;border-bottom-color = ${colors.bordercolor}
|
||||||
|
|
||||||
padding-left = 0
|
;padding-left = 0
|
||||||
padding-right = 2
|
;padding-right = 2
|
||||||
module-margin-left = 1
|
;module-margin-left = 1
|
||||||
module-margin-right = 2
|
;module-margin-right = 2
|
||||||
|
|
||||||
font-0 = dina:pixelsize=9;1
|
font-0 = dina:pixelsize=9;1
|
||||||
font-1 = siji:pixelsize=10;1
|
font-1 = siji:pixelsize=10;1
|
||||||
@ -66,10 +65,10 @@ font-2 = unifont:size=6;1
|
|||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
;modules-center = mpd
|
;modules-center = mpd
|
||||||
;modules-center = xwindow
|
modules-center = xwindow
|
||||||
modules-right = xbacklight wifi public-ip vpn battery powermenu date
|
modules-right = wifi public-ip vpn battery powermenu date
|
||||||
|
|
||||||
;tray-position = right
|
;tray-position = left
|
||||||
;tray-padding = 4
|
;tray-padding = 4
|
||||||
;tray-maxsize = 16
|
;tray-maxsize = 16
|
||||||
;tray-transparent = true
|
;tray-transparent = true
|
||||||
@ -78,41 +77,19 @@ modules-right = xbacklight wifi public-ip vpn battery powermenu date
|
|||||||
|
|
||||||
wm-restack = i3
|
wm-restack = i3
|
||||||
|
|
||||||
;dim-value = 0.2
|
dim-value = 1.0
|
||||||
|
|
||||||
;click-left =
|
|
||||||
;click-middle =
|
|
||||||
;click-right =
|
|
||||||
;scroll-up = bspwm-deskprev
|
|
||||||
;scroll-down = bspwm-desknext
|
|
||||||
scroll-up = i3wm-wsnext
|
scroll-up = i3wm-wsnext
|
||||||
scroll-down = i3wm-wsprev
|
scroll-down = i3wm-wsprev
|
||||||
;double-click-left = notify-send -u low doubleclick
|
|
||||||
;double-click-right = notify-send -u low doubleclick2
|
|
||||||
|
|
||||||
[module/subscriber]
|
|
||||||
type = custom/ipc
|
|
||||||
interval = 1
|
|
||||||
; Define the command to be executed when the hook is triggered
|
|
||||||
; Available tokens:
|
|
||||||
; %pid% (id of the parent polybar process)
|
|
||||||
;hook-0 = date
|
|
||||||
hook-0 = wget -qO - icanhazip.com
|
|
||||||
;hook-1 = whoami
|
|
||||||
;hook-2 = echo "Files in ${HOME}: $(ls -1a ~ | wc -l)"
|
|
||||||
|
|
||||||
; Hook to execute on launch. The index is 1-based and using
|
|
||||||
; the example below (2) `whoami` would be executed on launch.
|
|
||||||
; Default: 0
|
|
||||||
initial = 1
|
|
||||||
click-left = polybar-msg -p %pid% hook subscriber 1
|
|
||||||
|
|
||||||
[module/public-ip]
|
[module/public-ip]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = wget -qO - icanhazip.com
|
exec = wget -qO - icanhazip.com
|
||||||
interval = 60
|
interval = 60
|
||||||
label = %output%
|
label = %output%
|
||||||
;label = %{A1:wget -qO - icanhazip.com:} output %{A}
|
|
||||||
|
format-background = ${xrdb:color5:#222}
|
||||||
|
format-padding = 2
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
@ -128,19 +105,19 @@ enable-click = true
|
|||||||
|
|
||||||
label-mode = %mode%
|
label-mode = %mode%
|
||||||
label-mode-padding = 2
|
label-mode-padding = 2
|
||||||
label-mode-background = ${colors.accent}
|
label-mode-background = ${colors.primary}
|
||||||
|
|
||||||
;label-focused = %index%
|
;label-focused = %index%
|
||||||
label-focused-foreground = #ffffff
|
label-focused-foreground = ${colors.foreground}
|
||||||
label-focused-background = #3f3f3f
|
label-focused-background = ${colors.background}
|
||||||
label-focused-underline = ${colors.linecolor}
|
label-focused-underline = ${colors.secondary}
|
||||||
label-focused-padding = 4
|
label-focused-padding = 4
|
||||||
|
|
||||||
;label-unfocused = %index%
|
;label-unfocused = %index%
|
||||||
label-unfocused-padding = 4
|
label-unfocused-padding = 4
|
||||||
|
|
||||||
;label-urgent = %index%!
|
;label-urgent = %index%!
|
||||||
label-urgent-foreground = #000000
|
label-urgent-foreground = ${colors.alert}
|
||||||
label-urgent-background = #bd2c40
|
label-urgent-background = #bd2c40
|
||||||
label-urgent-padding = 4
|
label-urgent-padding = 4
|
||||||
|
|
||||||
@ -153,6 +130,10 @@ interval = 5
|
|||||||
;udspeed-minwidth = 0
|
;udspeed-minwidth = 0
|
||||||
|
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
|
format-connected-background = ${xrdb:color6:#222}
|
||||||
|
format-disconnected-background = ${xrdb:color6:#222}
|
||||||
|
format-connected-padding = 2
|
||||||
|
format-disconnected-padding = 2
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-disconnected> (default)
|
; <label-disconnected> (default)
|
||||||
@ -229,12 +210,21 @@ time = %H:%M
|
|||||||
|
|
||||||
label = %date% %time%
|
label = %date% %time%
|
||||||
|
|
||||||
|
format-background = ${xrdb:color10:#222}
|
||||||
|
format-foreground = #FFFFFF
|
||||||
|
;format-underline = #7bfc67
|
||||||
|
;format-overline = #7bfc67
|
||||||
|
format-padding = 2
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
full-at = 98
|
full-at = 98
|
||||||
|
|
||||||
|
format-discharging-background = ${xrdb:color4:#222}
|
||||||
|
format-charging-background = ${xrdb:color4:#222}
|
||||||
|
format-charging-padding = 2
|
||||||
|
format-discharging-padding = 2
|
||||||
|
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = AC
|
adapter = AC
|
||||||
; see "man date" for details on how to format the time string
|
; see "man date" for details on how to format the time string
|
||||||
@ -322,27 +312,34 @@ type = custom/menu
|
|||||||
format-spacing = 1
|
format-spacing = 1
|
||||||
|
|
||||||
label-open =power
|
label-open =power
|
||||||
|
label-foreground = #FFFFFF
|
||||||
;label-open-foreground = ${colors.separator}
|
;label-open-foreground = ${colors.separator}
|
||||||
label-close = cancel
|
label-close = cancel
|
||||||
;label-close-foreground = ${colors.separator}
|
;label-close-foreground = ${colors.separator}
|
||||||
label-separator = |
|
label-separator = |
|
||||||
label-separator-foreground = ${colors.separator}
|
;label-separator-foreground = ${colors.separator}
|
||||||
|
|
||||||
menu-0-0 = reboot
|
menu-0-0 = reboot
|
||||||
menu-0-0-exec = menu-open-1
|
menu-0-0-exec = menu-open-1
|
||||||
menu-0-1 = power off
|
menu-0-1 = power off
|
||||||
menu-0-1-exec = menu-open-2
|
menu-0-1-exec = menu-open-2
|
||||||
|
|
||||||
menu-1-0 = cancel
|
;menu-1-0 = cancel
|
||||||
menu-1-0-exec = menu-open-0
|
;menu-1-0-exec = menu-open-0
|
||||||
menu-1-1 = reboot
|
menu-1-0 = reboot
|
||||||
menu-1-1-exec = reboot
|
menu-1-0-exec = reboot
|
||||||
|
|
||||||
menu-2-0 = power off
|
menu-2-0 = power off
|
||||||
menu-2-0-exec = poweroff
|
menu-2-0-exec = poweroff
|
||||||
menu-2-1 = cancel
|
menu-2-1 = cancel
|
||||||
menu-2-1-exec = menu-open-0
|
menu-2-1-exec = menu-open-0
|
||||||
format-label-foreground = #5b
|
;format-label-foreground = #5b
|
||||||
|
|
||||||
|
format-background = ${xrdb:color2:#222}
|
||||||
|
format-foreground = #FFFFFF
|
||||||
|
;format-underline = #b51e3a
|
||||||
|
;format-overline = #b51e3a
|
||||||
|
format-padding = 2
|
||||||
|
|
||||||
[module/vpn]
|
[module/vpn]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
@ -352,9 +349,11 @@ label = %output%
|
|||||||
;format-underline = #268bd2
|
;format-underline = #268bd2
|
||||||
format-prefix = "vpn: "
|
format-prefix = "vpn: "
|
||||||
format-spacing = 1
|
format-spacing = 1
|
||||||
exec-if = pgrep -x openvpn
|
|
||||||
|
|
||||||
format-prefix-foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
|
format-background = ${xrdb:color3:#222}
|
||||||
|
format-foreground = #ffffff
|
||||||
|
;format-underline = #3c28d6
|
||||||
|
;format-overline = #3c28d6
|
||||||
|
format-padding = 2
|
||||||
|
|
||||||
; vim:ft=dosini
|
; vim:ft=dosini
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
rofi.lines: 20
|
rofi.lines: 20
|
||||||
rofi.modi: window,drun,ssh,run
|
rofi.modi: window,drun,run
|
||||||
rofi.combi-modi: window,drun,ssh,run
|
rofi.combi-modi: drun,run
|
||||||
|
rofi.location: 2
|
||||||
|
rofi.sidebar-mode: true
|
||||||
|
rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
[options]
|
[options]
|
||||||
#allow_bold = true
|
allow_bold = true
|
||||||
#audible_bell = false
|
#audible_bell = false
|
||||||
#bold_is_bright = true
|
bold_is_bright = true
|
||||||
#clickable_url = true
|
clickable_url = true
|
||||||
#dynamic_title = true
|
#dynamic_title = true
|
||||||
font = Monospace 9
|
font = Monospace 10
|
||||||
#fullscreen = true
|
#fullscreen = true
|
||||||
#icon_name = terminal
|
#icon_name = terminal
|
||||||
#mouse_autohide = false
|
mouse_autohide = true
|
||||||
#scroll_on_output = false
|
#scroll_on_output = false
|
||||||
#scroll_on_keystroke = true
|
#scroll_on_keystroke = true
|
||||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
||||||
@ -48,7 +48,7 @@ scrollback_lines = 10000
|
|||||||
#foreground_bold = #ffffff
|
#foreground_bold = #ffffff
|
||||||
#background = #3f3f3f
|
#background = #3f3f3f
|
||||||
#background = rgba(47, 87, 153, 0.8)
|
#background = rgba(47, 87, 153, 0.8)
|
||||||
background = rgba(23, 48, 89, 0.8)
|
background = rgba(41, 47, 91, 1)
|
||||||
|
|
||||||
# 20% background transparency (requires a compositor)
|
# 20% background transparency (requires a compositor)
|
||||||
#background = rgba(59, 76, 109, 0.8)
|
#background = rgba(59, 76, 109, 0.8)
|
||||||
|
Loading…
Reference in New Issue
Block a user