add: safer rm
add: i3status config add: rofi instead of dmenu fix: i3status config location
This commit is contained in:
parent
507466219c
commit
599f70115b
4 changed files with 44 additions and 2 deletions
|
@ -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'
|
||||
|
|
|
@ -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'"
|
||||
|
|
31
.config/i3/i3status.config
Normal file
31
.config/i3/i3status.config
Normal file
|
@ -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"
|
||||
}
|
6
.config/rofi/config
Normal file
6
.config/rofi/config
Normal file
|
@ -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}]"
|
Loading…
Reference in a new issue