Worked on ultrawide layouts
This commit is contained in:
parent
3af55a0501
commit
1bf929addb
|
@ -62,7 +62,6 @@ no-dnd-shadow = true;
|
||||||
# Avoid drawing shadows on dock/panel windows.
|
# Avoid drawing shadows on dock/panel windows.
|
||||||
no-dock-shadow = true;
|
no-dock-shadow = true;
|
||||||
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
|
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
|
||||||
clear-shadow = true;
|
|
||||||
# The blur radius for shadows. (default 12)
|
# The blur radius for shadows. (default 12)
|
||||||
shadow-radius = 5;
|
shadow-radius = 5;
|
||||||
# The left offset for shadows. (default -15)
|
# The left offset for shadows. (default -15)
|
||||||
|
@ -117,8 +116,7 @@ inactive-opacity-override = false;
|
||||||
alpha-step = 0.06;
|
alpha-step = 0.06;
|
||||||
|
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
"100:name = 'Netflix'",
|
"100:name = 'Netflix'"
|
||||||
"100:class_g = 'Google-chrome'"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0)
|
# Dim inactive windows. (0.0 - 1.0)
|
||||||
|
@ -134,7 +132,6 @@ blur-background-fixed = false;
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
"name = 'Netflix'",
|
"name = 'Netflix'",
|
||||||
"class_g = 'netflix.com'",
|
"class_g = 'netflix.com'",
|
||||||
"class_g = 'Google-chrome'",
|
|
||||||
"window_type = 'dock'",
|
"window_type = 'dock'",
|
||||||
"window_type = 'desktop'"
|
"window_type = 'desktop'"
|
||||||
];
|
];
|
||||||
|
@ -160,7 +157,6 @@ fade-out-step = 0.03;
|
||||||
fade-exclude = [
|
fade-exclude = [
|
||||||
"name = 'Netflix'",
|
"name = 'Netflix'",
|
||||||
"class_g = 'netflix.com'",
|
"class_g = 'netflix.com'",
|
||||||
"class_g = 'Google-chrome'"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
|
@ -160,7 +160,7 @@ for_window [class="^.*"] border pixel 0
|
||||||
for_window [class="Nitrogen"] floating enable sticky enable border none
|
for_window [class="Nitrogen"] floating enable sticky enable border none
|
||||||
for_window [class="feh"] floating enable sticky enable border none
|
for_window [class="feh"] floating enable sticky enable border none
|
||||||
for_window [class="mpv"] floating enable sticky enable border none
|
for_window [class="mpv"] floating enable sticky enable border none
|
||||||
for_window [class="^jetbrains-.+"][window_type=dialog] focus
|
#for_window [class="^jetbrains-.+"][window_type=dialog] focus
|
||||||
for_window [class="Arandr"] floating enable sticky enable border none
|
for_window [class="Arandr"] floating enable sticky enable border none
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
|
@ -174,10 +174,8 @@ bindsym $mod+l exec --no-startup-id light-locker-command -l
|
||||||
|
|
||||||
# Autostart applications
|
# Autostart applications
|
||||||
exec --no-startup-id compton --config /home/jfm/.config/compton/compton.conf
|
exec --no-startup-id compton --config /home/jfm/.config/compton/compton.conf
|
||||||
#exec --no-startup-id nitrogen --restore
|
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
exec --no-startup-id pasystray
|
exec --no-startup-id pasystray
|
||||||
#exec --no-startup-id blueman-applet
|
|
||||||
exec --no-startup-id light-locker
|
exec --no-startup-id light-locker
|
||||||
|
|
||||||
# Color palette used for the terminal ( ~/.Xresources file )
|
# Color palette used for the terminal ( ~/.Xresources file )
|
||||||
|
|
|
@ -15,11 +15,12 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "jfm@moerks:~",
|
"name": "Mail",
|
||||||
"percent": 0.5,
|
"percent": 0.5,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^mail.google.com$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
@ -34,11 +35,12 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "jfm@moerks:~",
|
"name": "Calendar",
|
||||||
"percent": 0.5,
|
"percent": 0.5,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^calendar.google.com$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
@ -63,11 +65,12 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "jfm@moerks:~",
|
"name": "Hangouts Chat",
|
||||||
"percent": 0.5,
|
"percent": 0.5,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^chat.google.com$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
@ -82,11 +85,12 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "jfm@moerks:~",
|
"name": "Messages",
|
||||||
"percent": 0.5,
|
"percent": 0.5,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^messages.android.com$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
@ -111,11 +115,12 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "jfm@moerks:~",
|
"name": "Mattermost",
|
||||||
"percent": 1,
|
"percent": 1,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^mattermost.yousee.dk__tdcgroup_channels_onboarding$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "Chrome",
|
"name": "Chrome",
|
||||||
"percent": 0.333333333333333,
|
"percent": 0.333,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Google\\-chrome"
|
"class": "^Google\\-chrome"
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
{
|
{
|
||||||
"border": "none",
|
"border": "none",
|
||||||
"floating": "auto_off",
|
"floating": "auto_off",
|
||||||
"layout": "splith",
|
"layout": "tabbed",
|
||||||
"percent": 0.41875,
|
"percent": 0.666,
|
||||||
"type": "con",
|
"type": "con",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
|
@ -39,42 +39,11 @@
|
||||||
"percent": 0.595663265306122,
|
"percent": 0.595663265306122,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$",
|
"class": "^jetbrains-idea$",
|
||||||
"title": "^vim$"
|
"instance": "^sun\\-awt\\-X11\\-XFramePeer$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splitv",
|
|
||||||
"percent": 0.247916666666667,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 466,
|
|
||||||
"width": 739,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": "Shell",
|
|
||||||
"percent": 0.5,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"class": "^Termite$",
|
|
||||||
"title": "^shell$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
{
|
{
|
||||||
|
"border": "none",
|
||||||
|
"floating": "auto_off",
|
||||||
|
"layout": "splitv",
|
||||||
|
"percent": 0.3,
|
||||||
|
"type": "con",
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
"border": "pixel",
|
"border": "pixel",
|
||||||
"current_border_width": 0,
|
"current_border_width": 0,
|
||||||
"floating": "auto_off",
|
"floating": "auto_off",
|
||||||
|
@ -9,20 +16,43 @@
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "Chrome",
|
"name": "Chrome",
|
||||||
"percent": 0.333333333333333,
|
"percent": 0.7,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Google\\-chrome"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^google\\-chrome$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"border": "pixel",
|
||||||
|
"current_border_width": 0,
|
||||||
|
"floating": "auto_off",
|
||||||
|
"geometry": {
|
||||||
|
"height": 466,
|
||||||
|
"width": 739,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"name": "Shell",
|
||||||
|
"percent": 0.3,
|
||||||
|
"swallows": [
|
||||||
|
{
|
||||||
|
"class": "^Termite$",
|
||||||
|
"title": "^shell$"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "con"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
"border": "none",
|
"border": "none",
|
||||||
"floating": "auto_off",
|
"floating": "auto_off",
|
||||||
"layout": "splith",
|
"layout": "splitv",
|
||||||
"percent": 0.41875,
|
"percent": 0.4,
|
||||||
"type": "con",
|
"type": "con",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
|
@ -36,7 +66,7 @@
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "NeoVim",
|
"name": "NeoVim",
|
||||||
"percent": 0.595663265306122,
|
"percent": 0.7,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$",
|
"class": "^Termite$",
|
||||||
|
@ -45,33 +75,6 @@
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splitv",
|
|
||||||
"percent": 0.404336734693878,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "pixel",
|
|
||||||
"current_border_width": 0,
|
|
||||||
"floating": "auto_off",
|
|
||||||
"geometry": {
|
|
||||||
"height": 466,
|
|
||||||
"width": 739,
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"name": "Shell",
|
|
||||||
"percent": 0.791666666666667,
|
|
||||||
"swallows": [
|
|
||||||
{
|
|
||||||
"class": "^Termite$",
|
|
||||||
"title": "^shell1$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "con"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"border": "pixel",
|
"border": "pixel",
|
||||||
"current_border_width": 0,
|
"current_border_width": 0,
|
||||||
|
@ -83,7 +86,7 @@
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"name": "Ranger",
|
"name": "Ranger",
|
||||||
"percent": 0.208333333333333,
|
"percent": 0.3,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Termite$",
|
"class": "^Termite$",
|
||||||
|
@ -93,15 +96,13 @@
|
||||||
"type": "con"
|
"type": "con"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
"border": "none",
|
"border": "none",
|
||||||
"floating": "auto_off",
|
"floating": "auto_off",
|
||||||
"layout": "splitv",
|
"layout": "splitv",
|
||||||
"percent": 0.247916666666667,
|
"percent": 0.3,
|
||||||
"type": "con",
|
"type": "con",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
|
@ -118,7 +119,8 @@
|
||||||
"percent": 0.5,
|
"percent": 0.5,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^Netflix$"
|
"class": "^Google\\-chrome$",
|
||||||
|
"instance": "^netflix.com$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
|
|
|
@ -5,7 +5,7 @@ ENV_FILE="/home/jfm/.config/i3/env"
|
||||||
/bin/cat <<EOM >$ENV_FILE
|
/bin/cat <<EOM >$ENV_FILE
|
||||||
export LAPTOP="DP1-3"
|
export LAPTOP="DP1-3"
|
||||||
export PRIMARY="DP1-3"
|
export PRIMARY="DP1-3"
|
||||||
export SECONDARY="DP1-2"
|
export SECONDARY="DP1-3"
|
||||||
|
|
||||||
export LOCATION="home"
|
export LOCATION="home"
|
||||||
EOM
|
EOM
|
||||||
|
@ -15,5 +15,4 @@ EOM
|
||||||
killall polybar &
|
killall polybar &
|
||||||
sleep 1
|
sleep 1
|
||||||
polybar primary &
|
polybar primary &
|
||||||
polybar secondary &
|
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
|
@ -9,5 +9,5 @@ xrandr --output HDMI2 --off
|
||||||
xrandr --output HDMI1 --off
|
xrandr --output HDMI1 --off
|
||||||
xrandr --output DP1-1 --off
|
xrandr --output DP1-1 --off
|
||||||
xrandr --output DP2 --off
|
xrandr --output DP2 --off
|
||||||
xrandr --output DP1-3 --primary --mode 1920x1200 --pos 0x0 --rotate normal
|
xrandr --output DP1-3 --primary --mode 3440x1440 --pos 0x0 --rotate normal
|
||||||
xrandr --output DP1-2 --mode 1920x1200 --pos 1920x0 --rotate normal
|
xrandr --output DP1-2 --off
|
||||||
|
|
|
@ -7,8 +7,7 @@ export LAPTOP="eDP1"
|
||||||
export PRIMARY="DP1-2"
|
export PRIMARY="DP1-2"
|
||||||
export SECONDARY="DP1-3"
|
export SECONDARY="DP1-3"
|
||||||
|
|
||||||
export LDPI_PROFILE="default"
|
export LOCATION="work"
|
||||||
export HDPI_PROFILE="laptop"
|
|
||||||
EOM
|
EOM
|
||||||
|
|
||||||
. $ENV_FILE
|
. $ENV_FILE
|
||||||
|
|
|
@ -3,9 +3,11 @@
|
||||||
|
|
||||||
if [ $LOCATION = "home" ];
|
if [ $LOCATION = "home" ];
|
||||||
then
|
then
|
||||||
i3-msg "workspace 3:IDE; append_layout ~/.config/i3/layouts/ws-ide-wide.json"
|
i3-msg "workspace 3:; append_layout ~/.config/i3/layouts/ws-ide-wide.json"
|
||||||
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
|
i3-msg "workspace 3:; exec google-chrome-stable --no-default-browser-check --new-window"
|
||||||
|
i3-msg "workspace 3:; exec /home/jfm/Tools/idea-2018.2/bin/idea.sh"
|
||||||
|
i3-msg "workspace 3:; move workspace to output $PRIMARY"
|
||||||
else
|
else
|
||||||
i3-msg "workspace 3:IDE; append_layout ~/.config/i3/layouts/workspace3-ide.json"
|
i3-msg "workspace 3:; append_layout ~/.config/i3/layouts/workspace3-ide.json"
|
||||||
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
|
i3-msg "workspace 3:; move workspace to output $PRIMARY"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,16 +5,16 @@ if [ $LOCATION = "home" ];
|
||||||
then
|
then
|
||||||
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/ws-work-wide.json"
|
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/ws-work-wide.json"
|
||||||
i3-msg "workspace 4:; exec google-chrome-stable --no-default-browser-check --new-window"
|
i3-msg "workspace 4:; exec google-chrome-stable --no-default-browser-check --new-window"
|
||||||
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote'"
|
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote' --hold"
|
||||||
i3-msg "workspace 4:; exec termite -t shell1"
|
i3-msg "workspace 4:; exec termite -t shell"
|
||||||
i3-msg "workspace 4:; exec termite -t ranger -e ~/.config/ranger/ranger.sh"
|
i3-msg "workspace 4:; exec termite -t ranger -e ~/.config/ranger/ranger.sh --hold"
|
||||||
i3-msg "workspace 4:; exec google-chrome-stable --app=http://netflix.com"
|
i3-msg "workspace 4:; exec google-chrome-stable --app=http://netflix.com"
|
||||||
i3-msg "workspace 4:; exec termite -t weechat -e weechat"
|
i3-msg "workspace 4:; exec termite -t weechat -e weechat"
|
||||||
i3-msg "workspace 4:; move workspace to output $PRIMARY"
|
i3-msg "workspace 4:; move workspace to output $PRIMARY"
|
||||||
else
|
else
|
||||||
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/workspace4-work.json"
|
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/workspace4-work.json"
|
||||||
i3-msg "workspace 4:; exec termite -t shell1"
|
i3-msg "workspace 4:; exec termite -t shell1"
|
||||||
i3-msg "workspace 4:; exec termite -t shell2 -e ~/.config/ranger/ranger.sh"
|
i3-msg "workspace 4:; exec termite -t shell2 -e ~/.config/ranger/ranger.sh --hold"
|
||||||
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote'"
|
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote' --hold"
|
||||||
i3-msg "workspace 4:; move workspace to output $PRIMARY"
|
i3-msg "workspace 4:; move workspace to output $PRIMARY"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
[options]
|
||||||
|
font = Source Code Pro for Powerline 15
|
||||||
|
scrollback_lines = 10000
|
||||||
|
size_hints = true
|
||||||
|
|
||||||
|
# Solarized dark color scheme
|
||||||
|
[colors]
|
||||||
|
foreground = #839496
|
||||||
|
foreground_bold = #eee8d5
|
||||||
|
foreground_dim = #002b36
|
||||||
|
background = #002b36
|
||||||
|
cursor = #93a1a1
|
||||||
|
|
||||||
|
# if unset, will reverse foreground and background
|
||||||
|
#highlight = #839496
|
||||||
|
|
||||||
|
# colors from color0 to color254 can be set
|
||||||
|
color0 = #073642
|
||||||
|
color1 = #dc322f
|
||||||
|
color2 = #859900
|
||||||
|
color3 = #b58900
|
||||||
|
color4 = #268bd2
|
||||||
|
color5 = #d33682
|
||||||
|
color6 = #2aa198
|
||||||
|
color7 = #eee8d5
|
||||||
|
color8 = #002b36
|
||||||
|
color9 = #cb4b16
|
||||||
|
color10 = #586e75
|
||||||
|
color11 = #657b83
|
||||||
|
color12 = #839496
|
||||||
|
color13 = #6c71c4
|
||||||
|
color14 = #93a1a1
|
||||||
|
color15 = #fdf6e3
|
|
@ -1,12 +1,13 @@
|
||||||
[options]
|
[options]
|
||||||
font = DejaVu Sans Mono for Powerline 22
|
font = Source Code Pro for Powerline 15
|
||||||
|
scrollback_lines = 10000
|
||||||
|
size_hints = true
|
||||||
|
|
||||||
# Solarized dark color scheme
|
# Solarized dark color scheme
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
foreground = #839496
|
foreground = #839496
|
||||||
foreground_bold = #eee8d5
|
foreground_bold = #eee8d5
|
||||||
#foreground_dim = #888888
|
foreground_dim = #002b36
|
||||||
background = #002b36
|
background = #002b36
|
||||||
cursor = #93a1a1
|
cursor = #93a1a1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue