From 33da6f7c86708e12ee12a554ee897620f73ead1c Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 22 Feb 2021 09:16:12 +0100 Subject: Update config to vnc --- i3/.config/i3/config | 8 ++++--- i3/.config/i3/workspaces/50:pdf_edit.json | 37 +++++++++---------------------- i3/.config/i3/workspaces/51:code.json | 12 +++++----- 3 files changed, 21 insertions(+), 36 deletions(-) (limited to 'i3/.config') diff --git a/i3/.config/i3/config b/i3/.config/i3/config index de2bd89..97d82f2 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -72,8 +72,9 @@ default_border pixel 2 # i3 gaps #smart_gaps on #smart_borders on -gaps inner 15 -gaps outer 0 + +#gaps inner 15 +#gaps outer 0 #hide_edge_borders smart @@ -105,6 +106,7 @@ bindsym $mod+Return exec urxvtcd bindsym $mod+q kill # start dmenu (a program launcher) +#bindsym $mod+i exec rofi -show drun -show-icons bindsym $mod+i exec rofi -show run -show-icons # bindsym $mod+i exec synapse @@ -246,7 +248,7 @@ for_window [class="crimson"] floating enable # Add background, with a gradient on top exec --no-startup-id ~/scripts/i3/wallpaper.sh ~/wallpaper/current.jpg exec --no-startup-id xrdb .Xdefaults -exec --no-startup-id compton +#exec --no-startup-id compton exec --no-startup-id "xrdb .Xdefaults; polybar i3" #exec --no-startup-id "unclutter" exec_always --no-startup-id /home/sebastien/Projets/ocaml/i3_workspaces/i3_workspaces diff --git a/i3/.config/i3/workspaces/50:pdf_edit.json b/i3/.config/i3/workspaces/50:pdf_edit.json index 11d654f..0ec87b2 100644 --- a/i3/.config/i3/workspaces/50:pdf_edit.json +++ b/i3/.config/i3/workspaces/50:pdf_edit.json @@ -4,7 +4,7 @@ "border": "pixel", "floating": "auto_off", "layout": "splitv", - "percent": 0.55, + "percent": 0.5, "type": "con", "nodes": [ { @@ -19,17 +19,15 @@ "border": "pixel", "current_border_width": 2, "floating": "auto_off", - "geometry": { - "height": 945, - "width": 745, - "x": 10, - "y": 10 - }, "percent": 1, "swallows": [ { - "class": "^(MuPDF)|(Zathura)$", - "instance": "^(mupdf)|(zathura)$" + "class": "^MuPDF$", + "instance": "^mupdf$" + }, + { + "class": "^Zathura$", + "instance": "^zathura$" } ], "type": "con" @@ -40,17 +38,11 @@ "border": "pixel", "current_border_width": 2, "floating": "auto_off", - "geometry": { - "height": 408, - "width": 720, - "x": 0, - "y": 0 - }, - "percent": 0.202941176470588, + "percent": 0.20, "swallows": [ { "class": "^URxvt$", - "instance": "^urxvt$", + "instance": "rxvt$", // Prevent vim to be here "title": "^((?!vim).)*$" } @@ -64,19 +56,12 @@ "border": "pixel", "current_border_width": 2, "floating": "auto_off", - "geometry": { - "height": 408, - "width": 720, - "x": 0, - "y": 0 - }, "name": "vim", - "percent": 0.5, "swallows": [ { "class": "^URxvt$", - "instance": "^urxvt$", - "title": "^vim$" + "instance": "rxvt$", + "title": "^(vim)|(nvim)$" } ], "type": "con" diff --git a/i3/.config/i3/workspaces/51:code.json b/i3/.config/i3/workspaces/51:code.json index 9e42cd5..bea0ccb 100644 --- a/i3/.config/i3/workspaces/51:code.json +++ b/i3/.config/i3/workspaces/51:code.json @@ -27,10 +27,9 @@ }, "percent": 1, "swallows": [ - { - "class": "^(Pcmanfm)$" - //"instance": "^(mupdf)|(zathura)$" - } + {"class": "^(Pcmanfm)$"}, + {"class": "^(pcmanfm-qt)$"}, + {"class": "^(Thunar)$"} ], "type": "con" } @@ -75,10 +74,9 @@ "swallows": [ { "class": "^URxvt$", - "instance": "^urxvt$", - "title": "^(vim)|(nvim)$" + "instance": "rxvt$", + "title": "^(nvim)|(vim)$" } ], "type": "con" } - -- cgit v1.2.3