Merge branch 'main' of gitlab.com:blankinator/dotfiles

This commit is contained in:
2022-05-08 12:41:46 +02:00
6 changed files with 23 additions and 10 deletions
+16 -6
View File
@@ -25,8 +25,9 @@ font xft:MesloLGS NF 11
floating_modifier $mod
# start a $myTerm
set $myTerm alacritty
bindsym $mod+Return exec $myTerm --command tmux
set $myTerm termite
bindsym $mod+Return exec $myTerm -e tmux
bindsym $mod+Ctrl+Return exec $myTerm
# kill focused window
bindsym $mod+Shift+c kill
@@ -306,7 +307,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
@@ -354,18 +355,27 @@ mode "resize" {
# 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
exec --no-startup-id network-manager-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
@@ -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
+4
View File
@@ -2,3 +2,7 @@ function connectToServer() {
ssh alex@65.21.140.171
}
function connectToWorkServer() {
ssh alex@192.168.74.29
}
+1 -1
View File
@@ -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
+1
View File
@@ -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
-2
View File
@@ -1,2 +0,0 @@
# dotfiles