mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
40 Commits
ff0d449fa5
...
surface
Author | SHA1 | Date | |
---|---|---|---|
7ec8be00be
|
|||
732a366b30
|
|||
d8b36c48bb
|
|||
677fce1907
|
|||
83b006c9d5
|
|||
015fffbbd4
|
|||
22fa8c810f
|
|||
ae67b62ebe
|
|||
ea51f79785
|
|||
f03b3ee8df
|
|||
f17927e0ee
|
|||
fd63032392
|
|||
9ee742294d
|
|||
e7baaf0a80 | |||
5d90dda3f5
|
|||
82ad05ca0a
|
|||
d52ece0b12
|
|||
52cb279f3b
|
|||
618b78e62e
|
|||
20e01667f9
|
|||
e3b276aecf
|
|||
3dfed805f9
|
|||
61ab086664
|
|||
7bbd52d4d8
|
|||
b0267c548a
|
|||
46c01329cf
|
|||
9433c26d62
|
|||
c1480498c1
|
|||
809104c10f
|
|||
45192635af
|
|||
8b95f13919
|
|||
e15c8d4ed7
|
|||
f942d3ee31
|
|||
5084da39a5
|
|||
12f5f2bdc9
|
|||
0921b3c91c
|
|||
e31edd3980
|
|||
9d9035a8ad
|
|||
4246ccac86
|
|||
24161b8a4a
|
@ -12,6 +12,7 @@ export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open
|
|||||||
# Load Xorg resources and set the DPI
|
# Load Xorg resources and set the DPI
|
||||||
xrdb -merge $XDG_CONFIG_HOME/X11/xresources
|
xrdb -merge $XDG_CONFIG_HOME/X11/xresources
|
||||||
xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
|
xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
|
||||||
|
xrandr --output eDP1 --primary
|
||||||
|
|
||||||
setxkbmap -option caps:none
|
setxkbmap -option caps:none
|
||||||
xset r rate 200 18
|
xset r rate 200 18
|
||||||
@ -22,3 +23,6 @@ if [ -n "$DISPLAY" ] && exists autocutsel && ! pidof autocutsel 1>/dev/null; the
|
|||||||
autocutsel -fork
|
autocutsel -fork
|
||||||
autocutsel -selection PRIMARY -fork
|
autocutsel -selection PRIMARY -fork
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
~/.local/share/surface-scripts/pend &
|
||||||
|
~/.local/share/surface-scripts/rotationd &
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
*.color15: #eceff1
|
*.color15: #eceff1
|
||||||
|
|
||||||
|
|
||||||
Xft.dpi: 96
|
Xft.dpi: 140
|
||||||
Xft.antialias: true
|
Xft.antialias: true
|
||||||
Xft.rgba: rgb
|
Xft.rgba: rgb
|
||||||
Xft.hinting: true
|
Xft.hinting: true
|
||||||
@ -59,11 +59,11 @@ xterm.metaSendsEscape: true
|
|||||||
|
|
||||||
urxvt.termName: xterm-256color
|
urxvt.termName: xterm-256color
|
||||||
|
|
||||||
urxvt.font: xft:Source Code Pro:style=regular:size=9
|
urxvt.font: xft:Source Code Pro:style=regular:size=9.8
|
||||||
urxvt.imFont: xft:Source Code Pro:style=regular:size=9
|
urxvt.imFont: xft:Source Code Pro:style=regular:size=9.8
|
||||||
urxvt.boldFont: xft:Source Code Pro:style=bold:size=9
|
urxvt.boldFont: xft:Source Code Pro:style=bold:size=9
|
||||||
urxvt.italicFont: xft:Source Code Pro:style=italic:size=9
|
urxvt.italicFont: xft:Source Code Pro:style=italic:size=9.8
|
||||||
urxvt.boldItalicFont: xft:Source Code Pro:style=bold,italic:size=9
|
urxvt.boldItalicFont: xft:Source Code Pro:style=bold,italic:size=9.8
|
||||||
|
|
||||||
|
|
||||||
urxvt.iso14755: false
|
urxvt.iso14755: false
|
||||||
|
1
.config/chrome-flags.conf
Normal file
1
.config/chrome-flags.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
--force-device-scale-factor=1.2
|
@ -31,7 +31,7 @@ alpha-step = 0.02; # XRender backend: Step size for alpha pictures. Increasin
|
|||||||
|
|
||||||
# Blurring
|
# Blurring
|
||||||
blur-method = "dual_kawase";
|
blur-method = "dual_kawase";
|
||||||
blur-strength = 5;
|
blur-strength = 6;
|
||||||
blur-background = true; # Blur background of transparent windows.
|
blur-background = true; # Blur background of transparent windows.
|
||||||
blur-background-exclude = [ "class_g = 'Peek'", "class_g = 'Onboard'", "class_g = 'slop'", "class_g = 'Polybar'" ];
|
blur-background-exclude = [ "class_g = 'Peek'", "class_g = 'Onboard'", "class_g = 'slop'", "class_g = 'Polybar'" ];
|
||||||
blur-background-frame = true; # Blur background of opaque windows with transparent
|
blur-background-frame = true; # Blur background of opaque windows with transparent
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[global]
|
[global]
|
||||||
font = sans 9.5
|
font = sans 9
|
||||||
|
|
||||||
# Allow a small subset of html markup:
|
# Allow a small subset of html markup:
|
||||||
# <b>bold</b>
|
# <b>bold</b>
|
||||||
@ -65,7 +65,7 @@
|
|||||||
# screen width minus the width defined in within the geometry option.
|
# screen width minus the width defined in within the geometry option.
|
||||||
|
|
||||||
# 53 = 30 + 23 (bar-height)
|
# 53 = 30 + 23 (bar-height)
|
||||||
geometry = "360x5-30+30"
|
geometry = "560x5-30+30"
|
||||||
|
|
||||||
# Shrink window if it's smaller than the width. Will be ignored if
|
# Shrink window if it's smaller than the width. Will be ignored if
|
||||||
# width is 0.
|
# width is 0.
|
||||||
@ -146,7 +146,7 @@
|
|||||||
icon_position = left
|
icon_position = left
|
||||||
|
|
||||||
# Scale larger icons down to this size, set to 0 to disable
|
# Scale larger icons down to this size, set to 0 to disable
|
||||||
max_icon_size = 44
|
max_icon_size = 72
|
||||||
|
|
||||||
# Paths to default icons.
|
# Paths to default icons.
|
||||||
icon_path = /usr/share/icons/Xenlism-Wildfire/Status/:/usr/share/icons/Xenlism-Wildfire/Devices/:/usr/share/icons/Adwaita/32x32/status:/usr/share/icons/Adwaita/32x32/devices
|
icon_path = /usr/share/icons/Xenlism-Wildfire/Status/:/usr/share/icons/Xenlism-Wildfire/Devices/:/usr/share/icons/Adwaita/32x32/status:/usr/share/icons/Adwaita/32x32/devices
|
||||||
|
@ -31,6 +31,7 @@ bindsym $mod+w split v
|
|||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+Shift+f fullscreen toggle global
|
bindsym $mod+Shift+f fullscreen toggle global
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
popup_during_fullscreen leave_fullscreen
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+p layout stacking
|
bindsym $mod+p layout stacking
|
||||||
@ -45,21 +46,7 @@ bindsym $mod+e sticky toggle
|
|||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
bindsym $mod+o focus child
|
bindsym $mod+o focus child
|
||||||
|
|
||||||
# Screen configs #
|
set $10 "10:"
|
||||||
set $bl "DP-5"
|
|
||||||
set $tl "DP-1"
|
|
||||||
set $br "HDMI-0"
|
|
||||||
set $tr "DP-3"
|
|
||||||
|
|
||||||
# Workspace -> Screen
|
|
||||||
workspace 1 output $bl
|
|
||||||
workspace 2 output $br
|
|
||||||
workspace 3 output $tl
|
|
||||||
workspace 4 output $tr
|
|
||||||
workspace 5 output $bl
|
|
||||||
workspace 6 output $br
|
|
||||||
workspace 7 output $tl
|
|
||||||
workspace 8 output $tr
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace 1
|
bindsym $mod+1 workspace 1
|
||||||
@ -71,7 +58,7 @@ bindsym $mod+6 workspace 6
|
|||||||
bindsym $mod+7 workspace 7
|
bindsym $mod+7 workspace 7
|
||||||
bindsym $mod+8 workspace 8
|
bindsym $mod+8 workspace 8
|
||||||
bindsym $mod+9 workspace 9
|
bindsym $mod+9 workspace 9
|
||||||
bindsym $mod+0 workspace 10
|
bindsym $mod+0 workspace $10
|
||||||
|
|
||||||
# move workspaces across screens
|
# move workspaces across screens
|
||||||
bindsym $mod+$alt+d move workspace to output left
|
bindsym $mod+$alt+d move workspace to output left
|
||||||
@ -89,7 +76,7 @@ bindsym $mod+Shift+6 move container to workspace 6
|
|||||||
bindsym $mod+Shift+7 move container to workspace 7
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
bindsym $mod+Shift+8 move container to workspace 8
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
bindsym $mod+Shift+9 move container to workspace 9
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
bindsym $mod+Shift+0 move container to workspace 10
|
bindsym $mod+Shift+0 move container to workspace $10
|
||||||
|
|
||||||
# opens logout/shutdown menu
|
# opens logout/shutdown menu
|
||||||
bindsym $mod+Shift+Escape exec --no-startup-id ~/.config/i3/powermenu.sh
|
bindsym $mod+Shift+Escape exec --no-startup-id ~/.config/i3/powermenu.sh
|
||||||
@ -168,17 +155,19 @@ exec --no-startup-id xautolock -time 5 -locker 'dm-tool lock' -nocloseout -noclo
|
|||||||
|
|
||||||
# startup programs
|
# startup programs
|
||||||
exec --no-startup-id nextcloud
|
exec --no-startup-id nextcloud
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
exec --no-startup-id blueman-applet
|
exec --no-startup-id blueman-applet
|
||||||
exec --no-startup-id redshift
|
exec --no-startup-id redshift
|
||||||
exec --no-startup-id xbindkeys
|
exec --no-startup-id xbindkeys
|
||||||
exec --no-startup-id solaar
|
exec --no-startup-id solaar
|
||||||
exec --no-startup-id pullover
|
exec --no-startup-id pullover
|
||||||
|
exec --no-startup-id onboard
|
||||||
|
exec --no-startup-id touchegg
|
||||||
exec --no-startup-id mailnag
|
exec --no-startup-id mailnag
|
||||||
exec --no-startup-id compton -b --config ~/.config/compton.conf
|
exec --no-startup-id compton -b --config ~/.config/compton.conf
|
||||||
exec --no-startup-id chromium --no-startup-window
|
exec --no-startup-id chromium --no-startup-window
|
||||||
exec --no-startup-id thunderbird
|
exec --no-startup-id thunderbird
|
||||||
|
|
||||||
exec i3-msg 'workspace 1; exec sleep 2 && chromium'
|
exec i3-msg 'workspace 1; exec chromium'
|
||||||
exec i3-msg 'workspace 2; exec i3-sensible-terminal'
|
|
||||||
|
|
||||||
# vim:ft=i3
|
# vim:ft=i3
|
||||||
|
@ -13,13 +13,13 @@ format-margin = 2.5
|
|||||||
format-offset = 0
|
format-offset = 0
|
||||||
|
|
||||||
[bar/i3bar]
|
[bar/i3bar]
|
||||||
monitor = ${env:MONITOR:HDMI-0}
|
monitor = ${env:MONITOR:eDP1}
|
||||||
dpi = ${xrdb:Xft.dpi:96}
|
dpi = ${xrdb:Xft.dpi:-1}
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
|
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 32
|
height = 44
|
||||||
bottom = true
|
bottom = true
|
||||||
radius = 0
|
radius = 0
|
||||||
|
|
||||||
@ -44,9 +44,9 @@ modules-right = volume updates weather wlan eth memory cpu xbacklight battery te
|
|||||||
tray-position = right
|
tray-position = right
|
||||||
tray-detached = false
|
tray-detached = false
|
||||||
tray-background = ${root.background}
|
tray-background = ${root.background}
|
||||||
tray-offset-x = -4
|
tray-offset-x = -6
|
||||||
tray-offset-y = 0
|
tray-offset-y = -2
|
||||||
tray-maxsize = 16
|
tray-maxsize = 24
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
tray-scale = 1.0
|
tray-scale = 1.0
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ wrapping-scroll = false
|
|||||||
; Only show workspaces on the same output as the bar
|
; Only show workspaces on the same output as the bar
|
||||||
; pin-workspaces = true
|
; pin-workspaces = true
|
||||||
|
|
||||||
label-mode-padding = 2
|
label-mode-padding = 3
|
||||||
label-mode-foreground = ${colours.text}
|
label-mode-foreground = ${colours.text}
|
||||||
label-mode-background = ${colours.background}
|
label-mode-background = ${colours.background}
|
||||||
|
|
||||||
@ -254,7 +254,7 @@ ramp-capacity-1-foreground = ${colours.warning}
|
|||||||
|
|
||||||
[module/temperature]
|
[module/temperature]
|
||||||
type = internal/temperature
|
type = internal/temperature
|
||||||
thermal-zone = 2
|
thermal-zone = 1
|
||||||
warn-temperature = 70
|
warn-temperature = 70
|
||||||
|
|
||||||
format = <ramp> <label>
|
format = <ramp> <label>
|
||||||
@ -267,9 +267,11 @@ label-warn-foreground = ${colours.background}
|
|||||||
ramp-0 =
|
ramp-0 =
|
||||||
ramp-1 =
|
ramp-1 =
|
||||||
ramp-2 =
|
ramp-2 =
|
||||||
ramp-3 =
|
ramp-3 =
|
||||||
ramp-4 =
|
ramp-4 =
|
||||||
ramp-5 =
|
ramp-5 =
|
||||||
|
ramp-6 =
|
||||||
|
ramp-7 =
|
||||||
ramp-foreground = ${colours.icon}
|
ramp-foreground = ${colours.icon}
|
||||||
|
|
||||||
|
|
||||||
|
26
.config/rofi/config
Normal file
26
.config/rofi/config
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
!-----------------------------
|
||||||
|
! Rofi config
|
||||||
|
!-----------------------------
|
||||||
|
|
||||||
|
! State: 'bg', 'fg', 'bgalt' 'hlbg', 'hlfg'
|
||||||
|
rofi.color-window: #F2383C4A, #2F343F
|
||||||
|
rofi.color-normal: #00383C4A, #D3DAE3, #00383C4A, #5294E2, #ECEFF1
|
||||||
|
rofi.bc: #CC383C4A
|
||||||
|
rofi.bw: 5
|
||||||
|
rofi.padding: 8
|
||||||
|
rofi.lines: 14
|
||||||
|
rofi.width: 40
|
||||||
|
rofi.font: Noto Sans 18
|
||||||
|
rofi.line-margin: 6
|
||||||
|
rofi.sep: |
|
||||||
|
rofi.prompt: >
|
||||||
|
rofi.ssh-command: {terminal} -e "{ssh-client} {host}"
|
||||||
|
rofi.separator-style: solid
|
||||||
|
rofi.kb-row-tab: Shift+Tab
|
||||||
|
rofi.kb-row-select: Tab
|
||||||
|
|
||||||
|
rofi.matching: glob
|
||||||
|
rofi.tokenize: true
|
||||||
|
rofi.normal-window: true
|
||||||
|
|
||||||
|
! vim: ft=xdefaults
|
@ -2,8 +2,8 @@ configuration {
|
|||||||
theme: "arc-dark";
|
theme: "arc-dark";
|
||||||
font: "sans 14";
|
font: "sans 14";
|
||||||
dpi: 0;
|
dpi: 0;
|
||||||
width: 35;
|
width: 40;
|
||||||
lines: 10;
|
lines: 12;
|
||||||
|
|
||||||
/* show-icons: true; */
|
/* show-icons: true; */
|
||||||
separator-style: "solid";
|
separator-style: "solid";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[options]
|
[options]
|
||||||
font = monospace 9
|
font = monospace 9.5
|
||||||
scrollback_lines = 1000000
|
scrollback_lines = 1000000
|
||||||
cursor_blink = off
|
cursor_blink = off
|
||||||
size_hints = true
|
size_hints = true
|
||||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "surface-scripts"]
|
||||||
|
path = surface-scripts
|
||||||
|
url = https://github.com/frebib/surface-scripts.git
|
2
.profile
2
.profile
@ -38,7 +38,7 @@ export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
|||||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||||
|
|
||||||
export DOTFILES="$(dirname "${thisfile:-$XDG_CONFIG_HOME/dotfiles/.profile}")"
|
export DOTFILES="$(dirname "${thisfile:-$XDG_CONFIG_HOME/dotfiles/.profile}")"
|
||||||
export PATH="${PATH}:/sbin:/usr/sbin:$DOTFILES/scripts:$GOPATH/bin"
|
export PATH="${PATH}:/sbin:/usr/sbin:$DOTFILES/scripts:$HOME/.local/share/surface-scripts:$GOPATH/bin"
|
||||||
|
|
||||||
exists() { which $@ 0<&- 1>/dev/null 2>/dev/null; }
|
exists() { which $@ 0<&- 1>/dev/null 2>/dev/null; }
|
||||||
|
|
||||||
|
@ -23,3 +23,8 @@ echo cd `pwd`
|
|||||||
for file in $conffiles; do
|
for file in $conffiles; do
|
||||||
ln -sfv $confpath/.config/$file .
|
ln -sfv $confpath/.config/$file .
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cd $HOME
|
||||||
|
mkdir -p .local/share/ && cd .local/share
|
||||||
|
echo cd `pwd`
|
||||||
|
ln -sfv $DOTFILES/surfacetools .
|
||||||
|
1
surface-scripts
Submodule
1
surface-scripts
Submodule
Submodule surface-scripts added at f94e25f0b8
1
surface3-scripts
Submodule
1
surface3-scripts
Submodule
Submodule surface3-scripts added at bd6eaf1fb0
Reference in New Issue
Block a user