Icons and other fancy shit \o/
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
# Misc
|
# Misc
|
||||||
|
|
||||||
always_run_script = true
|
always_run_script = true
|
||||||
startup_notification = true
|
startup_notification = false
|
||||||
verbosity = mesg
|
verbosity = mesg
|
||||||
corner_radius = 2
|
corner_radius = 2
|
||||||
force_xinerama = false
|
force_xinerama = false
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
|
|
||||||
|
|
||||||
[shortcuts]
|
[shortcuts]
|
||||||
close = ctrl+space
|
close = ctrl+Escape
|
||||||
history = ctrl+shift+space
|
history = ctrl+shift+Escape
|
||||||
context = ctrl+shift+period
|
context = ctrl+shift+period
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1%+
|
|||||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 10
|
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 10
|
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+BackSpace kill
|
bindsym $mod+Shift+BackSpace kill
|
||||||
@@ -120,19 +120,20 @@ client.urgent $red $red $white $red $black
|
|||||||
# flaoting on start
|
# flaoting on start
|
||||||
for_window [class="Nautilus"] floating enable
|
for_window [class="Nautilus"] floating enable
|
||||||
for_window [class="Pavucontrol"] floating enable
|
for_window [class="Pavucontrol"] floating enable
|
||||||
|
for_window [title="Event Tester"] floating enable
|
||||||
|
|
||||||
# border
|
# border
|
||||||
hide_edge_borders smart
|
hide_edge_borders smart
|
||||||
for_window [class="^.*"] border pixel 0
|
for_window [class="^.*"] border pixel 0
|
||||||
|
|
||||||
# bar
|
# bar
|
||||||
exec --no-startup-id polybar -r bar
|
exec_always --no-startup-id /home/marc/dots/scripts/polybar.sh
|
||||||
|
|
||||||
# gaps
|
# gaps
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
|
|
||||||
# wallpaper and screen
|
# wallpaper
|
||||||
exec --no-startup-id /home/marc/.local/bin/screen.sh
|
exec_always --no-startup-id feh --bg-fill /home/marc/data/Seafile/images/wallpaper/life_and_death.png
|
||||||
|
|
||||||
# startup
|
# startup
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
@@ -140,3 +141,6 @@ exec --no-startup-id keepassxc
|
|||||||
exec --no-startup-id seafile-applet
|
exec --no-startup-id seafile-applet
|
||||||
exec --no-startup-id fcitx5
|
exec --no-startup-id fcitx5
|
||||||
exec --no-startup-id picom --backend glx --no-vsync
|
exec --no-startup-id picom --backend glx --no-vsync
|
||||||
|
exec --no-startup-id enact --watch --pos top
|
||||||
|
|
||||||
|
exec_always --no-startup-id notify-send -i ~/.emacs.d/dashboard.png "よろしくマルコさん!" "「i3」へようこそ。"
|
||||||
|
|||||||
@@ -1,7 +1,16 @@
|
|||||||
|
[colors]
|
||||||
|
white = #ffffff
|
||||||
|
black = #5c6773
|
||||||
|
green = #a6cc70
|
||||||
|
red = #ff3333
|
||||||
|
|
||||||
[bar/bar]
|
[bar/bar]
|
||||||
|
|
||||||
font-0 = "JuliaMono:pixelsize=10;3"
|
font-0 = "JuliaMono:pixelsize=10;3"
|
||||||
font-1 = "Noto Sans Mono CJK JP:pixelsize=10;1"
|
font-1 = "Noto Sans Mono CJK JP:pixelsize=10;1"
|
||||||
|
font-2 = "FontAwesome:pixelsize=10;3"
|
||||||
|
|
||||||
|
monitor = ${env:MON}
|
||||||
|
|
||||||
scroll-up = i3wm-wsprev
|
scroll-up = i3wm-wsprev
|
||||||
scroll-down = i3wm-wsnext
|
scroll-down = i3wm-wsnext
|
||||||
@@ -11,8 +20,8 @@ fixed-center = true
|
|||||||
width = 100%
|
width = 100%
|
||||||
height = 30
|
height = 30
|
||||||
|
|
||||||
background = #ffffff
|
background = ${colors.white}
|
||||||
foreground = #5c6773
|
foreground = ${colors.black}
|
||||||
|
|
||||||
bottom = false
|
bottom = false
|
||||||
|
|
||||||
@@ -30,12 +39,14 @@ modules-right = backlight pulseaudio battery
|
|||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
strip-wsnumbers = true
|
strip-wsnumbers = true
|
||||||
|
pin-workspaces = true
|
||||||
|
index-sort = true
|
||||||
wrapping-scroll = false
|
wrapping-scroll = false
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
|
|
||||||
label-focused = %index%
|
label-focused = %index%
|
||||||
label-focused-background = #a6cc70
|
label-focused-background = ${colors.green}
|
||||||
label-focused-padding = 1
|
label-focused-padding = 1
|
||||||
|
|
||||||
label-unfocused = %index%
|
label-unfocused = %index%
|
||||||
@@ -45,26 +56,29 @@ label-visible = %index%
|
|||||||
label-visible-padding = 1
|
label-visible-padding = 1
|
||||||
|
|
||||||
label-urgent = %index%
|
label-urgent = %index%
|
||||||
label-urgent-overline = #ff3333
|
label-urgent-overline = ${colors.red}
|
||||||
label-urgent-padding = 1
|
label-urgent-padding = 1
|
||||||
|
|
||||||
[module/date]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 1.0
|
interval = 1.0
|
||||||
date = %A, %B %d, %Y
|
date = %a, %d %b
|
||||||
|
|
||||||
[module/time]
|
[module/time]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 1.0
|
interval = 1.0
|
||||||
date = %H:%M:%S
|
date = %I:%M %p
|
||||||
|
|
||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
sink = master
|
sink = master
|
||||||
use-ui-max = true
|
use-ui-max = true
|
||||||
interval = 5
|
interval = 5
|
||||||
format-volume = 音 「<label-volume>」
|
|
||||||
label-muted = muted
|
format-volume = <label-volume>
|
||||||
|
|
||||||
|
format-muted-foreground = ${colors.red}
|
||||||
|
label-muted = Muted
|
||||||
click-right = pavucontrol
|
click-right = pavucontrol
|
||||||
|
|
||||||
[module/title]
|
[module/title]
|
||||||
@@ -84,18 +98,41 @@ battery = BAT0
|
|||||||
adapter = ADP1
|
adapter = ADP1
|
||||||
time-format = %H:%M
|
time-format = %H:%M
|
||||||
|
|
||||||
label-charging = 電池 「charging %percentage%% - %time%」
|
# charging
|
||||||
label-discharging = 電池 「%percentage%%」
|
format-charging = <animation-charging> <label-charging>
|
||||||
label-full = 電池 「full」
|
label-charging = %percentage% - %time%
|
||||||
|
animation-charging-0 =
|
||||||
|
animation-charging-1 =
|
||||||
|
animation-charging-2 =
|
||||||
|
animation-charging-3 =
|
||||||
|
animation-charging-4 =
|
||||||
|
animation-charging-framerate = 750
|
||||||
|
|
||||||
|
# discharging
|
||||||
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
|
label-discharging = %percentage%
|
||||||
|
ramp-capacity-0 =
|
||||||
|
ramp-capacity-1 =
|
||||||
|
ramp-capacity-2 =
|
||||||
|
ramp-capacity-3 =
|
||||||
|
ramp-capacity-4 =
|
||||||
|
|
||||||
|
# full
|
||||||
|
label-full = 100
|
||||||
|
|
||||||
[module/backlight]
|
[module/backlight]
|
||||||
type = internal/backlight
|
type = internal/backlight
|
||||||
card = amdgpu_bl0
|
card = amdgpu_bl0
|
||||||
label = 電気 「%percentage%%」
|
|
||||||
|
format = <ramp> <label>
|
||||||
|
label = %percentage%
|
||||||
|
|
||||||
|
ramp-0 =
|
||||||
|
ramp-1 =
|
||||||
|
|
||||||
[module/polywins]
|
[module/polywins]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = /home/marc/dots/files/polywins.sh 2>/dev/null
|
exec = /home/marc/dots/scripts/polywins.sh 2>/dev/null
|
||||||
format = <label>
|
format = <label>
|
||||||
label = %output%
|
label = %output%
|
||||||
label-padding = 1
|
label-padding = 1
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ xrdb -merge $HOME/.Xresources
|
|||||||
# map CAPS to ~
|
# map CAPS to ~
|
||||||
setxkbmap -option caps:none
|
setxkbmap -option caps:none
|
||||||
xmodmap -e "keycode 66 = grave asciitilde"
|
xmodmap -e "keycode 66 = grave asciitilde"
|
||||||
|
xmodmap -e "keycode 49 = Escape"
|
||||||
setxkbmap eu
|
setxkbmap eu
|
||||||
|
|
||||||
# energy options
|
# energy options
|
||||||
|
|||||||
BIN
fonts/fontawesome.ttf
Normal file
BIN
fonts/fontawesome.ttf
Normal file
Binary file not shown.
7
scripts/polybar.sh
Executable file
7
scripts/polybar.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
killall -q polybar
|
||||||
|
|
||||||
|
for mon in $(xrandr | grep 'connected' | awk '{print $1}'):
|
||||||
|
do
|
||||||
|
echo ${mon}
|
||||||
|
MON=${mon} polybar -r bar &
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user