From d1bc3d4fcbf58a028911ea5b2614941a5688c486 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 7 Apr 2023 20:02:05 -0700 Subject: i3: show window icon on title bar --- dot_config/flameshot/flameshot.ini | 2 +- dot_config/i3/config | 11 +++++----- dot_config/ibus/rime/user.yaml | 2 +- dot_config/jgmenu/jgmenurc | 43 ++++++++++++++++++++++++++++++++++++++ dot_profile | 8 +++++++ dot_zshrc | 1 + 6 files changed, 59 insertions(+), 8 deletions(-) create mode 100644 dot_config/jgmenu/jgmenurc diff --git a/dot_config/flameshot/flameshot.ini b/dot_config/flameshot/flameshot.ini index bce4432..5223e51 100644 --- a/dot_config/flameshot/flameshot.ini +++ b/dot_config/flameshot/flameshot.ini @@ -1,7 +1,7 @@ [General] contrastOpacity=188 copyOnDoubleClick=true -drawColor=#008000 +drawColor=#ffffff filenamePattern=Snipaste_%F_%H-%M-%S saveAfterCopy=true saveAsFileExtension=png diff --git a/dot_config/i3/config b/dot_config/i3/config index fff142f..10726f1 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -40,12 +40,8 @@ workspace_layout tabbed # extra options for windows: # ############################## -#border indicator on windows: -default_border pixel 0 -#new_window pixel 1 - # thin borders -#hide_edge_borders both +hide_edge_borders both default_border normal # Use Mouse+$mod to drag floating windows to their wanted position @@ -321,6 +317,9 @@ for_window [class="Logseq"] border pixel 1 # set position of floating window for_window [class=".*"] move position center +# windows title bar icon +for_window [all] title_window_icon padding 1px + ################## # floating rules # ################## @@ -423,7 +422,7 @@ exec --no-startup-id dunst --config ~/.config/dunst/dunstrc #exec --no-startup-id env GDK_SCALE=2 /usr/lib/xfce4/notifyd/xfce4-notifyd & # Mastodon client -exec --no-startup-id tmux new -d -s toot tut +#exec --no-startup-id tmux new -d -s toot tut # autotiling script # https://github.com/nwg-piotr/autotiling diff --git a/dot_config/ibus/rime/user.yaml b/dot_config/ibus/rime/user.yaml index 7af166c..a57040c 100644 --- a/dot_config/ibus/rime/user.yaml +++ b/dot_config/ibus/rime/user.yaml @@ -1,4 +1,4 @@ var: - last_build_time: 1676844809 + last_build_time: 1680841020 option: simplification: true \ No newline at end of file diff --git a/dot_config/jgmenu/jgmenurc b/dot_config/jgmenu/jgmenurc new file mode 100644 index 0000000..55a23e2 --- /dev/null +++ b/dot_config/jgmenu/jgmenurc @@ -0,0 +1,43 @@ + +# jgmenurc + +at_pointer = 0 +stay_alive = 0 +multi_window = 1 +tint2_look = 1 + +menu_halign = left +menu_valign = bottom +menu_margin_x = 10 +menu_margin_y = 45 + +menu_width = 250 +menu_radius = 10 +menu_border = 1 + +menu_padding_top = 5 +menu_padding_right = 2 +menu_padding_bottom = 5 +menu_padding_left = 2 + +item_height = 30 +item_padding_x = 10 +item_margin_y = 10 +item_radius = 0 +item_border = 0 +sep_height = 3 + +icon_size = 24 +font = UbuntuMono 20px + +sub_hover_action = 1 +terminal_exec = xfce4-terminal +terminal_args = -e + +color_menu_bg = #383c4a 100 +color_menu_fg = #8fa1b3 100 +color_norm_bg = #2b303b 0 +color_norm_fg = #8fa1b3 100 +color_sel_bg = #5294e2 100 +color_sel_fg = #2b303b 100 +color_sep_fg = #7c818c 40 diff --git a/dot_profile b/dot_profile index 8c1f0ab..0306fa5 100644 --- a/dot_profile +++ b/dot_profile @@ -1,3 +1,11 @@ +# sway +#export MOZ_ENABLE_WAYLAND=1 +#export XDG_CURRENT_DESKTOP=sway +#export XDG_SESSION_TYPE=wayland +#export WLR_NO_HARDWARE_CURSORS=1 +##export WLR_NO_HARDWARE_CURSORS=0 +#export WLR_RENDERER_ALLOW_SOFTWARE=1 + export TERMINAL=xfce4-terminal #export QT_QPA_PLATFORMTHEME=qt5ct #export QT_QPA_PLATFORMTHEME=qt6ct diff --git a/dot_zshrc b/dot_zshrc index ab72106..5557cee 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -142,6 +142,7 @@ alias chez="/usr/bin/chezmoi" alias xc="xclip -selection clip" alias ledger="vim ~/Documents/code/Ledger/year/`date +%Y`/`date +%Y%m`.beancount" alias vimrc="vim ~/.vimrc" +alias toot="tmux new -d -s toot tut && tmux a" export PYENV_ROOT="$HOME/.pyenv" command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" -- cgit v1.2.3