From 31dbaa61a02b4afc63bbb95eb3492953e70f1260 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Wed, 4 May 2022 14:29:34 +0200 Subject: [PATCH 1/3] changes from laptop --- .config/i3/config | 21 ++++++++++++------- .../polybar/modules.ini##class.arch_laptop | 2 +- .scripts/server_connections | 4 ++++ .setup/packages/base_desktop | 2 ++ .tmux.conf | 2 +- .xprofile##class.arch_laptop | 1 + README.md | 2 -- 7 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 README.md diff --git a/.config/i3/config b/.config/i3/config index 541f251..93732c0 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -306,7 +306,7 @@ bindsym $mod+Shift+r restart # bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # Lock screen -bindsym $mod+$alt+l exec --no-startup-id light-locker-command -l +bindsym $mod+Shift+Ctrl+$alt+l exec --no-startup-id light-locker-command -l # Set shut down, restart and locking features bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate @@ -351,23 +351,28 @@ mode "resize" { bindsym Escape mode "default" } -# Lock screen -bindsym $mod+$alt+l exec --no-startup-id light-locker-command -l - # Autostart applications exec_always --no-startup-id $HOME/.config/polybar/launch.sh exec --no-startup-id nitrogen --restore; sleep 1; picom --config ~/.config/picom/picom.conf -exec --no-startup-id xfce4-power-manager exec --no-startup-id light-locker -exec --no-startup-id flameshot exec --no-startup-id nextcloud exec --no-startup-id mullvad-vpn -exec_always --no-startup-id fix_xcursor exec --no-startup-id redshift ~/.config/redshift/redshift.conf -exec --no-startup-id blueman-applet + +# sys config tools exec --no-startup-id numlockx exec --no-startup-id xbindkeys +# system tray configuration tools +exec --no-startup-id indicator-sound-switcher +exec --no-startup-id blueman-applet +exec --no-startup-id xfce4-power-manager +exec --no-startup-id flameshot + +# autostart terminal and broswer +exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/alacritty' +exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox' + # set x background exec --no-startup-id xsetroot -solid black diff --git a/.config/polybar/modules.ini##class.arch_laptop b/.config/polybar/modules.ini##class.arch_laptop index be08954..81738fe 100644 --- a/.config/polybar/modules.ini##class.arch_laptop +++ b/.config/polybar/modules.ini##class.arch_laptop @@ -404,7 +404,7 @@ interval = 1.0 ;;date = %Y-%m-%d% ; Optional time format -time =  %d.%m.%Y  %I:%M:%S %p +time = %{A1:gsimplecal:} %d.%m.%Y  %I:%M:%S %p ; if `date-alt` or `time-alt` is defined, clicking ; the module will toggle between formats diff --git a/.scripts/server_connections b/.scripts/server_connections index 472e13c..dae7f06 100644 --- a/.scripts/server_connections +++ b/.scripts/server_connections @@ -2,3 +2,7 @@ function connectToServer() { ssh alex@65.21.140.171 } +function connectToWorkServer() { + ssh alex@192.168.74.29 +} + diff --git a/.setup/packages/base_desktop b/.setup/packages/base_desktop index f34aca6..65d31d4 100644 --- a/.setup/packages/base_desktop +++ b/.setup/packages/base_desktop @@ -2,7 +2,9 @@ zsh zsh-theme-powerline10k-git i3-gaps alacritty +termite blueman +indicator-sound-switcher diff --git a/.tmux.conf b/.tmux.conf index 47c399b..37cae1f 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -49,7 +49,7 @@ set-option -g status-right-length 90 set-option -g status-left "#(~/.config/tmux-powerline/powerline.sh left)" set-option -g status-right "#(~/.config/tmux-powerline/powerline.sh right)" -source "$HOME/.local/lib/python3.9/site-packages/powerline/bindings/tmux/powerline.conf" +source "$HOME/.local/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf" # clear both screen and history diff --git a/.xprofile##class.arch_laptop b/.xprofile##class.arch_laptop index 4f4a93a..6750eea 100644 --- a/.xprofile##class.arch_laptop +++ b/.xprofile##class.arch_laptop @@ -11,3 +11,4 @@ export MESA_LOADER_DRIVER_OVERRIDE=i965 xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true +export ESPIDF=/opt/esp-idf diff --git a/README.md b/README.md deleted file mode 100644 index d23d95a..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# dotfiles - From c2b6fabcfee6912020a0e63711f2ab99768db457 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Wed, 4 May 2022 14:35:32 +0200 Subject: [PATCH 2/3] changed from alacritty to termite --- .config/i3/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 93732c0..64c7277 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -25,8 +25,8 @@ font xft:MesloLGS NF 11 floating_modifier $mod # start a $myTerm -set $myTerm alacritty -bindsym $mod+Return exec $myTerm +set $myTerm termite +bindsym $mod+Return exec $myTerm -e tmux # kill focused window bindsym $mod+Shift+c kill From 64b0dcb149c82cc9aa482e6deafcf4b74d15e91f Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Wed, 4 May 2022 14:38:07 +0200 Subject: [PATCH 3/3] added terminal start without tmux --- .config/i3/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/i3/config b/.config/i3/config index 64c7277..3c905dd 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -27,6 +27,7 @@ floating_modifier $mod # start a $myTerm set $myTerm termite bindsym $mod+Return exec $myTerm -e tmux +bindsym $mod+Ctrl+Return exec $myTerm # kill focused window bindsym $mod+Shift+c kill