From d4aa2d5559ca0d0b3b26eedab42e9f2c8e860794 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Wed, 10 Nov 2021 21:45:10 -0800 Subject: [PATCH] updates --- dunst/dunstrc | 6 +++--- eww/scripts/weather_info | 2 +- i3-wm/config | 22 ++++++++++++---------- picom/picom.laptop.conf | 2 +- polybar-modules/battery.ini | 10 ++++++---- polybar-modules/date.ini | 8 ++------ polybar-modules/menu.ini | 1 + polybar-modules/powermenu.ini | 1 + polybar/config.desktop.ini | 2 +- polybar/config.ini | 5 +++-- scripts/package-updates | 5 +++-- 11 files changed, 34 insertions(+), 30 deletions(-) diff --git a/dunst/dunstrc b/dunst/dunstrc index 49e9fd4..3181660 100644 --- a/dunst/dunstrc +++ b/dunst/dunstrc @@ -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 = "0x6-42+75" + geometry = "0x6-42+95" # Turn on the progess bar progress_bar = true @@ -190,10 +190,10 @@ # Scale small icons up to this size, set to 0 to disable. Helpful # for e.g. small files or high-dpi screens. In case of conflict, # max_icon_size takes precedence over this. - min_icon_size = 45 + min_icon_size = 75 # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 200 + max_icon_size = 255 # Paths to default icons. icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ diff --git a/eww/scripts/weather_info b/eww/scripts/weather_info index 3572ad8..c5db15b 100755 --- a/eww/scripts/weather_info +++ b/eww/scripts/weather_info @@ -12,7 +12,7 @@ cache_weather_icon=${cache_dir}/weather-icon ## Weather data KEY="$OPENWEATHERMAP_KEY" -ID="5341114" +ID="LosAngeles" UNIT="imperial" # Available options : 'metric' or 'imperial' ## Make cache dir diff --git a/i3-wm/config b/i3-wm/config index 5f458ab..a59787f 100644 --- a/i3-wm/config +++ b/i3-wm/config @@ -93,11 +93,11 @@ set $ws1 "1: " set $ws2 "2: " set $ws3 "3: ﬏" # set $ws4 "4: " -set $ws4 "4" -set $ws5 "5" +set $ws4 "4: ﮷" +set $ws5 "5: " set $ws6 "6" set $ws7 "7" -set $ws8 "8" +set $ws8 "8: " set $ws9 "9: " # switch to workspace @@ -290,7 +290,7 @@ mode "$mode_gaps_left" { } # set default gaps to 20 -gaps top 20 +gaps top 30 gaps left 5 gaps right 5 gaps bottom 5 @@ -301,13 +301,13 @@ gaps inner 15 # BORDERS # make all windows have a 3 pixel border -for_window [class=".*"] border pixel 4 +for_window [class=".*"] border pixel 5 # make calendar, todo, and spotify always only have border 3 pixels # for_window[workspace="4: "] border pixel 5 for_window[class="^Spotify$"] border none, gaps inner 60 for_window[class="discord"] border none -for_window[title="ncmpcpp 0.9.2"] border none +# for_window[title="ncmpcpp 0.9.2"] border none # if title, make the title center aligned title_align center @@ -467,8 +467,8 @@ exec --no-startup-id /home/sudacode/SudacodeRice/scripts/new-wallpaper.sh # exec --no-startup-id ~/SudacodeRice/scripts/calendar.sh # exec --no-startup-id ~/SudacodeRice/scripts/todo.sh -exec --no-startup-id /usr/bin/alternating_layouts.py - +# autotiling +exec_always --no-startup-id /usr/bin/alternating_layouts.py exec --no-startup-id ~/.bin/eww daemon @@ -485,11 +485,13 @@ bindsym $mod+Shift+minus move scratchpad # Show the first scratchpad window bindsym $mod+minus scratchpad show -bindsym Control+Shift+s exec --no-startup-id ~/SudacodeRice/scripts/rofi/rofi-ssh.sh "~/SudacodeRice/rofi/flat-orange-4k.rasi" +bindsym Control+Shift+s exec --no-startup-id ~/Work/rofi/rofi-ssh.sh ~/SudacodeRice/rofi/flat-orange-4k.rasi +bindsym Control+Shift+r exec --no-startup-id ~/Work/rofi/rofi-rdp.sh ~/SudacodeRice/rofi/flat-orange-4k.rasi bindsym $mod+Shift+s exec --no-startup-id ~/SudacodeRice/scripts/rofi/rofi-stream.sh - bindsym $mod+Shift+e exec --no-startup-id ~/SudacodeRice/scripts/emc $HOME +bindsym Control+g exec --no-startup-id ~/Work/rofi/rofi-search.sh + for_window [title="System Tray"] floating enable, border none for_window [title="System Tray" window_type="normal"] move scratchpad bindsym Mod1+t [title="System Tray"] scratchpad show, resize set 250 260, move position center, move up 855px, move right 1740px diff --git a/picom/picom.laptop.conf b/picom/picom.laptop.conf index d0f64ba..9555c90 100644 --- a/picom/picom.laptop.conf +++ b/picom/picom.laptop.conf @@ -440,7 +440,7 @@ wintypes: # ibhagwan # corner-radius = 12; # corner-radius = 15; -corner-radius = 25; +corner-radius = 28; rounded-corners-exclude = [ "class_g = 'Plasma'", "class_g = 'plsama-desktop'", diff --git a/polybar-modules/battery.ini b/polybar-modules/battery.ini index ed03499..9ec96d9 100644 --- a/polybar-modules/battery.ini +++ b/polybar-modules/battery.ini @@ -5,12 +5,14 @@ time-format = %H:%M battery = BAT0 adapter = AC0 format-charging = -format-charging-foreground = #a8d385 +format-charging-foreground = #98be65 format-charging-padding = 1 -label-charging = %{F#a8d385}%percentage%%%{F-} -label-charging-foreground = #a8d385 +label-charging = %{F#98be65}%percentage%%%{F-} +# label-charging-foreground = #a8d385 +label-charging-foreground = #98be65 format-discharging = -format-discharging-foreground = #F9825A +# format-discharging-foreground = #F9825A +format-discharging-foreground = #ff6c6b format-discharging-padding = 1 label-discharging =%{F#F9825A}%percentage%%%{F-} format-full = diff --git a/polybar-modules/date.ini b/polybar-modules/date.ini index 88fb286..6704bd9 100644 --- a/polybar-modules/date.ini +++ b/polybar-modules/date.ini @@ -4,13 +4,9 @@ interval = 1 label = %time% label-padding = 1 label-background = ${color.shade4} -# red -# label-foreground = #F65522 -# blue -# label-foreground = #56a7b5 -# orange # label-foreground = #e5c07b -label-foreground = #ecbe7b +# label-foreground = #ecbe7b +label-foreground = #3fc3e5 # time =  %r # time =  %l:%M:%S %p time =  %l:%M %p diff --git a/polybar-modules/menu.ini b/polybar-modules/menu.ini index 23c6b29..4a13fac 100644 --- a/polybar-modules/menu.ini +++ b/polybar-modules/menu.ini @@ -4,6 +4,7 @@ type = custom/text content =  # alt icons =  content-padding = 3 +# content-background = ${color.shade3} content-background = ${color.shade4} content-foreground = #2878af click-right = $HOME/SudacodeRice/scripts/menu_full diff --git a/polybar-modules/powermenu.ini b/polybar-modules/powermenu.ini index 6c48483..a49de19 100644 --- a/polybar-modules/powermenu.ini +++ b/polybar-modules/powermenu.ini @@ -2,6 +2,7 @@ type = custom/text content =  content-padding = 4 +# content-background = ${color.shade3} content-background = ${color.shade4} # content-foreground = #D85458 content-foreground = #ff6c6b diff --git a/polybar/config.desktop.ini b/polybar/config.desktop.ini index e6d29d0..b1e4ac0 100644 --- a/polybar/config.desktop.ini +++ b/polybar/config.desktop.ini @@ -88,7 +88,7 @@ modules-left = menu workspaces network-desktop bluetooth-desktop package-updates ; modules-center = mpd-prev custom-mpd mpd-next playerctl-prev playerctl-show playerctl-next modules-center = mpd-prev custom-mpd mpd-next # modules-right = network bluetooth2 volume battery openweathermap-fullfeatured date powermenu -modules-right = flameshot color-picker jdate volume openweathermap-fullfeatured date powermenu +modules-right = flameshot color-picker volume openweathermap-fullfeatured jdate date powermenu ;== Modules ======================================================== diff --git a/polybar/config.ini b/polybar/config.ini index 171ed9d..2e95f05 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -12,7 +12,8 @@ coccupied = #42A5F5 shade1 = #17191e shade2 = #1e2127 -shade3 = #222834 +; shade3 = #222834 +shade3 = #464b55 shade4 = #21242b shade5 = #AA2E50 shade6 = #7E57C2 @@ -88,6 +89,6 @@ modules-left = menu workspaces network bluetooth2 package-updates-trigger packag # modules-center = spotify-prev spotify-bar spotify-next jdate package-updates-trigger package-updates modules-center = mpd-prev custom-mpd mpd-next playerctl-prev playerctl-show playerctl-next # modules-right = network bluetooth2 volume battery openweathermap-fullfeatured date powermenu -modules-right = color-picker flameshot jdate battery volume openweathermap-fullfeatured date powermenu +modules-right = flameshot color-picker battery volume openweathermap-fullfeatured jdate date powermenu ;== EOF ======================================================== diff --git a/scripts/package-updates b/scripts/package-updates index eb8ff07..50f5116 100755 --- a/scripts/package-updates +++ b/scripts/package-updates @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash format() { if [ "$1" -eq 0 ]; then echo '-' @@ -20,7 +20,8 @@ updates="$((updates_arch + updates_aur))" if [ "$updates" -gt 0 ]; then #echo " ($(format $updates_arch)/$(format $updates_aur))" # echo " ($(format $updates_arch)/$(format $updates_aur))" - # dunstify " Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" + # dunstify -i "/usr/share/icons/breeze-dark/mimetypes/24/package-x-generic.svg" " Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" + # dunstify -i "/usr/share/icons/breeze-dark/mimetypes/24/package-x-generic.svg" "Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" echo " ($(format $updates_arch)/$(format $updates_aur))" else echo