diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/i3/config | 33 | ||||
| -rw-r--r-- | .config/i3status/config | 72 | ||||
| -rw-r--r-- | .config/picom/picom.conf | 5 |
3 files changed, 93 insertions, 17 deletions
diff --git a/.config/i3/config b/.config/i3/config index 9845223..2217bb8 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -13,7 +13,7 @@ set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:monospace 8 +font pango:monospace 6 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -28,26 +28,35 @@ exec --no-startup-id dex --autostart --environment i3 # 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 # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. -exec --no-startup-id nm-applet +#exec --no-startup-id nm-applet # Use pactl to adjust volume in PulseAudio. -set $refresh_i3status killall -SIGUSR1 i3status +#set $refresh_i3status pkill -SIGUSR1 i3status +#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +#bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod +# move tiling windows via drag & drop by left-clicking into the title bar, +# or left-clicking anywhere into the window while holding the floating modifier. +tiling_drag modifier titlebar + # start a terminal +# bindsym $mod+Return exec /usr/X11R6/bin/xterm bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +bindsym $mod+d exec --no-startup-id /usr/local/bin/dmenu_run # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a @@ -57,7 +66,7 @@ bindsym $mod+d exec --no-startup-id dmenu_run # change focus bindsym $mod+j focus left bindsym $mod+k focus down -bindsym $mod+Control+l focus up +bindsym $mod+l focus up bindsym $mod+semicolon focus right # alternatively, you can use the cursor keys: @@ -181,18 +190,8 @@ bar { status_command i3status } -bindsym $mod+l exec --no-startup-id i3lock -i ~/photos/wallpapers/green_rain.png --nofork - -bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 10%+ && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 10%- && $refresh_i3status -bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle && $refresh_i3status -bindsym XF86AudioMicMute exec --no-startup-id amixer set Capture toggle && $refresh_i3status - for_window [class=".*"] border pixel 0 -gaps inner 10 +gaps inner 6 gaps outer 0 -# Workspace assignments -assign [class="^qutebrowser$"] 2 -assign [class="code"] 3 assign [class="firefox"] 2 diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 0000000..2672c20 --- /dev/null +++ b/.config/i3status/config @@ -0,0 +1,72 @@ +# 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 { + output_format = "i3bar" + colors = true + interval = 5 +} + +# order += "ipv6" +order += "wireless _first_" +# order += "ethernet _first_" +# order += "disk /" +order += "load" +order += "memory" +order += "volume master" +order += "battery all" +order += "tztime local" +# order += "cpu_temperature cpu0" +# order += "cpu_temperature acpitz0" + + +cpu_temperature cpu0 { + format = "C: %degrees C" + path = "cpu0" +} + +cpu_temperature acpitz0 { + format = "TZ: %degrees C" +} + + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet _first_ { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery all { + format = "%status %percentage %remaining" +} + +disk "/" { + format = "%avail" +} + +volume master { + format = "vol: %volume" +} + +load { + format = "%1min" +} + +memory { + format = "%used | %available" + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..5ba7794 --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,5 @@ +opacity-rule = [ + "96:class_g = 'XTerm' && focused", + "70:class_g = 'XTerm' && !focused" +]; + |
