diff --git a/.bash_aliases b/.bash_aliases index bbf958e..3f6ab7e 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -30,4 +30,6 @@ alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | m alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' +alias rm='rm -I' + alias yay='yay --builddir /opt/aur-source' diff --git a/.config/i3/config b/.config/i3/config index b669652..06972a6 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -48,6 +48,7 @@ assign [class="Evolution"] $workspace0 assign [class="TelegramDesktop"] $workspace0 assign [class="Riot"] $workspace0 # assign [class="Psi"] $workspace0 +for_window [workspace="10:Msg"] layout tabbed assign [class="Steam"] $workspace7 @@ -71,7 +72,7 @@ bar { inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color urgent_workspace $urgent-bg-color $urgent-bg-color $text-color } - status_command i3status + status_command i3status -c ~/.config/i3/i3status.config } hide_edge_borders smart @@ -112,7 +113,7 @@ mode "$mode_refresh_rate" { bindsym $mod+Return exec lxterminal bindsym $mod+Shift+q kill -bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +bindsym $mod+d exec --no-startup-id rofi -show bindsym $mod+Left focus left bindsym $mod+Down focus down @@ -157,6 +158,8 @@ bindsym $mod+Shift+8 move container to $workspace8 bindsym $mod+Shift+9 move container to $workspace9 bindsym $mod+Shift+0 move container to $workspace0 +bindsym $mod+a [urgent=latest] focus + bindsym $mod+Shift+c reload 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'" diff --git a/.config/i3/i3status.config b/.config/i3/i3status.config new file mode 100644 index 0000000..76f1584 --- /dev/null +++ b/.config/i3/i3status.config @@ -0,0 +1,31 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 1 +} + +#order += "ipv6" +order += "ethernet _first_" +order += "cpu_usage" +order += "tztime local" + +ethernet _first_ { + # if you use %speed, i3status requires root privileges + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + +cpu_usage { + format = "%usage" +} diff --git a/.config/rofi/config b/.config/rofi/config new file mode 100644 index 0000000..52f7bd9 --- /dev/null +++ b/.config/rofi/config @@ -0,0 +1,6 @@ +rofi.combi-modi: window,drun,ssh +rofi.font: hack 10 +rofi.modi: combi,ssh +rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi + +rofi.ssh-command: {terminal} -e bash -ic "{ssh-client} {host} [-p {port}]"