From 21c33508f4304a8354269532a53481aa5c5df815 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Sun, 19 Feb 2023 14:09:25 -0800 Subject: i3: move i3bar to top --- .../postswitch.d/executable_nitrogen-restore | 3 +++ dot_config/flameshot/flameshot.ini | 2 +- dot_config/i3/config | 28 +++++++++++----------- dot_zshrc | 4 ++++ .../share/private_applications/mimeinfo.cache | 6 +++++ 5 files changed, 28 insertions(+), 15 deletions(-) create mode 100644 dot_config/autorandr/postswitch.d/executable_nitrogen-restore diff --git a/dot_config/autorandr/postswitch.d/executable_nitrogen-restore b/dot_config/autorandr/postswitch.d/executable_nitrogen-restore new file mode 100644 index 0000000..b492613 --- /dev/null +++ b/dot_config/autorandr/postswitch.d/executable_nitrogen-restore @@ -0,0 +1,3 @@ +#!/bin/bash +sleep 2 +nitrogen --restore diff --git a/dot_config/flameshot/flameshot.ini b/dot_config/flameshot/flameshot.ini index 56431cb..5223e51 100644 --- a/dot_config/flameshot/flameshot.ini +++ b/dot_config/flameshot/flameshot.ini @@ -1,7 +1,7 @@ [General] contrastOpacity=188 copyOnDoubleClick=true -drawColor=#f5f3f5 +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 d4c96b9..547f848 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -25,7 +25,7 @@ # is used in the bar {} block below. # 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: Noto Sans Regular 11 +font pango: Noto Sans Regular 14 # set the mod key to the winkey: set $mod Mod4 @@ -101,18 +101,6 @@ bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 -# move focused container to workspace with numpad keys -bindcode $mod+Shift+Mod2+87 move container to workspace $ws1 -bindcode $mod+Shift+Mod2+88 move container to workspace $ws2 -bindcode $mod+Shift+Mod2+89 move container to workspace $ws3 -bindcode $mod+Shift+Mod2+83 move container to workspace $ws4 -bindcode $mod+Shift+Mod2+84 move container to workspace $ws5 -bindcode $mod+Shift+Mod2+85 move container to workspace $ws6 -bindcode $mod+Shift+Mod2+79 move container to workspace $ws7 -bindcode $mod+Shift+Mod2+80 move container to workspace $ws8 -bindcode $mod+Shift+Mod2+81 move container to workspace $ws9 -bindcode $mod+Shift+Mod2+90 move container to workspace $ws10 - # move focused container to workspace with numpad keys bindcode $mod+Shift+87 move container to workspace $ws1 bindcode $mod+Shift+88 move container to workspace $ws2 @@ -125,6 +113,18 @@ bindcode $mod+Shift+80 move container to workspace $ws8 bindcode $mod+Shift+81 move container to workspace $ws9 bindcode $mod+Shift+90 move container to workspace $ws10 +# move focused container to workspace with numlock numpad keys +bindcode $mod+Shift+Mod2+87 move container to workspace $ws1 +bindcode $mod+Shift+Mod2+88 move container to workspace $ws2 +bindcode $mod+Shift+Mod2+89 move container to workspace $ws3 +bindcode $mod+Shift+Mod2+83 move container to workspace $ws4 +bindcode $mod+Shift+Mod2+84 move container to workspace $ws5 +bindcode $mod+Shift+Mod2+85 move container to workspace $ws6 +bindcode $mod+Shift+Mod2+79 move container to workspace $ws7 +bindcode $mod+Shift+Mod2+80 move container to workspace $ws8 +bindcode $mod+Shift+Mod2+81 move container to workspace $ws9 +bindcode $mod+Shift+Mod2+90 move container to workspace $ws10 + # resize window (you can also use the mouse for that): mode "resize" { bindsym h resize shrink width 10 px or 10 ppt @@ -461,7 +461,7 @@ bar { font pango: Noto Sans Regular 16 i3bar_command i3bar status_command i3blocks -c ~/.config/i3/i3blocks.conf - position bottom + position top output eDP-1 output DP-3 diff --git a/dot_zshrc b/dot_zshrc index 17758f0..3f30d82 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -143,4 +143,8 @@ alias xc="xclip -selection clip" alias ledger="vim ~/Documents/code/Ledger/year/`date +%Y`/`date +%Y%m`.beancount" alias vimrc="vim ~/.vimrc" +export PYENV_ROOT="$HOME/.pyenv" +command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + eval "$(lua /home/clarkzjw/Documents/code/z.lua/z.lua --init zsh)" diff --git a/private_dot_local/share/private_applications/mimeinfo.cache b/private_dot_local/share/private_applications/mimeinfo.cache index 2ec3be4..cfd7602 100644 --- a/private_dot_local/share/private_applications/mimeinfo.cache +++ b/private_dot_local/share/private_applications/mimeinfo.cache @@ -1,6 +1,12 @@ [MIME Cache] application/x-code-workspace=code.desktop; +application/x-remmina=org.remmina.Remmina.desktop; inode/directory=code.desktop;thunar.desktop; text/plain=code.desktop;vim.desktop; x-scheme-handler/jetbrains=jetbrains-toolbox.desktop; x-scheme-handler/logseq=logseq-desktop.desktop; +x-scheme-handler/rdp=org.remmina.Remmina.desktop; +x-scheme-handler/remmina=org.remmina.Remmina.desktop; +x-scheme-handler/spice=org.remmina.Remmina.desktop; +x-scheme-handler/ssh=org.remmina.Remmina.desktop; +x-scheme-handler/vnc=org.remmina.Remmina.desktop; -- cgit v1.2.3