Merge desktop config
This commit is contained in:
parent
3c52447aff
commit
287cef0bab
5 changed files with 37 additions and 12 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/fish
|
#!/usr/bin/fish
|
||||||
xbacklight $argv[1..-1]
|
if pidof ddcutil
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
|
||||||
set brightness (cat /sys/class/backlight/intel_backlight/brightness)
|
set brightness (cat /sys/class/backlight/intel_backlight/brightness)
|
||||||
set bar (seq -s "─" 0 (math $brightness / 42) | tr -d '[:digit:]')
|
set bar (seq -s "─" 0 (math $brightness / 42) | tr -d '[:digit:]')
|
||||||
|
@ -18,3 +20,5 @@ else
|
||||||
echo $id > "$file"
|
echo $id > "$file"
|
||||||
chmod 600 "$file"
|
chmod 600 "$file"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
ddcutil setvcp 10 $brightness
|
||||||
|
|
|
@ -31,7 +31,7 @@ FA_FIREFOX = "\uF269"
|
||||||
FA_PICTURE_O = "\uF03E"
|
FA_PICTURE_O = "\uF03E"
|
||||||
FA_SPOTIFY = "\uF1BC"
|
FA_SPOTIFY = "\uF1BC"
|
||||||
FA_TERMINAL = "\uF120"
|
FA_TERMINAL = "\uF120"
|
||||||
FA_TELEGRAM = "\uF3FE"
|
FA_TELEGRAM = "\uE217"
|
||||||
FA_CUBE = "\uF1B2"
|
FA_CUBE = "\uF1B2"
|
||||||
FA_PAINT_BRUSH = "\uF1FC"
|
FA_PAINT_BRUSH = "\uF1FC"
|
||||||
FA_BOOK = "\uF02D"
|
FA_BOOK = "\uF02D"
|
||||||
|
@ -45,6 +45,8 @@ FA_COMMENT_ALT = "\uF27A"
|
||||||
|
|
||||||
XORG_ICONS = {
|
XORG_ICONS = {
|
||||||
"Blender": FA_CUBE,
|
"Blender": FA_CUBE,
|
||||||
|
"Cadence": FA_VOLUME_UP,
|
||||||
|
"Carla2": FA_VOLUME_UP,
|
||||||
"chromium": FA_CHROME,
|
"chromium": FA_CHROME,
|
||||||
"code": FA_CODE,
|
"code": FA_CODE,
|
||||||
"code-oss": FA_CODE,
|
"code-oss": FA_CODE,
|
||||||
|
|
|
@ -8,6 +8,7 @@ Plug 'tweekmonster/startuptime.vim'
|
||||||
" UI
|
" UI
|
||||||
"Plug 'airblade/vim-gitgutter' " currently broken :(
|
"Plug 'airblade/vim-gitgutter' " currently broken :(
|
||||||
Plug 'Asheq/close-buffers.vim'
|
Plug 'Asheq/close-buffers.vim'
|
||||||
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
Plug 'haya14busa/incsearch.vim'
|
Plug 'haya14busa/incsearch.vim'
|
||||||
Plug 'mhinz/vim-startify'
|
Plug 'mhinz/vim-startify'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
|
@ -43,9 +44,6 @@ Plug 'tpope/vim-speeddating'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
" Language support
|
" Language support
|
||||||
"Plug 'landaire/deoplete-swift'
|
|
||||||
"Plug 'mitsuhiko/vim-jinja'
|
|
||||||
"Plug 'ryanolsonx/vim-lsp-swift'
|
|
||||||
Plug 'artur-shaik/vim-javacomplete2'
|
Plug 'artur-shaik/vim-javacomplete2'
|
||||||
Plug 'cespare/vim-toml'
|
Plug 'cespare/vim-toml'
|
||||||
Plug 'coc-extensions/coc-svelte'
|
Plug 'coc-extensions/coc-svelte'
|
||||||
|
@ -60,6 +58,7 @@ Plug 'lervag/vimtex'
|
||||||
Plug 'martinda/Jenkinsfile-vim-syntax'
|
Plug 'martinda/Jenkinsfile-vim-syntax'
|
||||||
Plug 'MaxMEllon/vim-jsx-pretty'
|
Plug 'MaxMEllon/vim-jsx-pretty'
|
||||||
Plug 'othree/yajs.vim'
|
Plug 'othree/yajs.vim'
|
||||||
|
Plug 'mitsuhiko/vim-jinja'
|
||||||
Plug 'peitalin/vim-jsx-typescript'
|
Plug 'peitalin/vim-jsx-typescript'
|
||||||
Plug 'plasticboy/vim-markdown'
|
Plug 'plasticboy/vim-markdown'
|
||||||
Plug 'posva/vim-vue'
|
Plug 'posva/vim-vue'
|
||||||
|
@ -284,3 +283,7 @@ sunmap ge
|
||||||
let g:tex_conceal = 'adgms'
|
let g:tex_conceal = 'adgms'
|
||||||
|
|
||||||
set path=$PWD/**
|
set path=$PWD/**
|
||||||
|
|
||||||
|
set wrap linebreak showbreak=↳\ " keep whitespace
|
||||||
|
set breakindent breakindentopt=shift:4
|
||||||
|
let g:ctrlp_map = '<c-p>'
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
# i3 config file (v4)
|
# i3 config file (v4)
|
||||||
#
|
#
|
||||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
output * bg /home/sijmen/Pictures/Bureaubladachtergronden/ia4x8geen2z31.jpg fill
|
|
||||||
|
|
||||||
# Laptop display
|
# Laptop display
|
||||||
output 'Unknown 0x06D7 0x00000000' {
|
output 'Unknown 0x06D7 0x00000000' {
|
||||||
scale 2
|
scale 2
|
||||||
pos 0 0
|
pos 0 0
|
||||||
subpixel rgb
|
subpixel rgb
|
||||||
|
bg /home/sijmen/Pictures/Bureaubladachtergronden/ia4x8geen2z31.jpg fill
|
||||||
}
|
}
|
||||||
|
|
||||||
# Default HDMI to right-of
|
# Default laptop HDMI to right-of
|
||||||
output HDMI-A-2 pos 1920 0
|
output HDMI-A-2 pos 1920 0
|
||||||
|
|
||||||
# Screens at parents'
|
# Screens at parents'
|
||||||
|
@ -35,11 +34,25 @@ output 'Philips Consumer Electronics Company PHL 272B8Q UK01947014710' {
|
||||||
subpixel rgb
|
subpixel rgb
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Home left
|
||||||
|
output 'Goldstar Company Ltd LG Ultra HD 0x00008520' {
|
||||||
|
scale 1.3
|
||||||
|
position 0 0
|
||||||
|
subpixel rgb
|
||||||
|
bg /home/sijmen/Pictures/malta.jpg fill
|
||||||
|
}
|
||||||
|
# Home right
|
||||||
|
output 'Samsung Electric Company SyncMaster HMAS909662' {
|
||||||
|
position 2954 700
|
||||||
|
subpixel rgb
|
||||||
|
bg /home/sijmen/Pictures/malta.jpg fill
|
||||||
|
}
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font pango:Ubuntu, Icons 11
|
font pango:Ubuntu, Ubuntu Nerd Font 11
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
@ -175,6 +188,9 @@ bindsym XF86MonBrightnessDown exec --no-startup-id ~/.config/i3/backlight.
|
||||||
bindsym Shift+XF86MonBrightnessUp exec --no-startup-id ~/.config/i3/backlight.fish -inc 2
|
bindsym Shift+XF86MonBrightnessUp exec --no-startup-id ~/.config/i3/backlight.fish -inc 2
|
||||||
bindsym Shift+XF86MonBrightnessDown exec --no-startup-id ~/.config/i3/backlight.fish -dec 2
|
bindsym Shift+XF86MonBrightnessDown exec --no-startup-id ~/.config/i3/backlight.fish -dec 2
|
||||||
|
|
||||||
|
bindsym $mod+Alt+Up exec --no-startup-id ~/.config/i3/backlight.fish +20
|
||||||
|
bindsym $mod+Alt+Down exec --no-startup-id ~/.config/i3/backlight.fish -20
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/volume.fish -i 5
|
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/volume.fish -i 5
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/volume.fish -d 5
|
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/volume.fish -d 5
|
||||||
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/volume.fish -i 2
|
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/volume.fish -i 2
|
||||||
|
@ -189,6 +205,7 @@ bindsym XF86Calculator exec --no-startup-id gnome-calculator
|
||||||
bindsym Print exec --no-startup-id grim -g "$(slurp)" - | wl-copy && notify-send --urgency=low "Screenshot taken"
|
bindsym Print exec --no-startup-id grim -g "$(slurp)" - | wl-copy && notify-send --urgency=low "Screenshot taken"
|
||||||
bindsym Ctrl+Print exec --no-startup-id grim - | wl-copy && notify-send --urgency=low "Screenshot taken"
|
bindsym Ctrl+Print exec --no-startup-id grim - | wl-copy && notify-send --urgency=low "Screenshot taken"
|
||||||
bindsym Shift+Print exec --no-startup-id grim -g "$(slurp)" /tmp/screenshot.png && wl-copy "/tmp/screenshot.png" && notify-send --urgency=low "Screenshot taken"
|
bindsym Shift+Print exec --no-startup-id grim -g "$(slurp)" /tmp/screenshot.png && wl-copy "/tmp/screenshot.png" && notify-send --urgency=low "Screenshot taken"
|
||||||
|
bindsym $mod+Shift+s exec --no-startup-id grim -g "$(slurp)" - | wl-copy && notify-send --urgency=low "Screenshot taken"
|
||||||
bindsym $mod+Print exec --no-startup-id $HOME/.config/i3/screenrecord.sh
|
bindsym $mod+Print exec --no-startup-id $HOME/.config/i3/screenrecord.sh
|
||||||
|
|
||||||
for_window [class="^jetbrains-toolbox$"] floating enable
|
for_window [class="^jetbrains-toolbox$"] floating enable
|
||||||
|
@ -264,10 +281,9 @@ bar {
|
||||||
for_window [class="^.*"] border pixel 2
|
for_window [class="^.*"] border pixel 2
|
||||||
gaps inner 0
|
gaps inner 0
|
||||||
|
|
||||||
#output * bg /home/sijmen/Pictures/malta.jpg fill
|
|
||||||
exec --no-startup-id sh -c "PYTHONUNBUFFERED=1 python $HOME/.config/i3/icons.py 2>&1 > /tmp/icons.log"
|
exec --no-startup-id sh -c "PYTHONUNBUFFERED=1 python $HOME/.config/i3/icons.py 2>&1 > /tmp/icons.log"
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
#exec --no-startup-id redshift -l 52.37:4.889 -t 6500:3000
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
input "1739:0:Synaptics_TM3276-031" {
|
input "1739:0:Synaptics_TM3276-031" {
|
||||||
dwt disabled
|
dwt disabled
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[options]
|
[options]
|
||||||
font = Ubuntu Mono 11
|
font = Ubuntu Mono 14
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
background = #2f343f
|
background = #2f343f
|
||||||
|
|
Loading…
Reference in a new issue