From b09156b7efe78a0c1572d8e2e3a266fe017e51f9 Mon Sep 17 00:00:00 2001 From: Horhik Date: Thu, 3 Dec 2020 23:12:51 +0200 Subject: [PATCH] update several configs --- home/dunst/.config/dunst/dunstrc | 6 +- home/gtk/.config/gtk-2.0/gtkfilechooser.ini | 8 +- home/picom/.config/picom/picom.conf | 107 +++----------------- home/zsh/.zshrc | 9 +- 4 files changed, 30 insertions(+), 100 deletions(-) diff --git a/home/dunst/.config/dunst/dunstrc b/home/dunst/.config/dunst/dunstrc index 09af3b8..642c2c0 100644 --- a/home/dunst/.config/dunst/dunstrc +++ b/home/dunst/.config/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 = "300x5-20-20" + geometry = "300x5-10-10" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes @@ -61,7 +61,7 @@ # Defines width in pixels of frame around the notification window. # Set to 0 to disable. - frame_width = 4 + frame_width = 5 # Defines color of the frame around the notification window. frame_color = "#44475a" @@ -163,7 +163,7 @@ icon_position = left # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 32 + max_icon_size = 16 # Paths to default icons. icon_path = /usr/share/icons/Papirus-Dark/16x16:/usr/share/icons/Papirus/16x16:/home/horhik/Pictures/icons diff --git a/home/gtk/.config/gtk-2.0/gtkfilechooser.ini b/home/gtk/.config/gtk-2.0/gtkfilechooser.ini index fa2f842..02d9cce 100644 --- a/home/gtk/.config/gtk-2.0/gtkfilechooser.ini +++ b/home/gtk/.config/gtk-2.0/gtkfilechooser.ini @@ -2,10 +2,10 @@ LocationMode=path-bar ShowHidden=false ShowSizeColumn=true -GeometryX=0 -GeometryY=0 -GeometryWidth=942 -GeometryHeight=643 +GeometryX=352 +GeometryY=1198 +GeometryWidth=1128 +GeometryHeight=811 SortColumn=name SortOrder=ascending StartupMode=recent diff --git a/home/picom/.config/picom/picom.conf b/home/picom/.config/picom/picom.conf index 45b2bcb..e2e78c1 100644 --- a/home/picom/.config/picom/picom.conf +++ b/home/picom/.config/picom/picom.conf @@ -3,13 +3,16 @@ rounded-corners-exclude = [ # "class_g = 'awesome'", # "class_g = 'Polybar'", "class_g *= 'dwm'", + # "class_g *= 'awesome'", ]; rounded-corners-rule = [ "5:class_g = 'Dunst'", + "class_g *= 'awesome'" + ]; -corner-radius = 8; -round-borders = 8; +corner-radius = 4; +round-borders = 4; round-borders-exclude = [ ]; @@ -20,21 +23,8 @@ round-borders-rule = [ "5:class_g = 'Dunst'", "15:class_g = 'Signal'" ]; - - - - - - - - - - - - - shadow = true; -shadow-radius = 15; +shadow-radius = 10; shadow-opacity = 0.75 shadow-offset-x = -6; shadow-offset-y = -6; @@ -42,6 +32,7 @@ shadow-exclude = [ "name = 'Polybar'", "class_g *= 'border'", + "class_g *= 'awesome'", "name = 'xmobar'", "class_g = 'Conky'", "class_g *= 'dwm'", @@ -52,90 +43,19 @@ shadow-exclude = [ ]; - - - - - - - - - - - - - - - - - - fading = true - - -fade-in-step = 0.03; - - - fade-out-step = 0.03; - - - - - - - - - - - - - - - - - - - - - inactive-opacity = 1; - - - frame-opacity = 1; - - - - - - inactive-opacity-override = false; - - - - - inactive-dim = 0 - - - focus-exclude = [ "class_g = 'Cairo-clock'" ]; - - - - - - - - - - - opacity-rule = [ #"55:name *= 'cava'", #"55:class_g *= 'cava'", +"85:class_g *= 'Anki'", +"95:class_g *= 'notion'", "95:class_g = 'Emacs'", "90:class_g *= 'Alacritty'", "78:class_g *= 'Zathura'", @@ -147,10 +67,10 @@ opacity-rule = [ "95:name *= 'alacritty'", "90:name = 'emacs'", "85:name *= 'xmobar'", -"85:class_g = 'Spotify'", "95:class_g = 'Polybar'", "85:name *= 'scratchpad'", -"15:class_g= 'Dunst'", +"85:class_g= 'Dunst'", +"85:name *= 'Rust Programming Language'", "85:class_g *= 'ticktick'" ] @@ -403,9 +323,12 @@ wintypes: shadow = true; - opacity = 1; + opacity = 0.6; focus = true; +# corner-radius = 8; +# round-borders = 8; + }; }; diff --git a/home/zsh/.zshrc b/home/zsh/.zshrc index b06bdf6..51786b2 100644 --- a/home/zsh/.zshrc +++ b/home/zsh/.zshrc @@ -11,7 +11,7 @@ export CXX=/usr/bin/clang++ # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME="cloud" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -112,3 +112,10 @@ alias vi=vim alias libvirtdaemon="sudo start-stop-daemon --start libvirtd" alias virtm="sudo start-stop-daemon --start virtlogd &; sudo start-stop-daemon --start libvirtd &; virt-manager &" alias clip=xclip -selection clipboard + +# The next line updates PATH for Yandex Cloud CLI. +if [ -f '/home/horhik/yandex-cloud/path.bash.inc' ]; then source '/home/horhik/yandex-cloud/path.bash.inc'; fi + +# The next line enables shell command completion for yc. +if [ -f '/home/horhik/yandex-cloud/completion.zsh.inc' ]; then source '/home/horhik/yandex-cloud/completion.zsh.inc'; fi +