aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/config/i3
diff options
context:
space:
mode:
authorcbreton <corentin.breton@fullsave.com>2019-11-18 08:42:41 +0100
committercbreton <corentin.breton@fullsave.com>2019-11-18 08:46:56 +0100
commita525ed1cb39599218fd0c8213fef43355c33c390 (patch)
tree1ad0a9bc5a434c312ff488e86dd40800e258b7d6 /dotfiles/config/i3
parent2284861ae7b24099e33b6a8dd7ccdb23e5d4c5f1 (diff)
downloaddotfiles_dotdrop-a525ed1cb39599218fd0c8213fef43355c33c390.tar.xz
dotfiles_dotdrop-a525ed1cb39599218fd0c8213fef43355c33c390.zip
Add new profile
Diffstat (limited to '')
-rw-r--r--dotfiles/config/i3/config75
-rw-r--r--dotfiles/config/i3pystatus/conf.py2
2 files changed, 42 insertions, 35 deletions
diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config
index fda5958..9d1f166 100644
--- a/dotfiles/config/i3/config
+++ b/dotfiles/config/i3/config
@@ -115,7 +115,7 @@ bindsym $WinKey+Shift+F7 exec terminator -e ncmpcpp
bindsym $WinKey+Shift+F8 exec terminator -e qutebrowser
#bindsym $AltKey+a exec urxvt -name floatme --background "#000000" -cursorColor "#31363B" -font 7x13 -geometry 88x33 -e "pygmentize ~/.zsh/aliases.zsh | less"
#bindsym $WinKey+Shift+v move morkspace to output right
-bindsym $WinKey+control+l exec i3lock-fancy -p -n
+bindsym $WinKey+control+l exec i3lock-fancy-dualmonitor -p
bindsym $WinKey+p exec ~/.scripts/launch_rofi-pass.sh
#bindsym $WinKey+Shift+$AltKey+0 exec ~/.scripts/switch-workspace.py 6
bindsym XF86AudioPlay exec ~/.scripts/switch_audio.sh 8
@@ -192,38 +192,41 @@ bindsym $WinKey+q focus parent
#bindsym $WinKey+d focus child
# Set ~6 workspace par screen (20)
-workspace 1 output DP-1
-workspace 2 output DP-1
-workspace 3 output DP-1
-workspace 4 output DP-1
-workspace 5 output DP-1
-workspace 6 output DP-1
-workspace 7 output DP-1
-workspace 8 output DP-1
-workspace 9 output DP-1
-workspace 10 output DP-1
-
-workspace 11 output DP-3
-workspace 12 output DP-3
-workspace 13 output DP-3
-workspace 14 output DP-3
-workspace 15 output DP-3
-workspace 16 output DP-3
-workspace 17 output DP-3
-workspace 18 output DP-3
-workspace 19 output DP-3
-workspace 20 output DP-3
-
-workspace 21 output DP-5
-workspace 22 output DP-5
-workspace 23 output DP-5
-workspace 24 output DP-5
-workspace 25 output DP-5
-workspace 26 output DP-5
-workspace 27 output DP-5
-workspace 28 output DP-5
-workspace 29 output DP-5
-workspace 30 output DP-5
+
+{%@@ if profile=="pegasus" @@%}
+workspace 1 output eDP1
+workspace 2 output eDP1
+workspace 3 output eDP1
+workspace 4 output eDP1
+workspace 5 output eDP1
+workspace 6 output eDP1
+workspace 7 output eDP1
+workspace 8 output eDP1
+workspace 9 output eDP1
+workspace 10 output eDP1
+
+workspace 11 output DP3
+workspace 12 output DP3
+workspace 13 output DP3
+workspace 14 output DP3
+workspace 15 output DP3
+workspace 16 output DP3
+workspace 17 output DP3
+workspace 18 output DP3
+workspace 19 output DP3
+workspace 20 output DP3
+
+workspace 21 output DP1-1
+workspace 22 output DP1-1
+workspace 23 output DP1-1
+workspace 24 output DP1-1
+workspace 25 output DP1-1
+workspace 26 output DP1-1
+workspace 27 output DP1-1
+workspace 28 output DP1-1
+workspace 29 output DP1-1
+workspace 30 output DP1-1
+{%@@ endif @@%}
# move focused window between monitors
bindsym $WinKey+Control+Shift+greater move workspace to output right
@@ -410,7 +413,11 @@ bar {
focused_workspace #ffffff #000000 #ffffff
urgent_worKspace #ffffff #ffffff #000000
}
- font pango:Monospace 8
+ {%@@ if profile=="pegasus" @@%}
+ font pango:Monoid Nerd Font Light Semi-Condensed 7.5
+ {%@@ else @@%}
+ font pango:Monoid Semi-Condensed 8
+ {%@@ endif @@%}
status_command python ~/.config/i3pystatus/conf.py
}
exec /home/neodarz/.screenlayout/default.sh
diff --git a/dotfiles/config/i3pystatus/conf.py b/dotfiles/config/i3pystatus/conf.py
index f03975e..df663d8 100644
--- a/dotfiles/config/i3pystatus/conf.py
+++ b/dotfiles/config/i3pystatus/conf.py
@@ -94,7 +94,7 @@ status.register("text",
# goes below 5 percent while discharging. The block will also color RED.
# If you don't have a desktop notification demon yet, take a look at dunst:
# http://www.knopwob.org/dunst/
-{%@@ if profile == "fenec" @@%}
+{%@@ if profile == "fenec" or profile == "pegasus" @@%}
status.register("battery",
format="{status} {percentage:.2f}% [{percentage_design:.2f}%] {remaining:%E%hh:%Mm}",
alert=True,