This commit is contained in:
2020-07-20 10:15:45 +09:00
parent be1c48c035
commit bf6886ca3b
17 changed files with 204 additions and 171 deletions

View File

@@ -1,24 +1,26 @@
#! /bin/sh
bspc monitor -d I II III IV V VI VII VIII IX X
bspc monitor -d     
bspc config top_padding 27
bspc config border_width 2
bspc config window_gap 24
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config single_monocle true
bspc config focus_follows_pointer true
bspc config focused_border_color '#eb564d'
bspc config normal_border_color '#ccc'
bspc rule -a Org.gnome.Nautilus desktop='^1' follow=on
bspc rule -a TelegramDesktop desktop='^1' state=floating follow=on
bspc rule -a Nextcloud desktop='^1' state=pseudo_tiled follow=on
bspc rule -a Nextcloud desktop='^1' state=floating follow=on
bspc rule -a "*:transgui" desktop='^1' state=floating follow=on
bspc rule -a Google-chrome desktop='^2' follow=on
bspc rule -a TelegramDesktop desktop='^1' state=floating follow=on
bspc rule -a Google-chrome desktop='^3' follow=on
bspc rule -a Code desktop='^4' follow=on
bspc rule -a Org.gnome.Nautilus desktop='^5' follow=on
bspc rule -a baka-mplayer state=floating sticky=on
bspc rule -a smplayer state=floating sticky=on
function kill_program {
if ps -A | grep $1; then
@@ -33,17 +35,19 @@ kill_program polybar
kill_program dunst
kill_program polkit-gnome-authentication-agent-1
kill_program gsd-xsettings
kill_program nautilus
gnome-keyring-daemon --start --components=pkcs11 &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/lib/gsd-xsettings &
feh --bg-fill ${HOME}/.config/wallpaper.png
xsetroot -cursor_name left_ptr
picom --experimental-backends &
polybar mybar &
fcitx5 &
dunst &
sxhkd &
nautilus &
transgui &
dex -a
libinput-gestures-setup restart
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap

Binary file not shown.

View File

@@ -29,7 +29,7 @@
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "500x10-60+100"
geometry = "600x10-60+100"
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
@@ -258,10 +258,10 @@
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
# close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
@@ -275,23 +275,23 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#22222266"
background = "#222222cc"
foreground = "#ddd"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#eb564d66"
background = "#eb564dcc"
foreground = "#fff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#90000066"
background = "#900000cc"
foreground = "#ffffff"
frame_color = "#ff0000"
frame_color = "#ff0000cc"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon

View File

@@ -2,7 +2,7 @@
# Corners #
#################################
# requires: https://github.com/sdhand/compton
corner-radius = 20.0;
corner-radius = 0.0;
rounded-corners-exclude = [
#"window_type = 'normal'",
#"class_g = 'Rofi'",
@@ -101,7 +101,7 @@ frame-opacity = 1;
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 1;
active-opacity = 0.95;
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@@ -127,9 +127,12 @@ focus-exclude = [
# opacity-rule = []
opacity-rule = [
"100:class_g = 'Polybar'",
"96:class_g = 'Rofi'",
"100:name = 'Picture in picture'",
"100:class_g = 'Rofi'",
"100:name = 'Picture in picture'",
"100:class_g = 'baka-mplayer'",
"100:class_g = 'smplayer'",
"100:class_g = 'Google-chrome'",
"100:class_g = 'Alacritty'",
];
@@ -413,6 +416,6 @@ wintypes:
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.8; }
popup_menu = { opacity = 1; }
dropdown_menu = { opacity = 0.8; }
};

View File

@@ -18,14 +18,16 @@
[colors]
;background = ${xrdb:color0:#222}
background = #77222222
background-alt = #444
background = #cc000000
background-focused = #ccdd5555
background-label = #cc000000
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
foreground = #ccc
foreground-focused = #fff
foreground-alt = #ccc
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
secondary = #dd5555
alert = #ccbd2c40
[bar/mybar]
;monitor = ${env:MONITOR:HDMI-1}
@@ -52,63 +54,53 @@ padding-right = 0
module-margin-left = 1
module-margin-right = 2
font-0 = NanumBarunGothic:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-0 = TerminessTTF Nerd Font:size=10;1
font-1 = NanumBarunGothic:size=8;1
modules-left = bspwm
modules-left = logo bspwm
modules-center = xwindow
modules-right = pulseaudio wlan eth date
modules-right = mpd pulseaudio eth wlan battery date
tray-position = right
tray-padding = 2
tray-scale = 1.0
tray-maxsize = 32
;tray-detached = true
;tray-offset-x = -10
;tray-background = #0063ff
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/logo]
type = custom/text
content = "  Arch Linux"
content-foreground = ${colors.secondary}
click-left=rofi -show combi
[module/xwindow]
type = internal/xwindow
label = %title:0:100:...%
label = %title:0:50:...%
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused = "%name% "
label-focused-background = ${colors.background-focused}
label-focused-foreground = ${colors.foreground-focused}
# label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied = %name% :%index%
label-occupied-background = ${colors.background-label}
label-occupied-padding = 2
label-urgent = %index%!
label-urgent = %name% :%index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty = %name% :%index%
label-empty-background = ${colors.background-label}
label-empty-foreground = #888888
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
[module/wlan]
type = internal/network
interface = wlp2s0
@@ -151,44 +143,59 @@ format-disconnected =
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
date = " %Y年%m月%d日 %A"
time = %H:%M
time-alt = %H:%M:%S
time = %{F#dd5555}%{F-} %H時%M
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
format-prefix = ""
format-prefix-foreground = ${colors.secondary}
#format-underline = ${colors.secondary}
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
format-volume = <ramp-volume> <label-volume>
#format-volume-underline = ${colors.secondary}
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted = muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
ramp-volume-0 =
ramp-volume-1 = 奔
ramp-volume-2 = 墳
ramp-volume-foreground = ${colors.secondary}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
label-charging = %percentage%%
label-discharging = %percentage%%
;label-full =
format-charging-prefix = " "
format-charging-prefix-foreground = ${colors.secondary}
format-charging = <label-charging>
#format-charging-underline = ${colors.secondary}
format-discharging = <ramp-capacity> <label-discharging>
#format-discharging-underline = ${self.format-charging-underline}
format-full = <ramp-capacity> <label-full>
;format-full-underline = ${colors.secondary}
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = " "
ramp-capacity-3 = " "
ramp-capacity-4 = " "
ramp-capacity-foreground = ${colors.secondary}
[settings]
screenchange-reload = true
@@ -199,7 +206,7 @@ screenchange-reload = true
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
margin-top = 0
margin-bottom = 0
; vim:ft=dosini

View File

@@ -18,7 +18,7 @@
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: @foreground;
alternate-active-background: rgba ( 255, 255, 255, 7 % );
background: rgba ( 21, 21, 21, 40 % );
background: rgba ( 21, 21, 21, 80 % );
bordercolor: rgba ( 235, 86, 77, 100 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 0, 0, 0, 0 % );

View File

@@ -77,6 +77,8 @@
},
"editor.formatOnSave": true,
"vim.enableNeovim": true,
"vim.useCtrlKeys": false,
"vim.handleKeys": {
"<C-w>": false
},
"editor.fontSize": 14
}

View File

@@ -278,7 +278,7 @@ font:
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 0.7
background_opacity: 0.8
#selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"

View File

@@ -2,23 +2,25 @@
bspc monitor -d I II III IV V VI VII VIII IX X
bspc config top_padding 27
bspc config border_width 0
bspc config border_width 1
bspc config window_gap 24
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config single_monocle true
bspc config focus_follows_pointer true
bspc config focused_border_color '#eb564d'
bspc config normal_border_color '#ccc'
bspc rule -a Org.gnome.Nautilus desktop='^1' follow=on
bspc rule -a TelegramDesktop desktop='^1' state=floating follow=on
bspc rule -a Nextcloud desktop='^1' state=pseudo_tiled follow=on
bspc rule -a Nextcloud desktop='^1' state=floating follow=on
bspc rule -a "*:transgui" desktop='^1' state=floating follow=on
bspc rule -a Google-chrome desktop='^2' follow=on
bspc rule -a TelegramDesktop desktop='^1' state=floating follow=on
bspc rule -a Google-chrome desktop='^3' follow=on
bspc rule -a Code desktop='^4' follow=on
bspc rule -a Org.gnome.Nautilus desktop='^5' follow=on
bspc rule -a baka-mplayer state=floating sticky=on
bspc rule -a smplayer state=floating sticky=on
function kill_program {
if ps -A | grep $1; then
@@ -33,21 +35,22 @@ kill_program polybar
kill_program dunst
kill_program polkit-gnome-authentication-agent-1
kill_program gsd-xsettings
kill_program nautilus
gnome-keyring-daemon --start --components=pkcs11 &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/lib/gsd-xsettings &
feh --bg-fill ${HOME}/.config/wallpaper.png
xsetroot -cursor_name left_ptr
picom --experimental-backends &
polybar mybar &
fcitx5 &
dunst &
sxhkd &
nautilus &
transgui &
dex -a
libinput-gestures-setup restart
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
xinput set-prop "bcm5974" "libinput Natural Scrolling Enabled" 1
xinput set-prop 'Logitech G102 LIGHTSYNC Gaming Mouse' 'libinput Natural Scrolling Enabled' 1
xinput set-prop 'Logitech G102 LIGHTSYNC Gaming Mouse' 'libinput Accel Speed' -0.5

View File

@@ -258,10 +258,10 @@
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
# close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
@@ -275,23 +275,23 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#22222266"
background = "#222222cc"
foreground = "#ddd"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#eb564d66"
background = "#eb564dcc"
foreground = "#fff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#90000066"
background = "#900000cc"
foreground = "#ffffff"
frame_color = "#ff0000"
frame_color = "#ff0000cc"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon

View File

@@ -101,7 +101,7 @@ frame-opacity = 1;
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 1;
active-opacity = 0.95;
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@@ -127,9 +127,12 @@ focus-exclude = [
# opacity-rule = []
opacity-rule = [
"100:class_g = 'Polybar'",
"96:class_g = 'Rofi'",
"100:name = 'Picture in picture'",
"100:class_g = 'Rofi'",
"100:name = 'Picture in picture'",
"100:class_g = 'baka-mplayer'",
"100:class_g = 'smplayer'",
"100:class_g = 'Google-chrome'",
"100:class_g = 'Alacritty'",
];
@@ -413,6 +416,6 @@ wintypes:
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.8; }
popup_menu = { opacity = 1; }
dropdown_menu = { opacity = 0.8; }
};

View File

@@ -18,14 +18,16 @@
[colors]
;background = ${xrdb:color0:#222}
background = #77222222
background-alt = #444
background = #cc000000
background-focused = #ccdd5555
background-label = #cc000000
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
foreground = #ccc
foreground-focused = #fff
foreground-alt = #ccc
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
secondary = #dd5555
alert = #ccbd2c40
[bar/mybar]
;monitor = ${env:MONITOR:HDMI-1}
@@ -51,60 +53,51 @@ padding-right = 0
module-margin-left = 1
module-margin-right = 2
font-0 = NanumBarunGothic:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-0 = TerminessTTF Nerd Font:size=10;1
font-1 = NanumBarunGothic:size=8;1
modules-left = bspwm
modules-left = logo bspwm
modules-center = xwindow
modules-right = pulseaudio wlan eth date
modules-right = mpd pulseaudio eth wlan battery date
tray-position = right
tray-padding = 2
;tray-detached = true
;tray-offset-x = -10
;tray-background = #0063ff
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/logo]
type = custom/text
content = "  Arch Linux"
content-foreground = ${colors.secondary}
click-left=rofi -show combi
[module/xwindow]
type = internal/xwindow
label = %title:0:100:...%
label = %title:0:50:...%
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused = "%name% "
label-focused-background = ${colors.background-focused}
label-focused-foreground = ${colors.foreground-focused}
# label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied = %name% :%index%
label-occupied-background = ${colors.background-label}
label-occupied-padding = 2
label-urgent = %index%!
label-urgent = %name% :%index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty = %name% :%index%
label-empty-background = ${colors.background-label}
label-empty-foreground = #888888
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
[module/wlan]
type = internal/network
interface = wlp2s0
@@ -147,44 +140,59 @@ format-disconnected =
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
date = " %Y年%m月%d日 %A"
time = %H:%M
time-alt = %H:%M:%S
time = %{F#dd5555}%{F-} %H時%M
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
format-prefix = ""
format-prefix-foreground = ${colors.secondary}
#format-underline = ${colors.secondary}
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
format-volume = <ramp-volume> <label-volume>
#format-volume-underline = ${colors.secondary}
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted = muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
ramp-volume-0 =
ramp-volume-1 = 奔
ramp-volume-2 = 墳
ramp-volume-foreground = ${colors.secondary}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
label-charging = %percentage%%
label-discharging = %percentage%%
;label-full =
format-charging-prefix = " "
format-charging-prefix-foreground = ${colors.secondary}
format-charging = <label-charging>
#format-charging-underline = ${colors.secondary}
format-discharging = <ramp-capacity> <label-discharging>
#format-discharging-underline = ${self.format-charging-underline}
format-full = <ramp-capacity> <label-full>
;format-full-underline = ${colors.secondary}
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = " "
ramp-capacity-3 = " "
ramp-capacity-4 = " "
ramp-capacity-foreground = ${colors.secondary}
[settings]
screenchange-reload = true
@@ -195,7 +203,7 @@ screenchange-reload = true
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
margin-top = 0
margin-bottom = 0
; vim:ft=dosini

View File

@@ -18,7 +18,7 @@
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: @foreground;
alternate-active-background: rgba ( 255, 255, 255, 7 % );
background: rgba ( 21, 21, 21, 40 % );
background: rgba ( 21, 21, 21, 80 % );
bordercolor: rgba ( 235, 86, 77, 100 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 0, 0, 0, 0 % );

View File

@@ -2,4 +2,7 @@
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
feh --bg-fill --randomize ${HOME}/.config/wallpaper/*
systemd-run --on-calendar="*:0/5" --user --setenv=DISPLAY=:0 -- /bin/feh --bg-fill --randomize ~/.config/wallpaper/*
exec bspwm

View File

@@ -36,7 +36,7 @@ const linux: DotOption = {
".config/sxhkd": "linux/sxhkd",
".config/fcitx5": "linux/fcitx5",
".config/dconf": "linux/dconf",
".config/wallpaper.png": "wallpaper.png",
".config/wallpaper": "wallpaper",
".xinitrc": "linux/xinitrc",
".pam_environment": "linux/pam_environment",
".zshrc": "linux/zshrc",

View File

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

BIN
wallpaper/millimas.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 MiB