Migrate repo installation from custom script to dotinstall

This commit is contained in:
Yorick Barbanneau 2019-11-23 00:38:38 +01:00
parent a8adfb8ff9
commit 4f5de50fb9
12 changed files with 9 additions and 46 deletions

View file

@ -0,0 +1,11 @@
[Filechooser Settings]
LocationMode=filename-entry
ShowHidden=false
ShowSizeColumn=true
GeometryX=282
GeometryY=194
GeometryWidth=876
GeometryHeight=538
SortColumn=name
SortOrder=descending
StartupMode=recent

View file

@ -0,0 +1,16 @@
[Settings]
gtk-theme-name=Arc-Darker-solid
gtk-font-name=DejaVu Sans 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-button-images=0
gtk-menu-images=0
gtk-icon-theme-name=Papirus-Dark
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=none

31
config/mako/config Normal file
View file

@ -0,0 +1,31 @@
markup=1
actions=1
anchor=top-right
# Format
font=Fira Code 10
border-color=#1cd180
border-size=2
background-color=#353535ff
text-color=#fdfdfd
format=<b>%s</b> <span color="#93a1a1">(%a)</span>\n%b
# icons
icon-path=/usr/share/icons/Papirus
# Hidden format
[hidden]
format=Hidden: %h [%t]
[urgency=low]
[urgency=low actionable]
[urgency=normal actionable]
[urgency=high]
border-color=#f268b3
[urgency=high actionable]
border-color=#6c71c4

View file

@ -0,0 +1,5 @@
set $term termite
set $menu exec $term --name=launcher -e launcher.sh
set $lock_bg ~/documents/ressources/wallpapers/morty.jpg
output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill

View file

@ -0,0 +1,2 @@
set $term kitty
output eDP-1 scale 2

175
config/sway/config Normal file
View file

@ -0,0 +1,175 @@
set $mod Mod4
set $left h
set $down j
set $up k
set $right l
gaps inner 5
# Input configuration
input * xkb_layout "us"
input * xkb_variant "altgr-intl"
# i3 basic operation (reload, menu, menu etc.)
bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exit
bindsym $mod+Return exec $term
bindsym $mod+d exec $menu
bindsym $mod+Alt+l exec swaylock -i $lock_bg
# kill focused window
bindsym $mod+Shift+q kill
#
# Moving around:
#
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# ditto, with arrow 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
# Workspaces:
# -----------
set $ws1 "1: "
set $ws2 "2: "
set $ws3 "3: "
set $ws4 "4: 
set $ws5 "5: "
assign [app_id="^firefox$"] $ws3
assign [class="keepassxc"] $ws3
assign [app_id="org.remmina.*"] $ws5
for_window [app_id="^launcher$"] floating enable, border none<Paste>
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
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
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
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
# Layout stuff
# -----------
#split
bindsym $mod+b splith
bindsym $mod+v splitv
# layout
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+f fullscreen
# Toggle floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# move focus to the parent container
bindsym $mod+a focus parent
# Media keys
# ----------
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pacmd list-sinks |awk '/* index:/{print $3}') +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pacmd list-sinks |awk '/* index:/{print $3}') -5%
bindsym XF86AudioMute exec pactl set-sink-mute $(pacmd list-sinks |awk '/* index:/{print $3}') toggle
# More resize
# -----------
bindsym $mod+r mode "resize"
mode "resize" {
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
# ditto, with 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
# return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Workspaces
# ----------
# Appareance
# ----------
font pango:FuraCode Nerd Font Mono 10
default_border pixel 1
title_align center
client.focused #f268b3 #a82d70 #ffffff #f268b3 #f268b3
client.unfocused #000000 #4d3d46 #cccccc #000000 #000000
# Status Bar:
bar {
swaybar_command waybar
}
# Include configuration by hostname
include ~/.config/sway/conf.d/`hostname`.config
# Automatic startup
# -----------------
exec_always import-gsettings.sh \
icon-theme:gtk-icon-theme-name \
cursor-theme:gtk-cursor-theme-name \
gtk-theme:gtk-theme-name \
font-name:gtk-font-name
exec swayidle \
timeout 300 'swaylock -i $lock_bg' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock'
exec mako

4
config/swaylock/config Normal file
View file

@ -0,0 +1,4 @@
# swaylock configuration file
ignore-empty-password
show-failed-attempts
daemonize

75
config/waybar/config Normal file
View file

@ -0,0 +1,75 @@
{
"layer": "top",
"height":"22",
"disable-toolptips": true,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [],
"modules-right": ["network", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/workspace": {
"disable-scroll": true
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"clock": {
"tooltip": false,
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"backlight": {
//"device": "intel_backlight",
"format": "{percent}% {icon}",
"format-icons": ["", ""],
"tooltip": false
},
"battery": {
"tooltip": false,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"network": {
"tooltip": false,
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"tooltip": false,
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}
}
}

71
config/waybar/style.css Normal file
View file

@ -0,0 +1,71 @@
* {
border: none;
border-radius: 0;
font-family: "FuraCode Nerd Font";
font-size: 13px;
min-height:0;
}
window#waybar {
background:#323232 ;
color:#ddd;
}
#workspaces {
color:#fff;
}
#workspaces button {
margin:0 3px;
padding:4px 4px;
background:#323232 ;
color:#9c9c9c;
}
#workspaces button:hover {
box-shadow:inherit;
text-shadow:inherit;
color:#f268b3;
border-bottom: 1px solid #f268b3;
}
#workspaces button.focused {
background:#1cd180 ;
color:#000;
}
#clock,
#cpu,
#memory,
#backlight,
#network,
#tray,
#mode,
#battery,
#idle_inhibitor {
padding: 2px 4px;
margin: 0 6px;
background-color: transparent;
}
#mode{
background:red;
font-weight:bold;
}
#pulseaudio {}
#pulseaudio.muted {}
#battery {
border-bottom:1px solid transparent;
}
#battery.charging {
border-color:#1cd180;
color:#1cd180;
}
#battery.critical:not(.charging) {
border-color:#f268b3;
color:#f268b3;
}