diff options
| -rw-r--r-- | i3wm/.config/i3/config | 8 | ||||
| -rw-r--r-- | i3wm/.config/polybar/config | 12 | ||||
| -rwxr-xr-x | i3wm/.config/polybar/task_polybar.sh | 7 |
3 files changed, 9 insertions, 18 deletions
diff --git a/i3wm/.config/i3/config b/i3wm/.config/i3/config index 21635b8..836d08c 100644 --- a/i3wm/.config/i3/config +++ b/i3wm/.config/i3/config @@ -18,6 +18,10 @@ set $mod Mod4 exec_always --no-startup-id feh --bg-scale $HOME/.local/share/images/wallpaper.jpg new_window 1pixel + + +show_marks yes + # 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 @@ -95,6 +99,10 @@ bindsym $mod+h split h # split in vertical orientation bindsym $mod+v split v +bindsym $mod+t split toggle + +bindsym $mod+Shift+m mark toggle + # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle diff --git a/i3wm/.config/polybar/config b/i3wm/.config/polybar/config index 0cda3cf..ab31469 100644 --- a/i3wm/.config/polybar/config +++ b/i3wm/.config/polybar/config @@ -121,7 +121,7 @@ module-margin-left = 2 module-margin-right = 2 modules-left = i3 modules-center = spotify -modules-right = taskwarrior date +modules-right = date [module/hostname] type = custom/script @@ -239,16 +239,6 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding} ; Separator in between workspaces ; label-separator = | - -[module/taskwarrior] -interval = 30 -type = custom/script -exec = $HOME/.config/polybar/task_polybar.sh -format = <label> -format-foreground = #FFF -format-prefix = "§ " -click-left = task "$((`cat /tmp/tw_polybar_id`))" done - [module/line-l] type = custom/text content = "____[ " diff --git a/i3wm/.config/polybar/task_polybar.sh b/i3wm/.config/polybar/task_polybar.sh deleted file mode 100755 index 555ff1b..0000000 --- a/i3wm/.config/polybar/task_polybar.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -most_urgent_desc=`task rc.verbose: rc.report.next.columns:description rc.report.next.labels:1 limit:1 next` -most_urgent_id=`task rc.verbose: rc.report.next.columns:id rc.report.next.labels:1 limit:1 next` -most_urgent_due=`task rc.verbose: rc.report.next.columns:due.relative rc.report.next.labels:1 limit:1 next` -echo "$most_urgent_id" > /tmp/tw_polybar_id -echo "$most_urgent_desc · $most_urgent_due" |
