general improvements

This commit is contained in:
2025-07-27 16:37:53 +02:00
parent c0ca42d166
commit aa5dd02c14
12 changed files with 381 additions and 130 deletions

186
i3/config Normal file
View File

@@ -0,0 +1,186 @@
# i3 config file (29/08/24)
hide_edge_borders both
default_border pixel 0
default_floating_border normal
smart_gaps inverse_outer
for_window [class="^.*"] border pixel 0
gaps inner 28
gaps outer 0
popup_during_fullscreen smart
focus_on_window_activation smart
for_window [title="Pomodoro Timer"] floating enable
for_window [title="Calendar02042023"] floating enable
for_window [title="Music "] floating enable
for_window [instance=rofi] sticky enable
for_window [instance=eww] border pixel 0
#for_window [class="matplotlib"] floating enable
#for_window [class="eww"] floating enable
set $mod Mod4
set $terminal st
font pango:Terminus 10
### Keyboard
exec_always --no-startup-id setxkbmap -layout us -variant intl -option caps:escape
### Wallpaper
exec_always --no-startup-id feh --bg-fill ~/.config/wp
# Status bar
exec_always --no-startup-id bash ~/.config/polybar/launch.sh &
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier Ctrl
# Bordes
bindsym $mod+t border normal 3
bindsym $mod+Shift+t border pixel 2
# kill focused window
bindsym $mod+q kill
bindsym $mod+Shift+q exec ~/Scripts/System/confirmKilli3.sh kill
bindsym --border button2 kill
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+Shift+u split h
# split in vertical orientation
bindsym $mod+u split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+d layout tabbed
bindsym $mod+a layout toggle split
# toggle tiling / floating
bindsym $mod+g floating toggle
bindsym $mod+v sticky toggle
# focus the parent container
bindsym $mod+p focus parent
# focus the child container
bindsym $mod+i focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
set $ws11 "11"
set $ws12 "12"
# switch to workspace
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
bindsym $mod+z workspace number $ws11
bindsym $mod+x workspace number $ws12
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
bindsym $mod+Shift+z move container to workspace number $ws11
bindsym $mod+Shift+x move container to workspace number $ws12
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
#bindsym $mod+Shift+F12 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'"
#Colores
set $black #000000
set $grey #252525
set $fg-alt #888888
set $red #c1121f
set $dark-blue #dcb476
#borde #fondo #texto #indicador #hijo
client.focused $grey $grey #ffffff $black $grey
client.focused_inactive $grey $grey $fg-alt $black $black
client.unfocused $black $black $fg-alt $grey $black
client.urgent #333333 #900000 $red #900000 #900000
client.placeholder $black $black $red $red #0c0c0c
client.background #ffffff
#Redimensionar ventanas
bindsym $mod+Ctrl+h resize shrink width 35px or 5 ppt
bindsym $mod+Ctrl+j resize shrink height 35px or 5 ppt
bindsym $mod+Ctrl+l resize grow width 35px or 5 ppt
bindsym $mod+Ctrl+k resize grow height 35px or 5 ppt
#Redimensionar gaps
bindsym $mod+y gaps inner current minus 10
bindsym $mod+Shift+y gaps inner current plus 10
#Asignaciones
workspace 1 output eDP
workspace 2 output eDP
workspace 3 output eDP
workspace 4 output eDP
workspace 5 output eDP
workspace 6 output HDMI-A-0 DisplayPort-0
workspace 7 output HDMI-A-0 DisplayPort-0
workspace 8 output HDMI-A-0 DisplayPort-0
workspace 9 output HDMI-A-0 DisplayPort-0
workspace 10 output HDMI-A-0 DisplayPort-0
workspace 11 output eDP
workspace 12 output HDMI-A-0 DisplayPort-0