Skip to content

Instantly share code, notes, and snippets.

@leonewt0n
Last active September 7, 2019 17:01
Show Gist options
  • Select an option

  • Save leonewt0n/bf2e51a496d87f96b63a1d7f996a1e74 to your computer and use it in GitHub Desktop.

Select an option

Save leonewt0n/bf2e51a496d87f96b63a1d7f996a1e74 to your computer and use it in GitHub Desktop.

Revisions

  1. Leo revised this gist Sep 7, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ nameserver 1.0.0.1
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi networkmanager swaylock swayidle

    change .config/sway/config:
    default_border none
    default_border pixel
    set $term kitty
    set $menu 'rofi -modi run, drun, window -show drun'

    @@ -32,6 +32,7 @@ dns-priority=-1
    password=

    ##lock screen with Swaylock and Swayidle##
    ##create .desktop to launch with rofi##
    /usr/bin/lock.sh
    # put task in background
    swayidle \
  2. Leo revised this gist Sep 7, 2019. 1 changed file with 13 additions and 2 deletions.
    15 changes: 13 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ At end of install chroot into system:
    nameserver 1.1.1.1
    nameserver 1.0.0.1

    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi networkmanager nm-connection-manager
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi networkmanager swaylock swayidle

    change .config/sway/config:
    default_border none
    @@ -29,4 +29,15 @@ dns-priority=-1
    [ipv6]
    dns-priority=-1
    [vpn-secrets]
    password=
    password=

    ##lock screen with Swaylock and Swayidle##
    /usr/bin/lock.sh
    # put task in background
    swayidle \
    timeout 5 'swaymsg "output * dpms off"' \
    resume 'swaymsg "output * dpms on"' &
    # lcok screen
    swaylock -c000000
    # kill last background task
    kill %%
  3. Leo revised this gist Sep 6, 2019. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -19,4 +19,14 @@ GRUB_SAVEDEFAULT=false
    run grub-update

    Create /etc/profile.d/intel.sh:
    export LIBVA_DRIVER_NAME=iHD
    export LIBVA_DRIVER_NAME=iHD

    VPN SETTINGS
    /etc/NetworkManager/system-connections/
    password-flags=0
    [ipv4]
    dns-priority=-1
    [ipv6]
    dns-priority=-1
    [vpn-secrets]
    password=
  4. Leo revised this gist Sep 6, 2019. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,5 @@ change /etc/default/grub:
    GRUB_SAVEDEFAULT=false
    run grub-update

    When booted, use wifi-menu to connect.
    Activate profile at boot with netctl enable {profile} (use tab to autocomplete profile}

    Create /etc/profile.d/intel.sh:
    export LIBVA_DRIVER_NAME=iHD
  5. Leo revised this gist Sep 6, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,10 @@ When creating partitions use crtl+alt+f2 to switch to a virtual terminal and for
    mkfs.f2fs cryptoroot

    At end of install chroot into system:
    /etc/resolv.config:
    nameserver 1.1.1.1
    nameserver 1.0.0.1

    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi networkmanager nm-connection-manager

    change .config/sway/config:
  6. Leo revised this gist Sep 6, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ When creating partitions use crtl+alt+f2 to switch to a virtual terminal and for
    mkfs.f2fs cryptoroot

    At end of install chroot into system:
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi dialog netctl
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi networkmanager nm-connection-manager

    change .config/sway/config:
    default_border none
  7. Leo revised this gist Sep 5, 2019. No changes.
  8. Leo revised this gist Sep 5, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,7 @@ GRUB_SAVEDEFAULT=false
    run grub-update

    When booted, use wifi-menu to connect.
    Activate profile at boot with netctl enable {profile} (use tab to autocomplete profile}
    Activate profile at boot with netctl enable {profile} (use tab to autocomplete profile}

    Create /etc/profile.d/intel.sh:
    export LIBVA_DRIVER_NAME=iHD
  9. Leo revised this gist Sep 5, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ When creating partitions use crtl+alt+f2 to switch to a virtual terminal and for
    mkfs.f2fs cryptoroot

    At end of install chroot into system:
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi dialog netctl

    change .config/sway/config:
    default_border none
    @@ -13,3 +13,6 @@ set $menu 'rofi -modi run, drun, window -show drun'
    change /etc/default/grub:
    GRUB_SAVEDEFAULT=false
    run grub-update

    When booted, use wifi-menu to connect.
    Activate profile at boot with netctl enable {profile} (use tab to autocomplete profile}
  10. Leo created this gist Sep 5, 2019.
    15 changes: 15 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    Use grub and default /boot/efi directory
    When creating partitions use crtl+alt+f2 to switch to a virtual terminal and format root as f2fs:
    mkfs.f2fs cryptoroot

    At end of install chroot into system:
    yay -S sway pulseaudio-alsa alsa-oss manjaro-alsa intel-media-driver kitty rofi

    change .config/sway/config:
    default_border none
    set $term kitty
    set $menu 'rofi -modi run, drun, window -show drun'

    change /etc/default/grub:
    GRUB_SAVEDEFAULT=false
    run grub-update