From 81251c723343c993709b9cc7baebdb7aaa7cdc32 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Wed, 4 Jan 2023 20:13:50 -0800 Subject: 20230104: update i3 config --- dot_bashrc | 1 - dot_config/copyq/copyq.conf | 62 +++++++++++----------- dot_config/flameshot/flameshot.ini | 2 +- dot_config/i3/config | 6 ++- dot_config/i3/i3blocks.conf | 2 +- dot_config/picom.conf | 4 +- dot_zshrc | 3 +- .../share/private_applications/thunar.desktop | 2 +- 8 files changed, 42 insertions(+), 40 deletions(-) diff --git a/dot_bashrc b/dot_bashrc index 8f8e639..96c6129 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -84,4 +84,3 @@ _open_files_for_editing() { # alias ef='_open_files_for_editing' # 'ef' opens given file(s) for editing # alias pacdiff=eos-pacdiff ################################################################################ - diff --git a/dot_config/copyq/copyq.conf b/dot_config/copyq/copyq.conf index c4be29c..36784bb 100644 --- a/dot_config/copyq/copyq.conf +++ b/dot_config/copyq/copyq.conf @@ -155,62 +155,62 @@ toggle_clipboard_storing=ctrl+shift+x size=1 [Theme] -alt_bg=default_alt_bg +alt_bg=#e0e0e0 alt_item_css= -bg=default_bg +bg=#eeeeee css= css_template_items=items css_template_main_window=main_window css_template_menu=menu css_template_notification=notification cur_item_css="\n ;border: 0.1em solid ${sel_bg}" -edit_bg=default_bg -edit_fg=default_text -edit_font="Sans Serif,18,-1,5,50,0,0,0,0,0" -fg=default_text -find_bg=#ff0 -find_fg=#000 -find_font="Sans Serif,18,-1,5,50,0,0,0,0,0" -font="Sans Serif,18,-1,5,50,0,0,0,0,0" +edit_bg=#cccccc +edit_fg=fg - #111 +edit_font="monospace,11,-1,5,50,0,0,0,0,0" +fg=#444444 +find_bg="rgba(0,0,0,0)" +find_fg=#9d7200 +find_font="monospace,11,-1,5,50,0,0,0,0,0" +font="monospace,11,-1,5,50,0,0,0,0,0" font_antialiasing=true hover_item_css= icon_size=16 -item_css= +item_css=padding:0.5em item_spacing= -menu_bar_css="\n ;background: ${bg}\n ;color: ${fg}" +menu_bar_css="\n ;background: ${bg}\n ;color: ${fg + #444}" menu_bar_disabled_css="\n ;color: ${bg - #666}" menu_bar_selected_css="\n ;background: ${sel_bg}\n ;color: ${sel_fg}" -menu_css="\n ;border: 1px solid ${sel_bg}\n ;background: ${bg}\n ;color: ${fg}" -notes_bg=default_tooltip_bg +menu_css="\n ;border-top: 0.08em solid ${bg + #333}\n ;border-left: 0.08em solid ${bg + #333}\n ;border-bottom: 0.08em solid ${bg - #333}\n ;border-right: 0.08em solid ${bg - #333}" +notes_bg=bg notes_css= -notes_fg=default_tooltip_text -notes_font="Sans Serif,18,-1,5,50,0,0,0,0,0" -notification_bg=#333 +notes_fg=#666666 +notes_font="sans-serif,11,-1,5,25,0,0,0,0,0" +notification_bg=#303030 notification_fg=#ddd -notification_font="Sans Serif,18,-1,5,50,0,0,0,0,0" -num_fg=default_placeholder_text -num_font="Sans Serif,18,-1,5,50,0,0,0,0,0" +notification_font="monospace,11,-1,5,50,0,0,0,0,0" +num_fg=#009588 +num_font="sans-serif,8,-1,5,25,0,0,0,0,0" num_margin=2 search_bar="\n ;background: ${edit_bg}\n ;color: ${edit_fg}\n ;border: 1px solid ${alt_bg}\n ;margin: 2px" search_bar_focused="\n ;border: 1px solid ${sel_bg}" -sel_bg=default_highlight_bg -sel_fg=default_highlight_text +sel_bg=#7dcad1 +sel_fg=#444444 sel_item_css= show_number=true -show_scrollbars=true -style_main_window=false +show_scrollbars=false +style_main_window=true tab_bar_css="\n ;background: ${bg - #222}" -tab_bar_item_counter="\n ;color: ${fg - #044 + #400}\n ;font-size: 6pt" +tab_bar_item_counter="\n ;color: ${num_fg + #222}\n ;font-size: 7pt" tab_bar_scroll_buttons_css="\n ;background: ${bg - #222}\n ;color: ${fg}\n ;border: 0" -tab_bar_sel_item_counter="\n ;color: ${sel_bg - #044 + #400}" +tab_bar_sel_item_counter="\n ;color: ${num_fg}" tab_bar_tab_selected_css="\n ;padding: 0.5em\n ;background: ${bg}\n ;border: 0.05em solid ${bg}\n ;color: ${fg}" tab_bar_tab_unselected_css="\n ;border: 0.05em solid ${bg}\n ;padding: 0.5em\n ;background: ${bg - #222}\n ;color: ${fg - #333}" -tab_tree_css="\n ;color: ${fg}\n ;background-color: ${bg}" -tab_tree_item_counter="\n ;color: ${fg - #044 + #400}\n ;font-size: 6pt" -tab_tree_sel_item_counter="\n ;color: ${sel_fg - #044 + #400}" -tab_tree_sel_item_css="\n ;color: ${sel_fg}\n ;background-color: ${sel_bg}\n ;border-radius: 2px" +tab_tree_css="\n ;font-family: sans-serif\n ;font-size: 10pt\n ;padding: .20em\n ;color: ${fg + #222}\n ;background-color: ${bg}" +tab_tree_item_counter="\n ;padding:.33em\n ;color: ${num_fg + #222}\n ;font-size: 7pt" +tab_tree_sel_item_counter="\n ;color: ${num_fg}" +tab_tree_sel_item_css="\n ;color: ${fg + #222}\n ;background: ${bg - #211}" tool_bar_css="\n ;color: ${fg}\n ;background-color: ${bg}\n ;border: 0" -tool_button_css="\n ;color: ${fg}\n ;background: ${bg}\n ;border: 0\n ;border-radius: 2px" +tool_button_css="\n ;background-color: transparent" tool_button_pressed_css="\n ;background: ${sel_bg}" tool_button_selected_css="\n ;background: ${sel_bg - #222}\n ;color: ${sel_fg}\n ;border: 1px solid ${sel_bg}" use_system_icons=false diff --git a/dot_config/flameshot/flameshot.ini b/dot_config/flameshot/flameshot.ini index 6f4616a..5223e51 100644 --- a/dot_config/flameshot/flameshot.ini +++ b/dot_config/flameshot/flameshot.ini @@ -5,7 +5,7 @@ drawColor=#ffffff filenamePattern=Snipaste_%F_%H-%M-%S saveAfterCopy=true saveAsFileExtension=png -savePath=/home/clarkzjw/Documents/sync/Pictures/Screenshots/2022 +savePath=/home/clarkzjw/Pictures savePathFixed=true showHelp=true showStartupLaunchMessage=false diff --git a/dot_config/i3/config b/dot_config/i3/config index 949388e..6175134 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -373,7 +373,8 @@ exec --no-startup-id ~/.screenlayout/builtin-only.sh exec --no-startup-id nitrogen --restore # disable power saving (for example if using xscreensaver) -exec --no-startup-id xset -dpms +# exec --no-startup-id xset -dpms +exec --no-startup-id xset dpms 0 0 86400 # use xautolock to use autosuspend rules for mobile devices # https://wiki.archlinux.org/title/Session_lock#xautolock @@ -409,9 +410,10 @@ for_window [class="Blueberry.py" instance="blueberry.py"] floating enable for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable for_window [class="Pamac-manager"] floating enable for_window [window_role="About"] floating enable -for_window [class="copyq"] floating enable +for_window [class="copyq"] floating enable resize set 800 800 for_window [class="Nm-connection-editor"] floating enable for_window [class="flameshot"] floating enable +#for_window [class="TelegramDesktop"] floating enable resize set 800 800 for_window [class="TelegramDesktop"] floating enable resize set 1300 1200 for_window [class="eudic"] floating enable resize set 800 800 diff --git a/dot_config/i3/i3blocks.conf b/dot_config/i3/i3blocks.conf index 2787340..0e0237f 100644 --- a/dot_config/i3/i3blocks.conf +++ b/dot_config/i3/i3blocks.conf @@ -122,7 +122,7 @@ command=~/.config/i3/scripts/battery2 # for alternative battery script change to battery1 # change this to battery-pinebook-pro if you are running on pinebook-pro label= -interval=30 +interval=1 #[simple-2] #full_text=: diff --git a/dot_config/picom.conf b/dot_config/picom.conf index bdfe7f2..2ec14a9 100644 --- a/dot_config/picom.conf +++ b/dot_config/picom.conf @@ -10,8 +10,8 @@ # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # GLX backend is typically much faster but depends on a sane driver. -backend = "xrender"; -#backend = "glx"; +#backend = "xrender"; +backend = "glx"; #backend = "xr_glx_hybrid" ################################# diff --git a/dot_zshrc b/dot_zshrc index dd47aaa..b920bb1 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -104,7 +104,7 @@ export LC_COLLATE="en_US.UTF-8" export EDITOR=vim export VISUAL=vim export OP_BIOMETRIC_UNLOCK_ENABLED=true -export GOPATH="/home/clarkzjw/Documents/code/go" +export GOPATH="/home/clarkzjw/go" function addPATH { case ":$PATH:" in @@ -127,6 +127,7 @@ addPATH $GOPATH/bin source $HOME/.zshrc-local +alias pc="proxychains" alias tf="terraform" alias emacs="emacs -nw" alias open="xdg-open" diff --git a/private_dot_local/share/private_applications/thunar.desktop b/private_dot_local/share/private_applications/thunar.desktop index f256ef4..a5f4d6c 100644 --- a/private_dot_local/share/private_applications/thunar.desktop +++ b/private_dot_local/share/private_applications/thunar.desktop @@ -226,7 +226,7 @@ Keywords[th]=โปรแกรมจัดการแฟ้ม;โปรแก Keywords[tr]=dosya yönetici;gezgin;kaşif;explorer;bulucu;bakaç;finder;dizin;dizinler;bölümler;bölümlendirmeler;sürücüler;ağ;aygıtlar;cihazlar;yeniden adlandır;taşı;kopyala;sil;izinler;ev;çöp;çöp kutusu; Keywords[zh_CN]=file manager;explorer;finder;browser;folders;directory;directories;partitions;drives;network;devices;rename;move;copy;delete;permissions;home;trash;文件管理器;资源管理器;查找;浏览;文件夹;目录;分区;驱动;网络;设备;重命名;移动;复制;删除;权限;主文件夹;回收站; Keywords[zh_TW]=file manager;explorer;finder;browser;folders;directory;directories;partitions;drives;network;devices;rename;move;copy;delete;permissions;home;trash; -Exec=env GDK_SCALE=2 thunar %F +Exec=env GDK_SCALE=1 thunar %F #Exec=thunar %F Icon=org.xfce.thunar Terminal=false -- cgit v1.2.3