Various configuration changes
This commit is contained in:
parent
53f9a55b58
commit
b6055a10e4
@ -2,3 +2,5 @@
|
||||
|
||||
# dependency :: feh
|
||||
alias bgrandomizer="feh --randomize --bg-fill $HOME/.wallpaper/1/* $HOME/.wallpaper/2/* $HOME/.wallpaper/3/*";
|
||||
# temp
|
||||
alias bgrandomizer="feh --randomize --bg-fill $HOME/.wallpaper/* $HOME/.wallpaper/* $HOME/.wallpaper/*";
|
||||
|
5
bash/rc
5
bash/rc
@ -1,9 +1,8 @@
|
||||
#!/bin/bash
|
||||
DOTWRYN="$HOME/.wryn"
|
||||
RC_DIR="$DOTWRYN/bash"
|
||||
|
||||
source "$HOME/.my_bash_env"
|
||||
|
||||
RC_DIR="$DOTWRYN/bash"
|
||||
|
||||
# source .wryn/bash files
|
||||
for file in $(find $RC_DIR -maxdepth 1 -type f ! -name 'rc'); do source $file; done;
|
||||
|
||||
|
@ -31,6 +31,7 @@ blur-background-exclude = [
|
||||
|
||||
# Duplicating the _NET_WM_STATE entries because compton cannot deal with atom arrays :-/
|
||||
opacity-rule = [
|
||||
"100:name *= 'VIM'",
|
||||
"97:class_g = 'Termite' && !_NET_WM_STATE@:32a",
|
||||
|
||||
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
|
||||
|
@ -19,9 +19,6 @@ font pango:monospace 6
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||
# they are included here as an example. Modify as you see fit.
|
||||
|
||||
# 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
|
||||
@ -44,7 +41,7 @@ floating_modifier $mod
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+space exec dmenu_run
|
||||
@ -53,34 +50,18 @@ bindsym $mod+space exec dmenu_run
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+semicolon focus right
|
||||
# change focus and move window
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+h split h
|
||||
|
||||
# split in vertical orientation
|
||||
# split in horizontal/vertical orientation
|
||||
bindsym $mod+b split h
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
@ -155,16 +136,10 @@ mode "resize" {
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym j resize shrink width 10 px or 10 ppt
|
||||
bindsym k resize grow height 10 px or 10 ppt
|
||||
bindsym l resize shrink height 10 px or 10 ppt
|
||||
bindsym semicolon resize grow width 10 px or 10 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
bindsym h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape or $mod+r
|
||||
bindsym Return mode "default"
|
||||
@ -183,3 +158,8 @@ bar {
|
||||
|
||||
# Composite
|
||||
exec compton
|
||||
|
||||
# Settings for gaps
|
||||
for_window [class="^.*"] border pixel 2
|
||||
gaps inner 5
|
||||
gaps outer 5
|
||||
|
6
config/i3/desktop_layout
Normal file
6
config/i3/desktop_layout
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
source $HOME/.my_bash_env
|
||||
LAYOUTS="$DOTWRYN/config/i3/layouts";
|
||||
|
||||
i3-msg "workspace 3; append_layout $LAYOUTS/chat_and_htop.json"
|
||||
i3-msg "workspace 4; append_layout $LAYOUTS/repl.json"
|
129
config/i3/layouts/chat_and_htop.json
Normal file
129
config/i3/layouts/chat_and_htop.json
Normal file
@ -0,0 +1,129 @@
|
||||
{
|
||||
tabbed split container with 3 children
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "tabbed",
|
||||
"percent": 0.7,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1080,
|
||||
"width": 603,
|
||||
"x": 817,
|
||||
"y": 0
|
||||
},
|
||||
"name": "Slack | Sam Christensen | Rent Dynamics | 2 new items",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^Slack$",
|
||||
"instance": "^slack$",
|
||||
"title": "^Slack\\ \\|\\ Sam\\ Christensen\\ \\|\\ Rent\\ Dynamics\\ \\|\\ 2\\ new\\ items$",
|
||||
"window_role": "^browser\\-window$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 800,
|
||||
"width": 1100,
|
||||
"x": 458,
|
||||
"y": 230
|
||||
},
|
||||
"name": "Android Messages",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^Android\\ Messages$",
|
||||
"instance": "^android\\ messages$",
|
||||
"title": "^Android\\ Messages$",
|
||||
"window_role": "^browser\\-window$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1080,
|
||||
"width": 1371,
|
||||
"x": 3869,
|
||||
"y": 29
|
||||
},
|
||||
"name": "Activity - Discord",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^discord$",
|
||||
"instance": "^discord$",
|
||||
"title": "^Activity\\ \\-\\ Discord$",
|
||||
"window_role": "^browser\\-window$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.3,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1165,
|
||||
"width": 565,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "w0ryn@yage:~",
|
||||
"percent": 0.7,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^kitty$",
|
||||
"instance": "^kitty$",
|
||||
"title": "^w0ryn\\@yage\\:\\~$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1165,
|
||||
"width": 565,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "w0ryn@yage:~",
|
||||
"percent": 0.3,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^kitty$",
|
||||
"instance": "^kitty$",
|
||||
"title": "^w0ryn\\@yage\\:\\~$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
93
config/i3/layouts/repl.json
Normal file
93
config/i3/layouts/repl.json
Normal file
@ -0,0 +1,93 @@
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1165,
|
||||
"width": 565,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "w0ryn@yage:~",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "kitty"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
||||
{
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.5,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1165,
|
||||
"width": 565,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "w0ryn@yage:~",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^kitty$",
|
||||
"instance": "^kitty$",
|
||||
"title": "^w0ryn\\@yage\\:\\~$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1165,
|
||||
"width": 565,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "w0ryn@yage:~",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^kitty$",
|
||||
"instance": "^kitty$",
|
||||
"title": "^w0ryn\\@yage\\:\\~$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 5,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 1165,
|
||||
"width": 565,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "w0ryn@yage:~",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^kitty$",
|
||||
"instance": "^kitty$",
|
||||
"title": "^w0ryn\\@yage\\:\\~$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
99
config/i3/rent_dynamics_screen_layout
Normal file
99
config/i3/rent_dynamics_screen_layout
Normal file
@ -0,0 +1,99 @@
|
||||
#!/bin/bash
|
||||
set $mod Mod4
|
||||
font pango:Liberation Mono 8
|
||||
floating_modifier $mod
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
|
||||
bindsym $mod+o exec --no-startup-id j4-dmenu-desktop
|
||||
bindsym $mod+l exec --no-startup-id i3lock -c 111111
|
||||
bindsym $mod+c exec --no-startup-id google-chrome-stable
|
||||
bindsyn $mod+p exec --no-startup-id ~/.screenlayout/auto.sh
|
||||
bindsym --whole-window $mod+button3 workspace next_on_output
|
||||
bindsym --whole-window $mod+shift+button3 exec xdotool key --clearmodifiers ctrl+Tab
|
||||
bindsym --whole-window $mod+shift+ctrl+button3 exec xdotool key --clearmodifiers ctrl+Shift+Tab
|
||||
bindsym $mod+m move workspace to output right
|
||||
bindsym $mod+Shift+m move workspace to output left
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
bindsym $mod+h split h
|
||||
bindsym $mod+v split v
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 10
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
mode "resize" {
|
||||
bindsym j resize shrink width 10 px or 10 ppt
|
||||
bindsym k resize grow height 10 px or 10 ppt
|
||||
bindsym l resize shrink height 10 px or 10 ppt
|
||||
bindsym semicolon resize grow width 10 px or 10 ppt
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
bar {
|
||||
status_command i3blocks -c ~/i3blocks.conf
|
||||
position top
|
||||
tray_output DisplayPort-1
|
||||
|
||||
colors {
|
||||
}
|
||||
}
|
||||
workspace 1 output DisplayPort-1
|
||||
workspace 2 output DisplayPort-0
|
||||
workspace 5 output DisplayPort-0
|
||||
workspace 3 output eDP
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
bindsym $mod+comma exec code ~/.config/i3/config
|
||||
for_window [class="^.*"] border pixel 1
|
||||
#exec --no-startup-id compton &
|
||||
assign [class="Chromium-browser"] 3
|
||||
assign [class="Code"] 2
|
||||
assign [class="Google-chrome"] 5
|
||||
exec --no-startup-id chromium-browser
|
||||
exec --no-startup-id google-chrome
|
||||
exec --no-startup-id code
|
||||
exec --no-startup-id .screenlayout/auto.sh
|
||||
exec --no-startup-id iwconfig wlp3s0 txpower 10dBm
|
@ -1,4 +1,4 @@
|
||||
background_opacity 0.9
|
||||
background_opacity 0.8
|
||||
font_family Operator Mono Book
|
||||
font_size 6.0
|
||||
allow_remote_control yes
|
||||
|
4
config/xserver/screenlayout/three_monitor_work_setup.sh
Executable file
4
config/xserver/screenlayout/three_monitor_work_setup.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DP-0 --off --output DP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-0 --off --output DP-2 --mode 2880x1800 --pos 3840x0 --rotate normal --output DP-3 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-4 --off
|
||||
|
||||
xrandr --output DP-2 --scale 0.7x0.7 && feh --bg-fill $HOME/Pictures/bg/vegeta.jpg $HOME/Pictures/bg/altaria.jpg $HOME/Pictures/bg/captainfalcon.jpg >/dev/null 2>/dev/null
|
5
config/xserver/set_randr_layout
Executable file
5
config/xserver/set_randr_layout
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
source $HOME/.my_bash_env
|
||||
XSERVER_DIR="$DOTWRYN/config/xserver"
|
||||
|
||||
"$XSERVER_DIR/screenlayout/three_monitor_work_setup.sh"
|
@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
source $HOME/.my_bash_env
|
||||
XSERVER_DIR="$DOTWRYN/config/xserver"
|
||||
|
||||
bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness
|
||||
|
||||
/home/w0ryn/.screenlayout/default.sh
|
||||
"$XSERVER_DIR/set_randr_layout" &
|
||||
exec i3
|
||||
|
Loading…
Reference in New Issue
Block a user