This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layer": "top", // Waybar at top layer | |
// "position": "bottom", // Waybar at the bottom of your screen | |
"height": 60, // Waybar height | |
// "width": 1280, // Waybar width | |
// Choose the order of the modules | |
"modules-left": ["sway/workspaces", "sway/mode"], | |
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "clock", "tray"], | |
// Modules configuration | |
"sway/workspaces": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S deno --allow-run | |
import { decode } from "https://deno.land/std/strings/strings.ts"; | |
import * as log from "https://deno.land/std/log/mod.ts"; | |
function baseRandom(lower, upper) { | |
return lower + Math.floor(Math.random() * (upper - lower + 1)); | |
} | |
async function main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font pango:Dank Mono:size 10 | |
set $blue #285577 | |
set $gray #333333 | |
set $red #900000 | |
input * xkb_layout "de" | |
input * xkb_variant "neo" | |
set $mod Mod4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 3, | |
"name": "eDP-1", | |
"rect": { | |
"x": 0, | |
"y": 0, | |
"width": 1920, | |
"height": 1080 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font pango:Dank Mono:size 10 | |
set $blue #285577 | |
set $gray #333333 | |
set $red #900000 | |
input * xkb_layout "de" | |
input * xkb_variant "neo" | |
set $mod Mod4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font pango:Dank Mono:size 10 | |
set $mod Mod4 | |
set $term kitty | |
set $menu rofi -show drun # dmenu_path | dmenu | xargs swaymsg exec | |
set $workspace_layout stacked | |
set $wsemacs emacs | |
set $wscomm comm | |
set $wsmusic music |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defconst win32p | |
(eq system-type 'windows-nt) | |
"Are we running on a WinTel system?") | |
(dolist (symbol-subgroup | |
'((#x2000 . #x2012) ;; General Punctuation | |
(#x2015 . #x2017) | |
#x201F | |
(#x2023 . #x202F) | |
(#x2031 . #x2038) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS_GHC -W -fwarn-unused-imports #-} | |
import Control.Monad | |
import Data.Bits ((.|.)) | |
import Data.Ratio | |
import Graphics.X11.Xlib | |
import System.Exit | |
import System.IO | |
import System.IO (hPutStrLn) | |
import XMonad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Connection } from "typeorm"; | |
export abstract class BaseApiController<T> { | |
protected classType: new () => T; | |
public static connection: Connection; | |
constructor(classType: new () => T) { | |
this.classType = classType; | |
} |