updates for laptop config

This commit is contained in:
ksyasuda 2021-11-10 02:53:47 -08:00
parent 885fda7c51
commit 4dcf9687f6
14 changed files with 576 additions and 70 deletions

View File

@ -2,7 +2,7 @@
colors: colors:
# Default colors # Default colors
primary: primary:
background: "#282c34" background: "#24282f"
foreground: "#bbc2cf" foreground: "#bbc2cf"
cursor: cursor:
text: CellBackground text: CellBackground

View File

@ -29,7 +29,7 @@
# the top and down respectively. # the top and down respectively.
# The width can be negative. In this case the actual width is the # The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option. # screen width minus the width defined in within the geometry option.
geometry = "0x6-41+106" geometry = "0x6-42+75"
# Turn on the progess bar # Turn on the progess bar
progress_bar = true progress_bar = true
@ -81,7 +81,8 @@
# Defines width in pixels of frame around the notification window. # Defines width in pixels of frame around the notification window.
# Set to 0 to disable. # Set to 0 to disable.
frame_width = 7 # frame_width = 7
frame_width = 14
# Defines color of the frame around the notification window. # Defines color of the frame around the notification window.
frame_color = "#aaaaaa" frame_color = "#aaaaaa"

View File

@ -296,7 +296,7 @@
# dunst will attempt to calculate an appropriate dpi value for each monitor # dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups # using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values. # where there are multiple screens with very different dpi values.
per_monitor_dpi = false per_monitor_dpi = true
# The internal keyboard shortcut support in dunst is now considered deprecated # The internal keyboard shortcut support in dunst is now considered deprecated
# and should be replaced by dunstctl calls. You can use the configuration of your # and should be replaced by dunstctl calls. You can use the configuration of your

View File

@ -11,45 +11,22 @@
set $mod Mod1 set $mod Mod1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status; exec --no-startup-id ~/i3/scripts/dunst_volume/dunst_volume.py increase
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status; exec --no-startup-id ~/i3/scripts/dunst_volume/dunst_volume.py decrease
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status; exec --no-startup-id ~/i3/scripts/dunst_volume/dunst_volume.py mute
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3; exec --no-startup-id ~/i3/scripts/dunst_volume/dunst_volume.py mute
set $up k set $up k
set $down j set $down j
set $left h set $left h
set $right l set $right l
# set $term gnome-terminal
set $term alacritty
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod floating_modifier $mod
# start a terminal # start a terminal
bindsym $mod+Return exec alacritty bindsym $mod+Return exec --no-startup-id $term
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
# bindsym $mod+d exec --no-startup-id dmenu_run # bindsym $mod+d exec --no-startup-id dmenu_run
@ -93,9 +70,9 @@ bindsym $mod+v split v
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split) # change container layout (stacked, tabbed, toggle split)
bindsym $mod+Shift+s layout stacking bindsym $mod+s layout stacking
bindsym $mod+Shift+w layout tabbed bindsym $mod+w layout tabbed
bindsym $mod+Shift+e layout toggle split bindsym $mod+e layout toggle split
# toggle tiling / floating # toggle tiling / floating
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
@ -115,7 +92,8 @@ set $ws10 "0: ﭮ"
set $ws1 "1: " set $ws1 "1: "
set $ws2 "2: " set $ws2 "2: "
set $ws3 "3: ﬏" set $ws3 "3: ﬏"
set $ws4 "4: " # set $ws4 "4: "
set $ws4 "4"
set $ws5 "5" set $ws5 "5"
set $ws6 "6" set $ws6 "6"
set $ws7 "7" set $ws7 "7"
@ -312,17 +290,21 @@ mode "$mode_gaps_left" {
} }
# set default gaps to 20 # set default gaps to 20
gaps inner 20 gaps top 20
gaps left 5
gaps right 5
gaps bottom 5
gaps inner 15
## I3-GAPS END ## I3-GAPS END
# BORDERS # BORDERS
# make all windows have a 3 pixel border # make all windows have a 3 pixel border
for_window [class=".*"] border pixel 3 for_window [class=".*"] border pixel 4
# make calendar, todo, and spotify always only have border 3 pixels # make calendar, todo, and spotify always only have border 3 pixels
for_window[workspace="4: "] border pixel 3 # for_window[workspace="4: "] border pixel 5
for_window[class="^Spotify$"] border none, gaps inner 60 for_window[class="^Spotify$"] border none, gaps inner 60
for_window[class="discord"] border none for_window[class="discord"] border none
for_window[title="ncmpcpp 0.9.2"] border none for_window[title="ncmpcpp 0.9.2"] border none
@ -333,7 +315,7 @@ title_align center
## client colors ## client colors
# class border backgr text indicate child_border # class border backgr text indicate child_border
# client.focused #56a7b5 #282c34 #ffffff #2e9ef4 #56a7b5 # client.focused #56a7b5 #282c34 #ffffff #2e9ef4 #56a7b5
client.focused #2878af #282c34 #ffffff #2e9ef4 #2878af client.focused #51afef #282c34 #ffffff #2e9ef4 #2878af
# client.focused #a8d385 #282c34 #ffffff #50b62c #a8d385 # client.focused #a8d385 #282c34 #ffffff #50b62c #a8d385
client.unfocused #3d4450 #282c34 #ffffff #1e90ff #3d4450 client.unfocused #3d4450 #282c34 #ffffff #1e90ff #3d4450
@ -354,7 +336,40 @@ for_window [class="plasmashell" window_type="notification"] floating enable, bor
# no_focus [class="plasmashell" window_type="notification"] # no_focus [class="plasmashell" window_type="notification"]
for_window [class="Steam"] floating enable for_window [class="Steam"] floating enable
## Keybindings
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# font pango:monospace 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
font pango:DejaVu Sans Mono 10
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
## ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
## KEYBINDINGS
## ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status; exec --no-startup-id ~/SudacodeRice/scripts/dunst_volume/dunst_volume.py increase
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status; exec --no-startup-id ~/SudacodeRice/scripts/dunst_volume/dunst_volume.py decrease
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status; exec --no-startup-id ~/SudacodeRice/scripts/dunst_volume/dunst_volume.py mute
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3; exec --no-startup-id ~/SudacodeRice/scripts/dunst_volume/dunst_volume.py mute
# Alt+: a, b, d, f, h, j, k, l, m, n, o, p, r, s, u, v, y, space, tab, windows, # Alt+: a, b, d, f, h, j, k, l, m, n, o, p, r, s, u, v, y, space, tab, windows,
# F5 # F5
# Alt+Shift: s, w, e, q, r, h, j, k, l, n, p, space # Alt+Shift: s, w, e, q, r, h, j, k, l, n, p, space
@ -370,7 +385,7 @@ bindsym $mod+F7 exec --no-startup-id rofi-mpd -a
bindsym $mod+m exec --no-startup-id rofi-mpd -s bindsym $mod+m exec --no-startup-id rofi-mpd -s
# start rofi tabswitcher # start rofi tabswitcher
bindsym Mod1+ISO_Left_Tab exec --no-startup-id $HOME/scripts/tabswitcher.sh bindsym Mod1+ISO_Left_Tab exec --no-startup-id $HOME/SudacodeRice/scripts/tabswitcher.sh
# changer borders # changer borders
bindsym Mod1+y border pixel 3 bindsym Mod1+y border pixel 3
# bindsym Mod1+t border normal 3 # bindsym Mod1+t border normal 3
@ -384,42 +399,45 @@ bindsym Mod1+u border none
bindsym Mod1+d exec --no-startup-id ~/scripts/dmenu.sh bindsym Mod1+d exec --no-startup-id ~/scripts/dmenu.sh
# launch rofi menu and menu full # launch rofi menu and menu full
bindsym Mod1+o exec --no-startup-id $HOME/scripts/menu_full bindsym Mod1+o exec --no-startup-id $HOME/SudacodeRice/scripts/menu_full
# bindsym Mod1+d exec --no-startup-id /home/sudacode/scripts/menu # bindsym Mod1+d exec --no-startup-id /home/sudacode/scripts/menu
# bind the windows key to menu # bind the windows key to menu
bindsym Super_L exec --no-startup-id $HOME/scripts/menu # bindsym Super_L exec --no-startup-id $HOME/SudacodeRice/scripts/menu
bindsym Super_L exec --no-startup-id $HOME/.config/eww/launch_eww
# bind Alt s to flameshot_full script
bindsym Mod1+s exec --no-startup-id $HOME/scripts/flameshot_full.sh
# launch pavucontrol with Alt+p # launch pavucontrol with Alt+p
bindsym Mod1+p exec --no-startup-id $HOME/scripts/pavucontrol.sh bindsym Mod1+p exec --no-startup-id $HOME/SudacodeRice/scripts/pavucontrol.sh
## Spotify/Mpd controls ## Spotify/Mpd controls
# Bind F4 to Next Song # Bind F4 to Next Song
bindsym XF86AudioPrev exec --no-startup-id $HOME/SudacodeRice/scripts/spotify-controls.sh -b;\ bindsym XF86AudioPrev exec --no-startup-id $HOME/SudacodeRice/scripts/spotify-controls.sh -b;\
exec --no-startup-id $HOME/i3/scripts/music-controls.sh -p exec --no-startup-id $HOME/SudacodeRice/scripts/music-controls.sh -p
# Bind F6 to Pause/Play # Bind F6 to Pause/Play
bindsym XF86AudioPlay exec --no-startup-id $HOME/SudacodeRice/scripts/spotify-controls.sh -p;\ bindsym XF86AudioPlay exec --no-startup-id $HOME/SudacodeRice/scripts/spotify-controls.sh -p;\
exec --no-startup-id $HOME/i3/scripts/music-controls.sh -t exec --no-startup-id $HOME/SudacodeRice/scripts/music-controls.sh -t
# Bind F5 to Next Song # Bind F5 to Next Song
bindsym XF86AudioNext exec --no-startup-id $HOME/SudacodeRice/scripts/spotify-controls.sh -n;\ bindsym XF86AudioNext exec --no-startup-id $HOME/SudacodeRice/scripts/spotify-controls.sh -n;\
exec --no-startup-id $HOME/i3/scripts/music-controls.sh -n exec --no-startup-id $HOME/SudacodeRice/scripts/music-controls.sh -n
## Music Mpd/Ncmpcpp/Playerctl ## Music Mpd/Ncmpcpp/Playerctl
# Bind Alt n to open ncmpcpp # Bind Alt n to open ncmpcpp
bindsym Mod1+n exec --no-startup-id alacritty -e ncmpcpp bindsym Mod1+n exec --no-startup-id $term -e ncmpcpp
# Bind Alt b to launch bpytop # Bind Alt b to launch bpytop
bindsym Mod1+b exec --no-startup-id alacritty -e bpytop bindsym Mod1+b exec --no-startup-id $term -e bpytop
# get a new wallpaper # get a new wallpaper
bindsym Control+Mod1+n exec --no-startup-id $HOME/SudacodeRice/scripts/new-wallpaper.sh bindsym Control+Mod1+n exec --no-startup-id $HOME/SudacodeRice/scripts/new-wallpaper.sh
# bindsym Control+Mod1+n exec --no-startup-id variety -n
# bindsym Mod1+Shift++ exec --no-startup-id variety -f
bindsym Control+Mod1+f exec --no-startup-id firefox bindsym Control+Mod1+f exec --no-startup-id firefox
## ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
## ASSIGN TO WORKSPACES ## ASSIGN TO WORKSPACES
## ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
assign [class="^firefox$"] "2: " assign [class="^firefox$"] "2: "
assign [class="^Code$"] "3: ﬏" assign [class="^Code$"] "3: ﬏"
# assign [class="^plasmawindowed$" name="TodoList"] "4: " # assign [class="^plasmawindowed$" name="TodoList"] "4: "
@ -436,19 +454,30 @@ assign [class="^discord$"] workspace $ws10
## ON STARTUP ## ON STARTUP
# launch polybar on startup # launch polybar on startup
exec_always --no-startup-id ~/SudacodeRice/scripts/launch.sh exec_always --no-startup-id /home/sudacode/SudacodeRice/scripts/launch.sh
# launch picom in the background # launch picom in the background
exec_always --no-startup-id ~/SudacodeRice/scripts/picom.sh exec_always --no-startup-id /home/sudacode/scripts/picom.sh
# run wallpaper script to set random wallpaper # run wallpaper script to set random wallpaper
exec_always --no-startup-id ~/SudacodeRice/scripts/wallpaper.sh exec_always --no-startup-id /home/sudacode/SudacodeRice/scripts/new-wallpaper.sh
exec --no-startup-id /home/sudacode/SudacodeRice/scripts/new-wallpaper.sh
# start the calendar and todolist plasmoids # start the calendar and todolist plasmoids
exec --no-startup-id ~/SudacodeRice/scripts/calendar.sh # exec --no-startup-id ~/SudacodeRice/scripts/calendar.sh
exec --no-startup-id ~/SudacodeRice/scripts/todo.sh # exec --no-startup-id ~/SudacodeRice/scripts/todo.sh
exec --no-startup-id alacritty -e ncmpcpp exec --no-startup-id /usr/bin/alternating_layouts.py
exec --no-startup-id ~/.bin/eww daemon
exec --no-startup-id $term -e ncmpcpp
# exec --no-startup-id variety
# Make the currently focused window a scratchpad
bindsym $mod+Shift+a exec --no-startup-id /usr/local/bin/aniwrapper
# Make the currently focused window a scratchpad # Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad bindsym $mod+Shift+minus move scratchpad
@ -456,12 +485,17 @@ bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window # Show the first scratchpad window
bindsym $mod+minus scratchpad show 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 $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
for_window [title="System Tray"] floating enable, border none for_window [title="System Tray"] floating enable, border none
for_window [title="System Tray" window_type="normal"] move scratchpad 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 bindsym Mod1+t [title="System Tray"] scratchpad show, resize set 250 260, move position center, move up 855px, move right 1740px
exec_always --no-startup-id "plasmawindowed org.kde.plasma.systemtray" exec_always --no-startup-id "plasmawindowed org.kde.plasma.systemtray"
for_window [class="plasmawindowed" title="TodoList"] resize set 1200 2000, border none, move --no-auto-back-and-forth to workspace "4: " # for_window [class="plasmawindowed" title="TodoList"] resize set 1200 2000, border none, move --no-auto-back-and-forth to workspace "4: "
for_window [class="plasmawindowed" title="Event Calendar"] border none, move --no-auto-back-and-forth to workspace "4: " # for_window [class="plasmawindowed" title="Event Calendar"] border none, move --no-auto-back-and-forth to workspace "4: "
for_window [class="eecs285-proj3-ksyasuda-WheelOfFortune"] floating enable for_window [class="eecs285-proj3-ksyasuda-WheelOfFortune"] floating enable
for_window [title="Android Emulator - Pixel_3a_API_30_x86:5554"] floating enable, border none for_window [title="Android Emulator - Pixel_3a_API_30_x86:5554"] floating enable, border none

459
picom/picom.laptop.conf Normal file
View File

@ -0,0 +1,459 @@
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 24;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -7;
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dock-shadow = false
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dnd-shadow = false
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Do not paint shadows on shaped windows. Note shaped windows
# here means windows setting its shape through X Shape extension.
# Those using ARGB background is beyond our control.
# Deprecated, use
# shadow-exclude = 'bounding_shaped'
# or
# shadow-exclude = 'bounding_shaped && !rounded_corners'
# instead.
#
# shadow-ignore-shaped = ''
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c",
# "class_g = 'Polybar'"
];
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
# xinerama-shadow-crop = false
#################################
# Fading #
#################################
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false
fading = false
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028
# fade-in-step = 0.03;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
# fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10
# Specify a list of conditions of windows that should not be faded.
# fade-exclude = []
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
# Transparency / Opacity #
#################################
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
active-opacity = 1;
inactive-opacity = 1
# inactive-opacity = 0.9;
# active-opacity = 0.99;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.8;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
inactive-dim = 0.1
# Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
# opacity-rule = [ "80:class_g = 'URxvt'" ];
#
opacity-rule = [
"100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:name = 'Netflix'",
"100:class_g = 'firefox'",
]
#################################
# Background-Blurring #
#################################
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
blur-size = 10
#
# blur-deviation = false
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
blur-background = false
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
blur-background-fixed = false
# Specify the blur convolution kernel, with the following format:
# example:
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ''
blur-kern = "3x3box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# General Settings #
#################################
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = 'glx'
# backend = "xrender";
backend = "glx";
# Enable/disable VSync.
# vsync = false
vsync = false
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
# mark-wmwin-focused = false
mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
detect-rounded-corners = false
# detect-rounded-corners = true;
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension.
#
# refresh-rate = 60
refresh-rate = 0
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with
# vsync drm/opengl/opengl-oml
# as they essentially does sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#
# sw-opti =
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
# unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
# unredir-if-possible-exclude = []
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time.
#
# detect-transient = false
detect-transient = true
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
# detect-transient is enabled, too.
#
# detect-client-leader = false
detect-client-leader = true
# Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it.
# If the value is positive, those additional pixels will not be actually painted
# to screen, only used in blur calculation, and such. (Due to technical limitations,
# with use-damage, those pixels will still be incorrectly painted to screen.)
# Primarily used to fix the line corruption issues of blur,
# in which case you should use the blur radius value here
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
# with a 5x5 one you use `--resize-damage 2`, and so on).
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
#
# resize-damage = 1
# Specify a list of conditions of windows that should be painted with inverted color.
# Resource-hogging, and is not well tested.
#
# invert-color-include = []
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
# Might cause incorrect opacity when rendering transparent content (but never
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
# glx-no-stencil = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
# in the source tree for examples.
#
# glx-fshader-win = ''
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
#
# no-ewmh-fullscreen = false
# Dimming bright windows so their brightness doesn't exceed this set value.
# Brightness of a window is estimated by averaging all pixels in the window,
# so this could comes with a performance hit.
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
#
# max-brightness = 1.0
# Make transparent windows clip other windows like non-transparent windows do,
# instead of blending on top of them.
#
# transparent-clipping = false
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# using *--log-file*, since it can generate a huge stream of logs.
#
# log-level = "debug"
log-level = "warn";
# Set the log file.
# If *--log-file* is never specified, logs will be written to stderr.
# Otherwise, logs will to written to the given file, though some of the early
# logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path.
#
# log-file = '/path/to/your/log/file'
# Show all X errors (for debugging)
# show-all-xerrors = false
# Write process ID to a file.
# write-pid-path = '/path/to/your/log/file'
# Window type settings
#
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
# "tooltip", "notification", "combo", and "dnd".
#
# Following per window-type options are available: ::
#
# fade, shadow:::
# Controls window-type-specific shadow and fade settings.
#
# opacity:::
# Controls default opacity of the window type.
#
# focus:::
# Controls whether the window of this type is to be always considered focused.
# (By default, all window types except "normal" and "dialog" has this on.)
#
# full-shadow:::
# Controls whether shadow is drawn under the parts of the window that you
# normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
unredir-if-possible = false;
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
# popup_menu = { opacity = 0.85; }
# dropdown_menu = { opacity = 0.85; }
};
# ------------
# ibhagwan
# corner-radius = 12;
# corner-radius = 15;
corner-radius = 25;
rounded-corners-exclude = [
"class_g = 'Plasma'",
"class_g = 'plsama-desktop'",
"class_g = 'win7'",
"class_g = 'krunner'",
# "class_g = 'Polybar'"
];
# blur: {
# # method = "dual_kawase";
# method = "kawase";
# strength = 7;
# background = false;
# background-frame = false;
# background-fixed = false;
# };

View File

@ -5,5 +5,6 @@ interval = 2
click-left = ~/SudacodeRice/scripts/rofi-bluetooth.desktop click-left = ~/SudacodeRice/scripts/rofi-bluetooth.desktop
click-right = blueman-manager click-right = blueman-manager
# format-foreground = #fc8353 # format-foreground = #fc8353
format-background = ${color.shade4}
format-foreground = #A8D385 format-foreground = #A8D385
format-padding = 1 format-padding = 1

View File

@ -5,5 +5,6 @@ interval = 2
click-left = ~/SudacodeRice/scripts/rofi-bluetooth click-left = ~/SudacodeRice/scripts/rofi-bluetooth
click-right = blueman-manager click-right = blueman-manager
# format-foreground = #fc8353 # format-foreground = #fc8353
format-background = ${color.shade4}
format-foreground = #98be65 format-foreground = #98be65
format-padding = 1 format-padding = 1

View File

@ -4,6 +4,7 @@ type = custom/script
interval = 100 interval = 100
label-font = 4 label-font = 4
# format-foreground = #fc8353 # format-foreground = #fc8353
format-background = ${color.shade4}
format-foreground = #c678dd format-foreground = #c678dd
format-padding = 1 format-padding = 1
exec = python ~/SudacodeRice/scripts/date.py exec = python ~/SudacodeRice/scripts/date.py

View File

@ -16,6 +16,8 @@ label-disconnected = 睊 not connected
#label-disconnected-foreground = #66ffffff #label-disconnected-foreground = #66ffffff
# label-connected-padding = 2 # label-connected-padding = 2
format-connected-padding = 1 format-connected-padding = 1
label-connected-background = ${color.shade4}
label-disconnected-background = ${color.shade4}
label-connected-foreground = #A8D385 label-connected-foreground = #A8D385
label-disconnected-foreground = #F85522 label-disconnected-foreground = #F85522
# label-disconnected-padding = 2 # label-disconnected-padding = 2

View File

@ -15,6 +15,8 @@ label-connected =  %essid%
label-disconnected = 睊 not connected label-disconnected = 睊 not connected
# label-connected-padding = 2 # label-connected-padding = 2
format-connected-padding = 1 format-connected-padding = 1
label-connected-background = ${color.shade4}
label-disconnected-background = ${color.shade4}
label-connected-foreground = #A8D385 label-connected-foreground = #A8D385
label-disconnected-foreground = #F85522 label-disconnected-foreground = #F85522
# label-disconnected-padding = 2 # label-disconnected-padding = 2

View File

@ -4,6 +4,6 @@ exec = ~/SudacodeRice/scripts/openweathermap-fullfeatured.sh
click-left = exec ~/scripts/weather click-left = exec ~/scripts/weather
interval = 600 interval = 600
format-font = 3 format-font = 3
format-background = #282c34 format-background = ${color.shade4}
format-foreground = #fc8353 format-foreground = #fc8353
format-padding = 1 format-padding = 1

View File

@ -2,6 +2,7 @@
type = custom/ipc type = custom/ipc
hook-0 = ~/SudacodeRice/scripts/package-updates hook-0 = ~/SudacodeRice/scripts/package-updates
# format-foreground = #56a7b5 # format-foreground = #56a7b5
format-background = ${color.shade4}
format-foreground = #98be65 format-foreground = #98be65
format-padding = 1 format-padding = 1
interval = 500 interval = 500

View File

@ -13,7 +13,7 @@ coccupied = #42A5F5
shade1 = #17191e shade1 = #17191e
shade2 = #1e2127 shade2 = #1e2127
shade3 = #191c21 shade3 = #191c21
shade4 = #282c34 shade4 = #21242b
shade5 = #AA2E50 shade5 = #AA2E50
shade6 = #7E57C2 shade6 = #7E57C2
shade7 = #9575CD shade7 = #9575CD

View File

@ -7,13 +7,13 @@ fg = #FFFFFF
fg-alt = #454545 fg-alt = #454545
acolor = #FFFFFF acolor = #FFFFFF
curgent = #EF5350 urgent = #EF5350
coccupied = #42A5F5 coccupied = #42A5F5
shade1 = #17191e shade1 = #17191e
shade2 = #1e2127 shade2 = #1e2127
shade3 = #222834 shade3 = #222834
shade4 = #282c34 shade4 = #21242b
shade5 = #AA2E50 shade5 = #AA2E50
shade6 = #7E57C2 shade6 = #7E57C2
shade7 = #9575CD shade7 = #9575CD
@ -46,17 +46,21 @@ black = #000000
;========================================================== ;==========================================================
[bar/main] [bar/main]
width = 100% ; width = 100%
width = 95%
height = 65 height = 65
# offset-x = 2.5% offset-x = 2.5%
# offset-y = 2% # offset-y = 2%
bottom = false bottom = false
fixed-center = false fixed-center = true
line-size = 2 line-size = 2
radius = 0 radius = 0
override-redirect = true
wm-restack = i3
#background = ${color.bg} #background = ${color.bg}
background = #282c34 ; background = #282c34
background = ${color.shade4}
foreground = ${color.fg} foreground = ${color.fg}
;========================================================== ;==========================================================