diff --git a/files/.config/dunst/dunstrc b/files/.config/dunst/dunstrc index 579fac4..6e349cd 100644 --- a/files/.config/dunst/dunstrc +++ b/files/.config/dunst/dunstrc @@ -4,7 +4,7 @@ monitor = 0 follow = mouse - geometry = "320x6-30+60" + geometry = "400x6-30+60" indicate_hidden = yes shrink = no notification_height = 15 @@ -13,7 +13,7 @@ padding = 10 horizontal_padding = 10 frame_width = 0 - frame_color = "#ffffff" + frame_color = "#aaaaaa" separator_color = frame sort = yes idle_threshold = 120 @@ -38,7 +38,7 @@ icon_position = left min_icon_size = 48 max_icon_size = 96 - icon_path = /usr/share/icons/Qogir/status/48/:/usr/share/icons/Qogir/devices/48/:/usr/share/icons/Qogir/48x48/apps/ + icon_path = /usr/share/icons/Papirus/48x48/status/:/usr/share/icons/Papirus/48x48/devices/:/usr/share/icons/Papirus/48x48/apps/ # History diff --git a/files/.config/i3/config b/files/.config/i3/config index e8b7a17..7b437e9 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -9,18 +9,14 @@ bindsym $mod+Shift+s exec --no-startup-id flameshot gui # audio and brightness bindsym XF86AudioMute exec --no-startup-id amixer -q set Master toggle -bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 3%- -bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 3%+ +bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 1%- +bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1%+ bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous bindsym XF86MonBrightnessUp exec --no-startup-id light -A 10 bindsym XF86MonBrightnessDown exec --no-startup-id light -U 10 -# smoother keyboard (autorepeat) -exec --no-startup-id xset r rate 300 50 - -# no mouse accel -exec --no-startup-id xset m 1 - # kill focused window bindsym $mod+Shift+BackSpace kill @@ -39,12 +35,6 @@ bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - # split in horizontal orientation bindsym $mod+v split h @@ -121,10 +111,10 @@ set $blue "#55b4d4" set $yellow "#e7c547" # class border backgr. text indicator child_border -client.focused $green $green $black $green $green -client.focused_inactive $yellow $yellow $black $yellow $yellow -client.unfocused $yellow $yellow $black $yellow $yellow -client.urgent $red $red $white $red $red +client.focused $green $green $black $green $black +client.focused_inactive $yellow $yellow $black $yellow $black +client.unfocused $white $white $black $white $black +client.urgent $red $red $white $red $black # i3 bar # flaoting on start @@ -136,7 +126,7 @@ hide_edge_borders smart for_window [class="^.*"] border pixel 0 # bar -exec --no-startup-id polybar -r titlebar +exec --no-startup-id polybar -r bar # gaps gaps inner 10 @@ -149,5 +139,4 @@ exec --no-startup-id nm-applet exec --no-startup-id keepassxc exec --no-startup-id seafile-applet exec --no-startup-id fcitx5 -exec --no-startup-id volumeicon -exec --no-startup-id picom \ No newline at end of file +exec --no-startup-id picom --backend glx --no-vsync diff --git a/files/.config/picom/picom.conf b/files/.config/picom/picom.conf index b5e213f..4451a82 100644 --- a/files/.config/picom/picom.conf +++ b/files/.config/picom/picom.conf @@ -5,13 +5,14 @@ rounded-corners-exclude = [ "class_g = 'Polybar'", ]; +detect-rounded-corners = true + shadow = true; -shadow-radius = 8; -shadow-offset-x = 8; -shadow-offset-y = 8; +shadow-radius = 15; shadow-opacity = 0.2 shadow-exclude = [ "class_g = 'i3-frame'", "class_g = 'Polybar'", -]; \ No newline at end of file + "class_g = 'Firefox'", +]; diff --git a/files/.config/polybar/config b/files/.config/polybar/config index 039cd31..818a2d5 100644 --- a/files/.config/polybar/config +++ b/files/.config/polybar/config @@ -8,31 +8,29 @@ scroll-down = i3wm-wsnext fixed-center = true -tray-position = right - width = 100% height = 30 background = #ffffff foreground = #5c6773 -radius-bottom = 2 +bottom = false -#line-size = 1 -#line-color = #f00 +tray-position = right + +line-size = 4 -#border-size = 2 -#border-color = #ffffff padding-left = 1 padding-right = 1 module-margin = 1 -modules-left = logo i3 title -modules-center = -modules-right = wireless-network pulseaudio date time +modules-left = logo i3 polywins +modules-center = date time +modules-right = backlight pulseaudio battery [module/i3] strip-wsnumbers = true +wrapping-scroll = false type = internal/i3 format = @@ -47,7 +45,7 @@ label-visible = %index% label-visible-padding = 1 label-urgent = %index% -label-urgent-background = #ff3333 +label-urgent-overline = #ff3333 label-urgent-padding = 1 [module/date] @@ -62,11 +60,12 @@ date = %H:%M:%S [module/pulseaudio] type = internal/pulseaudio -sink = alsa_output.pci-0000_12_00.3.analog-stereo +sink = master use-ui-max = true interval = 5 -format-volume = +format-volume = 音 「」 label-muted = muted +click-right = pavucontrol [module/title] type = internal/xwindow @@ -78,12 +77,26 @@ type = custom/text content = "花" content-padding = 1 -[module/wireless-network] -type = internal/network -interface = wlo1 -interval = 3.0 -udspeed-minwidth = 0 -format-connected = -format-disconnected = -label-connected = %essid% -label-disconnected = "no wifi" +[module/battery] +type = internal/battery +full-at = 99 +battery = BAT0 +adapter = ADP1 +time-format = %H:%M + +label-charging = 電池 「charging %percentage%% - %time%」 +label-discharging = 電池 「%percentage%%」 +label-full = 電池 「full」 + +[module/backlight] +type = internal/backlight +card = amdgpu_bl0 +label = 電気 「%percentage%%」 + +[module/polywins] +type = custom/script +exec = /home/marc/dots/files/polywins.sh 2>/dev/null +format =