~janbaudisch/dotfiles

9060c20f968563beb1827fffe5e7903463a92aa1 — Jan Baudisch 1 year, 5 months ago
initial commit
A  => .bash_profile +1 -0
@@ 1,1 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc

A  => .bashrc +3 -0
@@ 1,3 @@
PS1='[\u@\h \W]\$ '

source $HOME/.profile

A  => .config/alacritty/alacritty.yml +12 -0
@@ 1,12 @@
#font:
#  normal:
#    family: RobotoMono Nerd Font Mono
#    style: Regular

#  bold:
#    family: RobotoMono Nerd Font Mono
#    style: Bold

#  italic:
#    family: RobotoMono Nerd Font Mono
#    style: Italic

A  => .config/cura/4.5/cura.cfg +41 -0
@@ 1,41 @@
[layerview]

[view]
settings_visible = True

[info]

[physics]

[cura_drive]

[um3networkprinting]

[mesh]

[local_file]
dialog_save_path = /home/jan/Downloads
dialog_load_path = /home/jan/Downloads/Unifi+USW-Flex-Mini+5+Port+Switch/files

[gcodereader]

[general]
window_top = 66
version = 6
visible_settings = cool_fan_speed;infill_pattern;cooling;material_print_temperature;adhesion_type;support_angle;prime_blob_enable;retraction_enable;top_bottom_thickness;infill_sparse_density;bottom_layers;support_enable;speed;prime_tower_position_y;material_bed_temperature;speed_print;cool_fan_enabled;experimental;platform_adhesion;adhesion_extruder_nr;support_extruder_nr;material;wall_line_count;meshfix;resolution;support_type;blackmagic;prime_tower_position_x;travel;shell;infill;prime_tower_enable;retraction_hop_enabled;dual;layer_height;machine_settings;xy_offset;bottom_thickness;support;top_thickness;top_layers;wall_thickness
window_state = 2
last_run_version = 4.5.0
accepted_user_agreement = True

[cura]
categories_expanded = ;acceleration_enabled;acceleration_infill;acceleration_ironing;acceleration_layer_0;acceleration_prime_tower;acceleration_print;acceleration_print_layer_0;acceleration_roofing;acceleration_skirt_brim;acceleration_support;acceleration_support_bottom;acceleration_support_infill;acceleration_support_interface;acceleration_support_roof;acceleration_topbottom;acceleration_travel;acceleration_travel_layer_0;acceleration_wall;acceleration_wall_0;acceleration_wall_x;alternate_extra_perimeter;bottom_layers;bottom_skin_expand_distance;bottom_skin_preshrink;bottom_thickness;connect_infill_polygons;connect_skin_polygons;cool_fan_enabled;cool_fan_full_at_height;cool_fan_full_layer;cool_fan_speed;cool_fan_speed_0;cool_fan_speed_max;cool_fan_speed_min;cool_lift_head;cool_min_layer_time;cool_min_layer_time_fan_speed_max;cool_min_speed;cooling;expand_skins_expand_distance;fill_outline_gaps;fill_perimeter_gaps;filter_out_tiny_gaps;gradual_infill_step_height;gradual_infill_steps;gradual_support_infill_step_height;gradual_support_infill_steps;infill;infill_angles;infill_before_walls;infill_extruder_nr;infill_line_distance;infill_line_width;infill_multiplier;infill_offset_x;infill_offset_y;infill_overlap;infill_overlap_mm;infill_pattern;infill_randomize_start_location;infill_sparse_density;infill_sparse_thickness;infill_support_angle;infill_support_enabled;infill_wall_line_count;infill_wipe_dist;initial_bottom_layers;initial_layer_line_width_factor;ironing_enabled;ironing_flow;ironing_inset;ironing_line_spacing;ironing_only_highest_layer;ironing_pattern;jerk_enabled;jerk_infill;jerk_ironing;jerk_layer_0;jerk_prime_tower;jerk_print;jerk_print_layer_0;jerk_roofing;jerk_skirt_brim;jerk_support;jerk_support_bottom;jerk_support_infill;jerk_support_interface;jerk_support_roof;jerk_topbottom;jerk_travel;jerk_travel_layer_0;jerk_wall;jerk_wall_0;jerk_wall_x;layer_height;layer_height_0;layer_start_x;layer_start_y;limit_support_retractions;line_width;max_skin_angle_for_expansion;min_infill_area;min_skin_width_for_expansion;minimum_bottom_area;minimum_interface_area;minimum_roof_area;minimum_support_area;optimize_wall_printing_order;outer_inset_first;prime_tower_line_width;resolution;retract_at_layer_change;retraction_amount;retraction_combing;retraction_combing_max_distance;retraction_count_max;retraction_enable;retraction_extra_prime_amount;retraction_extrusion_window;retraction_hop;retraction_hop_after_extruder_switch;retraction_hop_after_extruder_switch_height;retraction_hop_enabled;retraction_hop_only_when_collides;retraction_min_travel;retraction_prime_speed;retraction_retract_speed;retraction_speed;roofing_extruder_nr;roofing_layer_count;shell;skin_angles;skin_edge_support_layers;skin_edge_support_thickness;skin_line_width;skin_no_small_gaps_heuristic;skin_outline_count;skin_overlap;skin_overlap_mm;skin_preshrink;skirt_brim_line_width;skirt_brim_speed;speed;speed_equalize_flow_enabled;speed_equalize_flow_max;speed_infill;speed_ironing;speed_layer_0;speed_prime_tower;speed_print;speed_print_layer_0;speed_roofing;speed_slowdown_layers;speed_support;speed_support_bottom;speed_support_infill;speed_support_interface;speed_support_roof;speed_topbottom;speed_travel;speed_travel_layer_0;speed_wall;speed_wall_0;speed_wall_x;speed_z_hop;sub_div_rad_add;support;support_angle;support_bottom_angles;support_bottom_density;support_bottom_distance;support_bottom_enable;support_bottom_extruder_nr;support_bottom_height;support_bottom_line_distance;support_bottom_line_width;support_bottom_offset;support_bottom_pattern;support_bottom_stair_step_height;support_bottom_stair_step_width;support_brim_enable;support_brim_line_count;support_brim_width;support_connect_zigzags;support_enable;support_extruder_nr;support_extruder_nr_layer_0;support_fan_enable;support_infill_angles;support_infill_extruder_nr;support_infill_rate;support_infill_sparse_thickness;support_initial_layer_line_distance;support_interface_angles;support_interface_density;support_interface_enable;support_interface_extruder_nr;support_interface_height;support_interface_line_width;support_interface_offset;support_interface_pattern;support_interface_skip_height;support_join_distance;support_line_distance;support_line_width;support_mesh_drop_down;support_offset;support_pattern;support_roof_angles;support_roof_density;support_roof_enable;support_roof_extruder_nr;support_roof_height;support_roof_line_distance;support_roof_line_width;support_roof_offset;support_roof_pattern;support_supported_skin_fan_speed;support_top_distance;support_tower_diameter;support_tower_maximum_supported_diameter;support_tower_roof_angle;support_type;support_use_towers;support_wall_count;support_xy_distance;support_xy_distance_overhang;support_xy_overrides_z;support_z_distance;top_bottom_extruder_nr;top_bottom_pattern;top_bottom_pattern_0;top_bottom_thickness;top_layers;top_skin_expand_distance;top_skin_preshrink;top_thickness;travel;travel_avoid_distance;travel_avoid_other_parts;travel_avoid_supports;travel_compensate_overlapping_walls_0_enabled;travel_compensate_overlapping_walls_enabled;travel_compensate_overlapping_walls_x_enabled;travel_retract_before_outer_wall;wall_0_extruder_nr;wall_0_inset;wall_0_wipe_dist;wall_extruder_nr;wall_line_count;wall_line_width;wall_line_width_0;wall_line_width_x;wall_min_flow;wall_min_flow_retract;wall_thickness;wall_x_extruder_nr;xy_offset;xy_offset_layer_0;z_seam_corner;z_seam_position;z_seam_relative;z_seam_type;z_seam_x;z_seam_y;zig_zaggify_infill;zig_zaggify_support
expanded_brands = ;Generic
active_machine = Robo 3D R1
recent_files = /home/jan/Downloads/Unifi+USW-Flex-Mini+5+Port+Switch/files/Unifi_Switch_v5.stl;
active_mode = 1

[metadata]
setting_version = 11

[backend]


A  => .config/cura/4.5/plugins.json +1 -0
@@ 1,1 @@
{"to_install": {}, "disabled": [], "to_remove": []}
\ No newline at end of file

A  => .config/fish/config.fish +1 -0
@@ 1,1 @@
bass source $HOME/.profile

A  => .config/redshift/redshift.conf +5 -0
@@ 1,5 @@
[redshift]
temp-day=5700
temp-night=3250

fade=0

A  => .config/rofi/config.rasi +29 -0
@@ 1,29 @@
configuration {
  fullscreen: false;
  show-icons: false;
  sidebar-mode: false;
}

* {
    background-color: transparent;
    text-color: white;
    spacing: 30;
}

#window {
    font: "Roboto Mono Nerd Font Mono 20";
    fullscreen: true;
    transparency: "background";
    background-color: #282A36BA;
    children: [ dummy1, hdum, dummy2 ];
}

#hdum {
    orientation: horizontal;
    children: [ dummy3, mainbox, dummy4 ];
}

#element selected {
    text-color: #CAA9FA;
}


A  => .config/sway/config +268 -0
@@ 1,268 @@
#############
# VARIABLES #
#############

# mod key
set $mod Mod4

# programs
set $menu rofi -show run
set $terminal alacritty
set $files nautilus
set $browser firefox
set $mail evolution
#set $cloud owncloud
#set $dropbox dropbox start
#set $music rhythmbox
set $signal flatpak run org.signal.Signal
set $spotify flatpak run org.spotify.Client
#set $automount udiskie &
#set $redshift redshift-wlr
set $kdeconnect kdeconnect-indicator
#set $pulseaudio pulseaudio --start

##########
# OUTPUT #
##########

# wallpaper
output * bg ${HOME}/Pictures/wallpaper.jpg fill

#############
# STATUSBAR #
#############

bar {
    swaybar_command waybar
}

############
# KEYBOARD #
############

input type:keyboard {
    xkb_layout de
}

#######
# GTK #
#######

#set $gnome-schema org.gnome.desktop.interface

exec_always {
#    gsettings set $gnome-schema gtk-theme 'Plata-Lumine'
#    gsettings set $gnome-schema icon-theme 'Papirus'
#    gsettings set $gnome-schema font-name 'Roboto'
#    gsettings set $gnome-schema monospace-font-name 'RobotoMono Nerd Font Mono'
}

##############
# APPEARANCE #
##############

#font Roboto 10

########
# IDLE #
########

#exec swayidle -w \
#         timeout 600 'swaylock -f -c 000000' \
#         timeout 1200 'swaymsg "output * dpms off"' \
#              resume 'swaymsg "output * dpms on"' \
#         before-sleep 'swaylock -f -c 000000'

###############
# KEYBINDINGS #
###############

# terminal
bindsym $mod+Return exec $terminal

# files
bindsym $mod+Shift+f exec $files

#browser
bindsym $mod+Shift+b exec $browser

# kill focused window
bindsym $mod+Shift+q kill

# launcher
bindsym $mod+d exec $menu

# media
bindsym XF86AudioPlay playerctl play-pause
bindsym XF86AudioStop playerctl stop
bindsym XF86AudioPrev playercttl previous
bindsym XF86AudioNext playerctl next
bindsym XF86AudioRaiseVolume pactl set-sink-volume 1 +5%
bindsym XF86AudioLowerVolume pactl set-sink-volume 1 -5%

# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal

# reload the configuration file
bindsym $mod+Shift+c reload

# exit
bindsym $mod+Shift+e exec swaymsg exit

# move focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# move windows
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 $workspace1 "1: Firefox"
set $workspace2 "2: Terminal"
set $workspace3 "3: Files"
set $workspace8 "8: Evolution"
set $workspace9 "9: Signal"
set $workspace10 "10: Music"

# open in workspace
assign [app_id="firefox"] $workspace1
assign [class="Firefox"] $workspace1
assign [app_id="Alacritty"] $workspace2
assign [app_id="org.gnome.Nautilus"] $workspace3
assign [app_id="evolution"] $workspace8
assign [class="Signal"] $workspace9
assign [app_id="rhythmbox"] $workspace10

# enable floating
for_window [app_id="desktopclient.owncloud.com.owncloud"] floating enable

# switch
bindsym $mod+1 workspace $workspace1
bindsym $mod+2 workspace $workspace2
bindsym $mod+3 workspace $workspace3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace $workspace8
bindsym $mod+9 workspace $workspace9
bindsym $mod+0 workspace $workspace10

# move
bindsym $mod+Shift+1 move container to workspace $workspace1
bindsym $mod+Shift+2 move container to workspace $workspace2
bindsym $mod+Shift+3 move container to workspace $workspace3
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 $workspace8
bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10

##########
# LAYOUT #
##########

# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv

# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# Make the current focus fullscreen
bindsym $mod+f fullscreen

# Toggle the current focus between tiling and 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


########
# TODO #
########

gaps outer 15
gaps inner 10

default_border pixel none
default_floating_border pixel none

##############
# SCRATCHPAD #
##############

# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.

# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad

# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show

##########
# RESIZE #
##########

mode "resize" {
    # left will shrink the containers width
    # right will grow the containers width
    # up will shrink the containers height
    # down will grow the containers height
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px

    # return to default mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

#################
# NOTIFICATIONS #
#################

exec mako --anchor top-right

#############
# AUTOSTART #
#############

#exec $redshift
exec $browser
#exec $mail
exec $terminal
exec $files
#exec $music
exec $cloud
#exec $dropbox
exec $signal
exec $kdeconnect
#exec $automount

A  => .config/waybar/config +12 -0
@@ 1,12 @@
{
    "layer": "top",
    "modules-left": ["sway/workspaces", "sway/mode"],
    "modules-center": ["sway/window"],
    "modules-right": ["pulseaudio", "tray", "custom/weather", "clock"],
    "custom/weather": {
        "format": "{}",
        "interval": 300,
        "exec": "curl -s 'https://de.wttr.in/?format=1'",
        "exec-if": "ping wttr.in -c1"
    }
}

A  => .gitconfig +9 -0
@@ 1,9 @@
[user]
	email = jan@baudisch.xyz
	name = Jan Baudisch
[commit]
	gpgsign = true
[core]
	editor = nano
[push]
	followTags = true

A  => .gitignore +23 -0
@@ 1,23 @@
/*
!.bashrc
!.bash_profile
!.config
.config/*
!.config/alacritty
!.config/cura
!.config/fish
.config/fish/*
!.config/fish/config.fish
!.config/rofi
!.config/sway
!.config/waybar
!.config/redshift
!.gitignore
!.gitmodules
!.gitconfig
!.local
.local/*
!.local/share
.local/share/*
!.local/share/scripts
!.profile

A  => .local/share/scripts/rupdate +5 -0
@@ 1,5 @@
#!/bin/sh
rustup update
rustup default nightly
RUSTFLAGS="-C target-cpu=native" cargo install-update -a
rustup default beta

A  => .local/share/scripts/update +6 -0
@@ 1,6 @@
#!/bin/sh
set -e
sudo dnf upgrade -y --refresh
flatpak update -y
rupdate
flutter upgrade

A  => .profile +33 -0
@@ 1,33 @@
alias ls='lsd'
alias l='lsd'
alias ll='lsd -la'

export ANDROID_HOME=$HOME/.android/sdk
CARGO_HOME=$HOME/.cargo
DART_SDK=$HOME/.dart-sdk
FLUTTER_SDK=$HOME/.flutter-sdk

export PATH=$PATH:$HOME/.local/share/scripts

export PATH=$PATH:$CARGO_HOME/bin
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/src

export PATH=$PATH:$DART_SDK/bin

export PATH=$FLUTTER_SDK/bin:$PATH

export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/tools/bin:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH

ANDROID_TOOLCHAINS=$HOME/.android/toolchains
export PATH=$ANDROID_TOOLCHAINS/arm/bin:$PATH
export PATH=$ANDROID_TOOLCHAINS/arm64/bin:$PATH
export PATH=$ANDROID_TOOLCHAINS/x86/bin:$PATH
export PATH=$ANDROID_TOOLCHAINS/x86_64/bin:$PATH

export GPG_TTY=$(tty)

export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null