diff options
Diffstat (limited to 'muspellsheim/config')
| -rw-r--r-- | muspellsheim/config/i3/config | 29 | ||||
| -rw-r--r-- | muspellsheim/config/i3status/config | 23 |
2 files changed, 26 insertions, 26 deletions
diff --git a/muspellsheim/config/i3/config b/muspellsheim/config/i3/config index 90108c2..e4c6df1 100644 --- a/muspellsheim/config/i3/config +++ b/muspellsheim/config/i3/config @@ -1,5 +1,8 @@ # vim:set syntax=i3: +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 @@ -17,7 +20,7 @@ font pango:DejaVu Sans Mono, Terminus Semi-Condensed 11 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status @@ -36,15 +39,10 @@ floating_modifier $mod #bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Return exec --no-startup-id /usr/bin/sakura -# Start rox -#bindsym $mod+r exec --no-startup-id /usr/bin/rox - # kill focused window bindsym $mod+Shift+q kill -bindsym $mod+BackSpace kill # start dmenu (a program launcher) -#bindsym $mod+v exec /usr/bin/dmenu_run bindsym $mod+d exec --no-startup-id dmenu_run bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop @@ -62,8 +60,8 @@ bindsym $mod+odiaeresis 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+Down focus down +bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window @@ -99,15 +97,15 @@ bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle # Restore saved JSON layout -bindsym $mod+y restore /home/atsutane/.config/i3/layout.json +#bindsym $mod+y restore /home/atsutane/.config/i3/layout.json # focus the parent container bindsym $mod+a focus parent -bindsym $mod+Up focus parent +#bindsym $mod+Up focus parent # focus the child container #bindsym $mod+d focus child -bindsym $mod+Down focus child +#bindsym $mod+Down 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. @@ -184,7 +182,7 @@ for_window [class="Bsvc.tk"] floating enable # bind i3lock -d to stop key (XF86AudioStop) -#bind 174 exec /usr/bin/i3lock -d -i /home/atsutane/media/wallpaper/Motivation.png +#bind 174 exec /usr/bin/i3lock -d -c 555555 bindsym $mod+Shift+BackSpace exec /usr/bin/i3lock -d -c 555555 -e # resize window (you can also use the mouse for that) @@ -198,7 +196,6 @@ mode "resize" { bindsym j resize shrink width 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt bindsym l resize shrink height 10 px or 10 ppt -# bindsym semicolon resize grow width 10 px or 10 ppt bindsym odiaeresis resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys @@ -213,7 +210,6 @@ mode "resize" { bindsym $mod+r mode "default" } -#bindsym $mod+space mode "resize" bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status @@ -222,9 +218,10 @@ bar { status_command i3status -c ~/.config/i3status/config # mode hide position bottom - tray_output LVDS1 + tray_output eDP-1 #font -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1 - font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 + #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 + font pango:DejaVu Sans Mono, Terminus Semi-Condensed 11 workspace_buttons yes colors { separator #dc322f diff --git a/muspellsheim/config/i3status/config b/muspellsheim/config/i3status/config index 36c20c5..8715a2c 100644 --- a/muspellsheim/config/i3status/config +++ b/muspellsheim/config/i3status/config @@ -7,11 +7,11 @@ general { order = "ipv6" order += "disk /" order += "disk /home" -#order += "run_watch DHCP" -order += "wireless wlan0" -order += "ethernet enp2s0" +order += "wireless _first_" +order += "ethernet _first_" order += "battery 0" order += "cpu_temperature 0" +order += "memory" order += "load" order += "time" @@ -20,12 +20,12 @@ ipv6 { format_down = "" } -wireless wlan0 { - format_up = "W: (%quality at %essid) %ip" - format_down = "W" +wireless _first_ { + format_up = "W: (%quality at %essid, %bitrate) %ip" + format_down = "" } -ethernet enp2s0 { +ethernet _first_ { format_up = "E: %ip(%speed)" format_down = "" } @@ -35,9 +35,6 @@ battery 0 { format = "%status %percentage %remaining [@%emptytime]" } -run_watch DHCP { - pidfile = "/run/dhclient*.pid" -} time { format = "%Y-%m-%d %H:%M:%S" @@ -51,6 +48,12 @@ cpu_temperature 0 { format = "T: %degrees°C" } +memory { + format = "RAM: %used used" + threshold_degraded = "10%" + format_degraded = "RAM: %available available" +} + disk "/" { format = "/%free" } |
